Go to the documentation of this file.
51 #ifndef vtkConvexHull2D_h
52 #define vtkConvexHull2D_h
54 #include "vtkRenderingAnnotationModule.h"
77 vtkGetMacro(ScaleFactor,
double);
78 vtkSetMacro(ScaleFactor,
double);
85 vtkGetMacro(Outline,
bool);
86 vtkSetMacro(Outline,
bool);
87 vtkBooleanMacro(Outline,
bool);
91 BoundingRectangle = 0,
99 vtkGetMacro(HullShape,
int);
100 vtkSetClampMacro(HullShape,
int, 0, 1);
109 vtkGetMacro(MinHullSizeInWorld,
double);
119 vtkGetMacro(MinHullSizeInDisplay,
int);
140 vtkPoints* outPoints,
double minimumHullSize=1.0);
142 double minimumHullSize=1.0);
159 void ResizeHullToMinimumInDisplay(
vtkPolyData* hullPolyData);
164 int MinHullSizeInDisplay;
165 double MinHullSizeInWorld;
176 #endif // vtkConvexHull2D_h
represent and manipulate 3D points
a cell that represents an n-sided polygon
cell represents a set of 1D lines
void SetRenderer(vtkRenderer *renderer)
Renderer needed for MinHullSizeInDisplay calculation.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
vtkMTimeType GetMTime() override
The modified time of this filter.
Produce filled convex hulls around a set of points.
abstract specification for renderers
vtkRenderer * GetRenderer()
concrete dataset represents vertices, lines, polygons, and triangle strips
~vtkConvexHull2D() override
static vtkConvexHull2D * New()
static void CalculateBoundingRectangle(vtkPoints *inPoints, vtkPoints *outPoints, double minimumHullSize=1.0)
Convenience methods to calculate a convex hull from a set of vtkPointS.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType
static void CalculateConvexHull(vtkPoints *inPoints, vtkPoints *outPoints, double minimumHullSize=1.0)
Superclass for algorithms that produce only polydata as output.