51#ifndef vtkConvexHull2D_h
52#define vtkConvexHull2D_h
55#include "vtkRenderingAnnotationModule.h"
77 vtkGetMacro(ScaleFactor,
double);
78 vtkSetMacro(ScaleFactor,
double);
85 vtkGetMacro(Outline,
bool);
86 vtkSetMacro(Outline,
bool);
87 vtkBooleanMacro(Outline,
bool);
92 BoundingRectangle = 0,
100 vtkGetMacro(HullShape,
int);
101 vtkSetClampMacro(HullShape,
int, 0, 1);
110 vtkGetMacro(MinHullSizeInWorld,
double);
119 vtkGetMacro(MinHullSizeInDisplay,
int);
158 void ResizeHullToMinimumInDisplay(
vtkPolyData* hullPolyData);
163 int MinHullSizeInDisplay;
164 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