185#ifndef vtkVoronoiFlower3D_h
186#define vtkVoronoiFlower3D_h
191#include "vtkFiltersMeshingModule.h"
196VTK_ABI_NAMESPACE_BEGIN
240 vtkGetMacro(OutputType,
int);
258 vtkSetClampMacro(Padding,
double, 0.0001, 0.25);
259 vtkGetMacro(Padding,
double);
315 vtkSetMacro(GenerateCellScalars,
int);
316 vtkGetMacro(GenerateCellScalars,
int);
358 vtkSetClampMacro(PruneTolerance,
double, 0.0, 0.5);
359 vtkGetMacro(PruneTolerance,
double);
406 vtkGetMacro(BatchSize,
unsigned int);
455 vtkGetMacro(GeneratePointScalars,
int);
495 template <
typename T>
515 int GeneratePointScalars;
516 int GenerateCellScalars;
522 double PruneTolerance;
523 unsigned int BatchSize;
530 int MaximumNumberOfPoints;
531 int MaximumNumberOfFaces;
539 this->NumberOfThreads = voro->GetNumberOfThreads();
540 this->MaximumNumberOfPoints = voro->GetMaximumNumberOfPoints();
541 this->MaximumNumberOfFaces = voro->GetMaximumNumberOfFaces();
542 this->NumberOfPrunes = voro->GetNumberOfPrunes();
abstract class to quickly locate points in 3-space
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()
Return the point locator if it is a vtkStaticPointLocator, nullptr otherwise.
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.
#define VTK_DEPRECATED_IN_9_8_0(reason)
vtkTypeUInt32 vtkMTimeType