186#ifndef vtkVoronoiFlower2D_h
187#define vtkVoronoiFlower2D_h
190#include "vtkFiltersMeshingModule.h"
198VTK_ABI_NAMESPACE_BEGIN
246 vtkSetMacro(OutputType,
int);
247 vtkGetMacro(OutputType,
int);
266 vtkSetClampMacro(Padding,
double, 0.0001, 0.25);
267 vtkGetMacro(Padding,
double);
294 vtkGetMacro(GeneratePointScalars,
int);
331 vtkGetMacro(GenerateCellScalars,
int);
382 vtkSetClampMacro(PruneTolerance,
double, 0.0, 0.5);
383 vtkGetMacro(PruneTolerance,
double);
430 vtkGetMacro(ProjectionPlaneMode,
int);
511 vtkGetMacro(BatchSize,
unsigned int);
541 template <
typename T>
561 int GeneratePointScalars;
562 int GenerateCellScalars;
564 int ProjectionPlaneMode;
572 double PruneTolerance;
573 unsigned int BatchSize;
579 int MaximumNumberOfPoints;
587 this->NumberOfThreads = voro->GetNumberOfThreads();
588 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
589 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 whether to produce an output Voronoi tessellation and/or an output Delaunay triangulation.
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 whether to produce an output Voronoi tessellation and/or an output Delaunay triangulation.
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 whether to produce an output Voronoi tessellation and/or an output Delaunay triangulation.
void SetOutputTypeToDelaunay()
Control whether to produce an output Voronoi tessellation and/or an output Delaunay triangulation.
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 whether to produce an output Voronoi tessellation and/or an output Delaunay triangulation.
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