227#ifndef vtkDelaunay2D_h
228#define vtkDelaunay2D_h
231#include "vtkFiltersCoreModule.h"
234VTK_ABI_NAMESPACE_BEGIN
239#define VTK_DELAUNAY_XY_PLANE 0
240#define VTK_SET_TRANSFORM_PLANE 1
241#define VTK_BEST_FITTING_PLANE 2
289 vtkGetMacro(Alpha,
double);
298 vtkSetClampMacro(Tolerance,
double, 0.0, 1.0);
299 vtkGetMacro(Tolerance,
double);
308 vtkGetMacro(Offset,
double);
348 vtkGetMacro(ProjectionPlaneMode,
int);
395 this->Points[idx] = x[0];
396 this->Points[idx + 1] = x[1];
397 this->Points[idx + 2] = x[2];
401 double* ptr = this->Points + 3 * id;
410 double BoundingRadius2;
412 int NumberOfDuplicatePoints;
413 int NumberOfDegeneracies;
420 int InCircle(
double x[3],
double x1[3],
double x2[3],
double x3[3]);
427 bool recursive,
unsigned int depth);
void GetPoint(int i, int j, int k, double pnt[3])
Proxy object to connect input/output ports.
object to represent cell connectivity
create 2D Delaunay triangulation of input points
vtkPolyData * GetSource()
Get a pointer to the source object.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkDelaunay2D * New()
Construct object with Alpha = 0.0; Tolerance = 0.001; Offset = 1.25; BoundingTriangulation turned off...
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Specify the source object used to specify constrained edges and loops.
vtkSmartPointer< vtkAbstractTransform > Transform
static vtkAbstractTransform * ComputeBestFittingPlane(vtkPointSet *input)
This method computes the best fit plane to a set of points represented by a vtkPointSet.
vtkTypeBool BoundingTriangulation
vtkTypeBool RandomPointInsertion
vtkSetSmartPointerMacro(Transform, vtkAbstractTransform)
Set / get the transform which is applied to points to generate a 2D problem.
void SetSourceData(vtkPolyData *)
Specify the source object used to specify constrained edges and loops.
vtkGetSmartPointerMacro(Transform, vtkAbstractTransform)
Set / get the transform which is applied to points to generate a 2D problem.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
list of point or cell ids
a simple class to control print indentation
concrete class for storing a set of points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
Hold a reference to a vtkObjectBase instance.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define VTK_BEST_FITTING_PLANE
#define VTK_DELAUNAY_XY_PLANE