35 #ifndef __vtkBSPCuts_h
36 #define __vtkBSPCuts_h
38 #include "vtkDataObject.h"
47 void PrintSelf(ostream& os,
vtkIndent indent);
61 void CreateCuts(
double *bounds,
62 int ncuts,
int *dim,
double *coord,
63 int *lower,
int *upper,
64 double *lowerDataCoord,
double *upperDataCoord,
79 vtkGetMacro(NumberOfCuts,
int);
83 int GetArrays(
int len,
int *dim,
double *coord,
int *lower,
int *upper,
84 double *lowerDataCoord,
double *upperDataCoord,
int *npoints);
88 int Equals(
vtkBSPCuts *other,
double tolerance = 0.0);
102 virtual void Initialize();
116 static void DeleteAllDescendants(
vtkKdNode *kd);
120 static void _PrintTree(
vtkKdNode *kd,
int depth);
126 void AllocateArrays(
int size);
This class represents a single spatial region in an 3D axis aligned binary spatial partitioning...
This class represents an axis-aligned Binary Spatial Partitioning of a 3D space.
a simple class to control print indentation
vtkKdNode * GetKdNodeTree()
helper class to get VTK data object types as string and instantiate them