198 #ifndef vtkVoronoiFlower2D_h
199 #define vtkVoronoiFlower2D_h
202 #include "vtkFiltersMeshingModule.h"
210 VTK_ABI_NAMESPACE_BEGIN
235 VORONOI_AND_DELAUNAY = 2,
263 vtkSetMacro(OutputType,
int);
264 vtkGetMacro(OutputType,
int);
284 vtkSetClampMacro(Padding,
double, 0.0001, 0.25);
285 vtkGetMacro(Padding,
double);
309 NO_POINT_SCALARS = 0,
312 vtkGetMacro(GeneratePointScalars,
int);
348 vtkSetClampMacro(GenerateCellScalars,
int, NO_CELL_SCALARS, RANDOM);
349 vtkGetMacro(GenerateCellScalars,
int);
400 vtkSetClampMacro(PruneTolerance,
double, 0.0, 0.5);
401 vtkGetMacro(PruneTolerance,
double);
434 SPECIFIED_TRANSFORM_PLANE = 1,
435 BEST_FITTING_PLANE = 2
447 vtkSetClampMacro(ProjectionPlaneMode,
int, XY_PLANE, BEST_FITTING_PLANE);
448 vtkGetMacro(ProjectionPlaneMode,
int);
452 this->SetProjectionPlaneMode(SPECIFIED_TRANSFORM_PLANE);
456 this->SetProjectionPlaneMode(BEST_FITTING_PLANE);
491 vtkGetMacro(MaximumNumberOfTileClips,
vtkIdType);
515 vtkBooleanMacro(GenerateVoronoiFlower,
vtkTypeBool);
538 vtkSetClampMacro(BatchSize,
unsigned int, 1,
VTK_INT_MAX);
539 vtkGetMacro(BatchSize,
unsigned int);
569 template <
typename T>
570 void UpdateExecutionInformation(T* voro);
589 int GeneratePointScalars;
590 int GenerateCellScalars;
592 int ProjectionPlaneMode;
600 double PruneTolerance;
601 unsigned int BatchSize;
608 int MaximumNumberOfPoints;
613 template <
typename T>
616 this->NumberOfThreads = voro->GetNumberOfThreads();
617 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
618 this->NumberOfPrunes = voro->GetNumberOfPrunes();
621 VTK_ABI_NAMESPACE_END
void SetOutputTypeToSurfaceNet()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net...
void SetOutputTypeToVoronoiAndDelaunay()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net...
void SetGenerateCellScalarsToRegionIds()
Indicate whether to create a cell scalar array as part of the output.
int GetMaximumNumberOfSides()
Return the maximum number of sides across all Voronoi tiles.
void UpdateExecutionInformation(T *voro)
Method used to update this filter's execution parameters after the internal, templated instance of vt...
implicit function for a set of spheres
void SetGenerateCellScalarsToPrimIds()
Indicate whether to create a cell scalar array as part of the output.
OutputTypeOptions
Used to control filter output.
vtkTypeUInt32 vtkMTimeType
void SetOutputTypeToVoronoi()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net...
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetOutputTypeToSpeedTest()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net...
void SetGenerateCellScalarsToNone()
Indicate whether to create a cell scalar array as part of the output.
void SetProjectionPlaneModeToBestFittingPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
concrete class for storing a set of points
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
int GetMaximumNumberOfEdges()
Return the maximum number of sides across all Voronoi tiles.
void SetGenerateCellScalarsToNumberOfSides()
Indicate whether to create a cell scalar array as part of the output.
static vtkPolyDataAlgorithm * New()
void SetOutputTypeToDelaunay()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net...
GenerateCellScalarsStrategy
Specify how to generate cell scalars for the outputs.
Superclass for algorithms that produce only polydata as output.
void SetGenerateCellScalarsToPointIds()
Indicate whether to create a cell scalar array as part of the output.
a simple class to control print indentation
create 2D Voronoi convex tiling of input points
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetGenerateCellScalarsToThreadIds()
Indicate whether to create a cell scalar array as part of the output.
int GetMaximumNumberOfPoints()
Return the maximum number of sides across all Voronoi tiles.
int GetNumberOfThreads()
Return the number of threads actually used during execution.
void SetProjectionPlaneModeToSpecifiedTransformPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkStaticPointLocator2D * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
void SetProjectionPlaneModeToXYPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
GeneratePointScalarsStrategy
Used internally to generate point scalars for the output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
quickly locate points in 2-space
void SetGenerateCellScalarsToRandom()
Indicate whether to create a cell scalar array as part of the output.