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