48#ifndef vtkConvexHull2D_h
49#define vtkConvexHull2D_h
52#include "vtkRenderingAnnotationModule.h"
74 vtkGetMacro(ScaleFactor,
double);
75 vtkSetMacro(ScaleFactor,
double);
82 vtkGetMacro(Outline,
bool);
83 vtkSetMacro(Outline,
bool);
84 vtkBooleanMacro(Outline,
bool);
89 BoundingRectangle = 0,
97 vtkGetMacro(HullShape,
int);
98 vtkSetClampMacro(HullShape,
int, 0, 1);
107 vtkGetMacro(MinHullSizeInWorld,
double);
116 vtkGetMacro(MinHullSizeInDisplay,
int);
155 void ResizeHullToMinimumInDisplay(
vtkPolyData* hullPolyData);
160 int MinHullSizeInDisplay;
161 double MinHullSizeInWorld;
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.
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.
static vtkConvexHull2D * New()
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
Hold a reference to a vtkObjectBase instance.
vtkTypeUInt32 vtkMTimeType