185 #ifndef vtkVoronoiFlower3D_h
186 #define vtkVoronoiFlower3D_h
189 #include "vtkFiltersMeshingModule.h"
195 VTK_ABI_NAMESPACE_BEGIN
237 vtkSetClampMacro(OutputType,
int, VORONOI, SPEED_TEST);
238 vtkGetMacro(OutputType,
int);
256 vtkSetClampMacro(Padding,
double, 0.0001, 0.25);
257 vtkGetMacro(Padding,
double);
313 vtkSetMacro(GenerateCellScalars,
int);
314 vtkGetMacro(GenerateCellScalars,
int);
356 vtkSetClampMacro(PruneTolerance,
double, 0.0, 0.5);
357 vtkGetMacro(PruneTolerance,
double);
391 vtkSetClampMacro(BatchSize,
unsigned int, 1,
VTK_INT_MAX);
392 vtkGetMacro(BatchSize,
unsigned int);
426 vtkGetMacro(MaximumNumberOfHullClips,
vtkIdType);
438 NO_POINT_SCALARS = 0,
441 vtkGetMacro(GeneratePointScalars,
int);
481 template <
typename T>
482 void UpdateExecutionInformation(T* voro);
501 int GeneratePointScalars;
502 int GenerateCellScalars;
508 double PruneTolerance;
509 unsigned int BatchSize;
516 int MaximumNumberOfPoints;
517 int MaximumNumberOfFaces;
522 template <
typename T>
525 this->NumberOfThreads = voro->GetNumberOfThreads();
526 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
527 this->MaximumNumberOfFaces = voro->GetMaximumNumberOfFaces();
528 this->NumberOfPrunes = voro->GetNumberOfPrunes();
531 VTK_ABI_NAMESPACE_END
void SetGenerateCellScalarsToNumberFaces()
Indicate whether to create a cell scalar array as part of the output.
void SetGenerateCellScalarsToRandom()
Indicate whether to create a cell scalar array as part of the output.
OutputTypeOptions
Used to control the filter output.
vtkTypeUInt32 vtkMTimeType
void SetOutputTypeToVoronoi()
Used to control the filter output.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
dynamic, self-adjusting array of vtkIdType
void UpdateExecutionInformation(T *voro)
Method used to update this filter's execution parameters after the internal, templated instance of vt...
GenerateCellScalarsStrategy
Specify how to generate cell scalars for the outputs.
void SetOutputTypeToSurfaceNet()
Used to control the filter output.
void SetOutputTypeToDelaunay()
Used to control the filter output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputTypeToAdjacencyGraph()
Used to control the filter output.
void SetGenerateCellScalarsToPrimIds()
Indicate whether to create a cell scalar array as part of the output.
a simple class to control print indentation
vtkStaticPointLocator * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
virtual vtkMTimeType GetMTime()
Return this object's modified time.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
void SetOutputTypeToBoundary()
Used to control the filter output.
quickly locate points in 3-space
void SetGenerateCellScalarsToNone()
Indicate whether to create a cell scalar array as part of the output.
void SetGenerateCellScalarsToPointIds()
Indicate whether to create a cell scalar array as part of the output.
void SetOutputTypeToPolygonalComplex()
Used to control the filter output.
void SetGenerateCellScalarsToRegionIds()
Indicate whether to create a cell scalar array as part of the output.
int GetMaximumNumberOfPoints()
Return the maximum number of points in any Voronoi hull.
int GetNumberOfThreads()
Return the number of threads actually used during execution.
int GetMaximumNumberOfFaces()
Return the maximum number of faces in any Voronoi hull.
GeneratePointScalarsStrategy
Used internally to generate point scalars for the output.
int GetNumberOfPrunes()
Return the number of prunes performed during execution.
void SetGenerateCellScalarsToThreadIds()
Indicate whether to create a cell scalar array as part of the output.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
void SetOutputTypeToSpeedTest()
Used to control the filter output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
create a 3D Voronoi tessellation of input points