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); }
208 vtkGetMacro(MaximumNumberOfTileClips,
vtkIdType);
218 {
return this->Locator; }
233 vtkBooleanMacro(GenerateVoronoiFlower,
vtkTypeBool);
252 {
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