50 #ifndef __vtkConvexHull2D_h
51 #define __vtkConvexHull2D_h
53 #include "vtkInfovisCoreModule.h"
63 class vtkTransformPolyDataFilter;
74 vtkGetMacro(ScaleFactor,
double);
75 vtkSetMacro(ScaleFactor,
double);
80 vtkGetMacro(Outline,
bool);
81 vtkSetMacro(Outline,
bool);
82 vtkBooleanMacro(Outline,
bool);
86 BoundingRectangle = 0,
92 vtkGetMacro(HullShape,
int);
93 vtkSetClampMacro(HullShape,
int, 0, 1);
100 vtkGetMacro(MinHullSizeInWorld,
double);
107 vtkSetClampMacro(MinHullSizeInDisplay,
int, 0,
VTK_INT_MAX);
108 vtkGetMacro(MinHullSizeInDisplay,
int);
114 void SetRenderer(vtkRenderer* renderer);
115 vtkRenderer* GetRenderer();
124 static void CalculateBoundingRectangle(
vtkPoints* inPoints,
125 vtkPoints* outPoints,
double minimumHullSize=1.0);
127 double minimumHullSize=1.0);
145 void ResizeHullToMinimumInDisplay(vtkPolyData* hullPolyData);
150 int MinHullSizeInDisplay;
151 double MinHullSizeInWorld;
152 vtkRenderer* Renderer;
162 #endif // __vtkConvexHull2D_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
virtual unsigned long GetMTime()
a simple class to control print indentation
Produce filled convex hulls around a set of points.
represent and manipulate 3D points