91 #ifndef vtkVoronoi2D_h 92 #define vtkVoronoi2D_h 94 #include "vtkFiltersCoreModule.h" 121 vtkSetClampMacro(Padding,
double,0.001,0.25);
122 vtkGetMacro(Padding,
double);
138 vtkSetMacro(GenerateScalars,
int);
139 vtkGetMacro(GenerateScalars,
int);
141 { this->SetGenerateScalars(NONE); }
143 { this->SetGenerateScalars(POINT_IDS); }
145 { this->SetGenerateScalars(THREAD_IDS); }
165 SPECIFIED_TRANSFORM_PLANE=1,
178 vtkSetClampMacro(ProjectionPlaneMode,
int,XY_PLANE,BEST_FITTING_PLANE);
179 vtkGetMacro(ProjectionPlaneMode,
int);
181 { this->SetProjectionPlaneMode(XY_PLANE); }
183 { this->SetProjectionPlaneMode(SPECIFIED_TRANSFORM_PLANE); }
185 { this->SetProjectionPlaneMode(BEST_FITTING_PLANE); }
205 vtkGetMacro(MaximumNumberOfTileClips,
vtkIdType);
215 {
return this->Locator; }
230 vtkBooleanMacro(GenerateVoronoiFlower,
vtkTypeBool);
249 {
return this->NumberOfThreadsUsed;}
implicit function for a set of spheres
vtkTypeUInt32 vtkMTimeType
void SetProjectionPlaneModeToSpecifiedTransformPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkAbstractTransform * Transform
vtkStaticPointLocator2D * Locator
abstract class for specifying dataset behavior
static vtkPolyDataAlgorithm * New()
vtkIdType MaximumNumberOfTileClips
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
vtkTypeBool GenerateVoronoiFlower
virtual vtkMTimeType GetMTime()
Return this object's modified time.
create 2D Voronoi convex tiling of input points
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
void SetProjectionPlaneModeToBestFittingPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkStaticPointLocator2D * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
void SetGenerateScalarsToNone()
Indicate whether to create a scalar array as part of the output.
void SetProjectionPlaneModeToXYPlane()
Define the method to project the input 3D points into a 2D plane for tessellation.
void SetGenerateScalarsToThreadIds()
Indicate whether to create a scalar array as part of the output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType PointOfInterest
void SetGenerateScalarsToPointIds()
Indicate whether to create a scalar array as part of the output.
quickly locate points in 2-space