46 #include "vtkFiltersCoreModule.h"
47 #include "vtkPolyDataAlgorithm.h"
54 class VTKFILTERSCORE_EXPORT
vtkHull :
public vtkPolyDataAlgorithm
58 vtkTypeMacro(
vtkHull,vtkPolyDataAlgorithm);
59 void PrintSelf(ostream& os, vtkIndent indent);
62 void RemoveAllPlanes(
void );
74 int AddPlane(
double A,
double B,
double C );
75 int AddPlane(
double plane[3] );
85 void SetPlane(
int i,
double A,
double B,
double C );
86 void SetPlane(
int i,
double plane[3] );
92 int AddPlane(
double A,
double B,
double C,
double D );
93 int AddPlane(
double plane[3],
double D );
94 void SetPlane(
int i,
double A,
double B,
double C,
double D );
95 void SetPlane(
int i,
double plane[3],
double D );
100 void SetPlanes( vtkPlanes *planes );
104 vtkGetMacro( NumberOfPlanes,
int );
111 void AddCubeVertexPlanes();
117 void AddCubeEdgePlanes();
121 void AddCubeFacePlanes();
130 void AddRecursiveSpherePlanes(
int level );
141 void GenerateHull(vtkPolyData *pd,
double *bounds);
142 void GenerateHull(vtkPolyData *pd,
double xmin,
double xmax,
143 double ymin,
double ymax,
double zmin,
double zmax);
162 void ComputePlaneDistances(vtkPolyData *input);
166 void ClipPolygonsFromPlanes( vtkPoints *points, vtkCellArray *polys,
172 void CreateInitialPolygon(
double *,
int,
double * );
175 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
178 void operator=(
const vtkHull&);
produce an n-sided convex hull