184#ifndef vtkVoronoiFlower3D_h
185#define vtkVoronoiFlower3D_h
188#include "vtkFiltersMeshingModule.h"
194VTK_ABI_NAMESPACE_BEGIN
237 vtkGetMacro(OutputType,
int);
255 vtkSetClampMacro(Padding,
double, 0.0001, 0.25);
256 vtkGetMacro(Padding,
double);
312 vtkSetMacro(GenerateCellScalars,
int);
313 vtkGetMacro(GenerateCellScalars,
int);
355 vtkSetClampMacro(PruneTolerance,
double, 0.0, 0.5);
356 vtkGetMacro(PruneTolerance,
double);
391 vtkGetMacro(BatchSize,
unsigned int);
440 vtkGetMacro(GeneratePointScalars,
int);
480 template <
typename T>
500 int GeneratePointScalars;
501 int GenerateCellScalars;
507 double PruneTolerance;
508 unsigned int BatchSize;
515 int MaximumNumberOfPoints;
516 int MaximumNumberOfFaces;
524 this->NumberOfThreads = voro->GetNumberOfThreads();
525 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
526 this->MaximumNumberOfFaces = voro->GetMaximumNumberOfFaces();
527 this->NumberOfPrunes = voro->GetNumberOfPrunes();
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.
quickly locate points in 3-space
void SetOutputTypeToBoundary()
Used to control the filter output.
int GetNumberOfPrunes()
Return the number of prunes performed during execution.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetGenerateCellScalarsToNumberFaces()
Indicate whether to create a cell scalar array as part of the output.
GenerateCellScalarsStrategy
Specify how to generate cell scalars for the outputs.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
~vtkVoronoiFlower3D() override=default
virtual void SetGenerateCellScalars(int)
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.
vtkIdType FindHull(double x[3])
The following method–FindHull()–can be used to locate/query the Voronoi hull containing a point x (i....
OutputTypeOptions
Used to control the filter output.
GeneratePointScalarsStrategy
Used internally to generate point scalars for the output.
int GetNumberOfThreads()
Return the number of threads actually used during execution.
void SetOutputTypeToPolygonalComplex()
Used to control the filter output.
int GetMaximumNumberOfPoints()
Return the maximum number of points in any Voronoi hull.
void SetOutputTypeToVoronoi()
Used to control the filter output.
vtkStaticPointLocator * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
void SetGenerateCellScalarsToThreadIds()
Indicate whether to create a cell scalar array as part of the output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator.
virtual void SetOutputType(int)
Specify the type of output the filter creates.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
void UpdateExecutionInformation(T *voro)
Method used to update this filter's execution parameters after the internal, templated instance of vt...
void SetOutputTypeToDelaunay()
Used to control the filter output.
void SetGenerateCellScalarsToPrimIds()
Indicate whether to create a cell scalar array as part of the output.
void SetOutputTypeToAdjacencyGraph()
Used to control the filter output.
static vtkVoronoiFlower3D * New()
Standard methods for instantiation, type information, and printing.
int GetMaximumNumberOfFaces()
Return the maximum number of faces in any Voronoi hull.
void SetGenerateCellScalarsToRegionIds()
Indicate whether to create a cell scalar array as part of the output.
void SetGenerateCellScalarsToNone()
Indicate whether to create a cell scalar array as part of the output.
void SetOutputTypeToSurfaceNet()
Used to control the filter output.
void SetGenerateCellScalarsToRandom()
Indicate whether to create a cell scalar array as part of the output.
void SetOutputTypeToSpeedTest()
Used to control the filter output.
vtkTypeUInt32 vtkMTimeType