 |
VTK
9.0.1
|
Go to the documentation of this file.
125 #ifndef vtkDelaunay2D_h
126 #define vtkDelaunay2D_h
128 #include "vtkFiltersCoreModule.h"
136 #define VTK_DELAUNAY_XY_PLANE 0
137 #define VTK_SET_TRANSFORM_PLANE 1
138 #define VTK_BEST_FITTING_PLANE 2
186 vtkGetMacro(Alpha,
double);
195 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
196 vtkGetMacro(Tolerance,
double);
205 vtkGetMacro(Offset,
double);
245 vtkGetMacro(ProjectionPlaneMode,
int);
278 this->Points[idx] = x[0];
279 this->Points[idx + 1] = x[1];
280 this->Points[idx + 2] = x[2];
285 double* ptr = this->Points + 3 * id;
291 int NumberOfDuplicatePoints;
292 int NumberOfDegeneracies;
298 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])
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
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
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.