Go to the documentation of this file.
94 #ifndef vtkVoronoi2D_h
95 #define vtkVoronoi2D_h
97 #include "vtkFiltersCoreModule.h"
124 vtkSetClampMacro(Padding,
double,0.001,0.25);
125 vtkGetMacro(Padding,
double);
141 vtkSetMacro(GenerateScalars,
int);
142 vtkGetMacro(GenerateScalars,
int);
144 { this->SetGenerateScalars(NONE); }
146 { this->SetGenerateScalars(POINT_IDS); }
148 { this->SetGenerateScalars(THREAD_IDS); }
168 SPECIFIED_TRANSFORM_PLANE=1,
181 vtkSetClampMacro(ProjectionPlaneMode,
int,XY_PLANE,BEST_FITTING_PLANE);
182 vtkGetMacro(ProjectionPlaneMode,
int);
184 { this->SetProjectionPlaneMode(XY_PLANE); }
186 { this->SetProjectionPlaneMode(SPECIFIED_TRANSFORM_PLANE); }
188 { this->SetProjectionPlaneMode(BEST_FITTING_PLANE); }
218 {
return this->Locator; }
252 {
return this->NumberOfThreadsUsed;}
void SetGenerateScalarsToNone()
static vtkVoronoi2D * New()
Standard methods for instantiation, type information, and printing.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
vtkStaticPointLocator2D * Locator
vtkMTimeType GetMTime() override
Get the MTime of this object also considering the locator.
vtkTypeBool GenerateVoronoiFlower
void SetProjectionPlaneModeToSpecifiedTransformPlane()
void SetGenerateScalarsToPointIds()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
quickly locate points in 2-space
void SetProjectionPlaneModeToXYPlane()
virtual void SetTransform(vtkAbstractTransform *)
Set / get the transform which is applied to points to generate a 2D problem.
a simple class to control print indentation
vtkIdType PointOfInterest
vtkStaticPointLocator2D * GetLocator()
Retrieve the internal locator to manually configure it, for example specifying the number of points p...
void SetProjectionPlaneModeToBestFittingPlane()
int GetNumberOfThreadsUsed()
Return the number of threads actually used during execution.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
abstract class for specifying dataset behavior
create 2D Voronoi convex tiling of input points
vtkIdType MaximumNumberOfTileClips
implicit function for a set of spheres
vtkAbstractTransform * Transform
void SetGenerateScalarsToThreadIds()
vtkTypeUInt32 vtkMTimeType
Superclass for algorithms that produce only polydata as output.