Go to the documentation of this file.
131 #ifndef vtkDelaunay2D_h
132 #define vtkDelaunay2D_h
134 #include "vtkFiltersCoreModule.h"
142 #define VTK_DELAUNAY_XY_PLANE 0
143 #define VTK_SET_TRANSFORM_PLANE 1
144 #define VTK_BEST_FITTING_PLANE 2
192 vtkGetMacro(Alpha,
double);
201 vtkSetClampMacro(Tolerance,
double,0.0,1.0);
202 vtkGetMacro(Tolerance,
double);
211 vtkGetMacro(Offset,
double);
250 vtkSetClampMacro(ProjectionPlaneMode,
int,
252 vtkGetMacro(ProjectionPlaneMode,
int);
283 this->Points[idx] = x[0];
284 this->Points[idx+1] = x[1];
285 this->Points[idx+2] = x[2];
289 {
double *ptr = this->Points + 3*id;
295 int NumberOfDuplicatePoints;
296 int NumberOfDegeneracies;
302 int InCircle (
double x[3],
double x1[3],
double x2[3],
double x3[3]);
vtkPolyData * GetSource()
Get a pointer to the source object.
create 2D Delaunay triangulation of input points
vtkAbstractTransform * Transform
void GetPoint(const int i, const int j, const int k, double pnt[3])
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
vtkTypeBool BoundingTriangulation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
object to represent cell connectivity
~vtkDelaunay2D() override
static vtkAbstractTransform * ComputeBestFittingPlane(vtkPointSet *input)
This method computes the best fit plane to a set of points represented by a vtkPointSet.
list of point or cell ids
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
#define VTK_BEST_FITTING_PLANE
virtual void SetTransform(vtkAbstractTransform *)
Set / get the transform which is applied to points to generate a 2D problem.
Proxy object to connect input/output ports.
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkDelaunay2D * New()
Construct object with Alpha = 0.0; Tolerance = 0.001; Offset = 1.25; BoundingTriangulation turned off...
void SetSourceData(vtkPolyData *)
Specify the source object used to specify constrained edges and loops.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
#define VTK_DELAUNAY_XY_PLANE
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the source object used to specify constrained edges and loops.
Superclass for algorithms that produce only polydata as output.