185#ifndef vtkVoronoiFlower3D_h
186#define vtkVoronoiFlower3D_h
189#include "vtkFiltersMeshingModule.h"
195VTK_ABI_NAMESPACE_BEGIN
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);
392 vtkGetMacro(BatchSize,
unsigned int);
441 vtkGetMacro(GeneratePointScalars,
int);
481 template <
typename T>
501 int GeneratePointScalars;
502 int GenerateCellScalars;
508 double PruneTolerance;
509 unsigned int BatchSize;
516 int MaximumNumberOfPoints;
517 int MaximumNumberOfFaces;
525 this->NumberOfThreads = voro->GetNumberOfThreads();
526 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
527 this->MaximumNumberOfFaces = voro->GetMaximumNumberOfFaces();
528 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