198#ifndef vtkVoronoiFlower2D_h
199#define vtkVoronoiFlower2D_h
202#include "vtkFiltersMeshingModule.h"
210VTK_ABI_NAMESPACE_BEGIN
263 vtkSetMacro(OutputType,
int);
264 vtkGetMacro(OutputType,
int);
284 vtkSetClampMacro(Padding,
double, 0.0001, 0.25);
285 vtkGetMacro(Padding,
double);
312 vtkGetMacro(GeneratePointScalars,
int);
349 vtkGetMacro(GenerateCellScalars,
int);
400 vtkSetClampMacro(PruneTolerance,
double, 0.0, 0.5);
401 vtkGetMacro(PruneTolerance,
double);
448 vtkGetMacro(ProjectionPlaneMode,
int);
539 vtkGetMacro(BatchSize,
unsigned int);
569 template <
typename T>
589 int GeneratePointScalars;
590 int GenerateCellScalars;
592 int ProjectionPlaneMode;
600 double PruneTolerance;
601 unsigned int BatchSize;
608 int MaximumNumberOfPoints;
616 this->NumberOfThreads = voro->GetNumberOfThreads();
617 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
618 this->NumberOfPrunes = voro->GetNumberOfPrunes();
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
concrete class for storing a set of points
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.
implicit function for a set of spheres
quickly locate points in 2-space
void SetProjectionPlaneModeToSpecifiedTransformPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
~vtkVoronoiFlower2D() override=default
void SetGenerateCellScalarsToRandom()
Indicate whether to create a cell scalar array as part of the output.
void SetOutputTypeToVoronoiAndDelaunay()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net,...
void SetGenerateCellScalarsToPrimIds()
Indicate whether to create a cell scalar array as part of the output.
virtual void SetGenerateCellScalars(int)
Indicate whether to create a cell scalar array as part of the output.
OutputTypeOptions
Used to control filter output.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int GetMaximumNumberOfSides()
Return the maximum number of sides across all Voronoi tiles.
int GetMaximumNumberOfPoints()
Return the maximum number of sides across all Voronoi tiles.
int GetNumberOfThreads()
Return the number of threads actually used during execution.
void SetOutputTypeToSpeedTest()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net,...
int GetMaximumNumberOfEdges()
Return the maximum number of sides across all Voronoi tiles.
void SetGenerateCellScalarsToPointIds()
Indicate whether to create a cell scalar array as part of the output.
static vtkVoronoiFlower2D * New()
Standard methods for instantiation, type information, and printing.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
GeneratePointScalarsStrategy
Used internally to generate point scalars for the output.
virtual void SetOutputType(int)
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net,...
void SetOutputTypeToDelaunay()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net,...
void SetOutputTypeToSurfaceNet()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net,...
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetProjectionPlaneModeToBestFittingPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
vtkIdType FindTile(double x[3])
The following methods - FindTile() and GetTileData() - can be used to locate/query the tile containin...
void GetTileData(vtkIdType tileId, vtkPolyData *tileData)
The following methods - FindTile() and GetTileData() - can be used to locate/query the tile containin...
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator.
void SetGenerateCellScalarsToNumberOfSides()
Indicate whether to create a cell scalar array as part of the output.
void SetOutputTypeToVoronoi()
Control the type of output to generate: Voronoi, Delaunay, Voronoi+Delaunay, a surface net,...
void UpdateExecutionInformation(T *voro)
Method used to update this filter's execution parameters after the internal, templated instance of vt...
void SetProjectionPlaneModeToXYPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
void SetGenerateCellScalarsToThreadIds()
Indicate whether to create a cell scalar array as part of the output.
void SetGenerateCellScalarsToRegionIds()
Indicate whether to create a cell scalar array as part of the output.
vtkStaticPointLocator2D * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
void SetGenerateCellScalarsToNone()
Indicate whether to create a cell scalar array as part of the output.
GenerateCellScalarsStrategy
Specify how to generate cell scalars for the outputs.
virtual void SetProjectionPlaneMode(int)
Define the method to project the input 3D points into a 2D plane for tessellation.
@ SPECIFIED_TRANSFORM_PLANE
vtkTypeUInt32 vtkMTimeType