41 class vtkPlanesIntersection;
54 vtkSetMacro(Dim,
int);
55 vtkGetMacro(Dim,
int);
61 virtual double GetDivisionPosition();
65 vtkSetMacro(NumberOfPoints,
int);
66 vtkGetMacro(NumberOfPoints,
int);
72 void SetBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
75 this->SetBounds(b[0], b[1], b[2], b[3], b[4], b[5]);
77 void GetBounds(
double *b)
const;
84 void SetDataBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
85 void GetDataBounds(
double *b)
const;
90 void SetDataBounds(
float *v);
100 void SetMinBounds(
double *mb);
103 void SetMaxBounds(
double *mb);
114 void SetMinDataBounds(
double *mb);
118 void SetMaxDataBounds(
double *mb);
123 vtkSetMacro(ID,
int);
124 vtkGetMacro(ID,
int);
133 vtkGetMacro(MinID,
int);
134 vtkGetMacro(MaxID,
int);
135 vtkSetMacro(MinID,
int);
136 vtkSetMacro(MaxID,
int);
143 void DeleteChildNodes();
167 int IntersectsBox(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
175 int IntersectsSphere2(
double x,
double y,
double z,
double rSquared,
185 int IntersectsRegion(vtkPlanesIntersection *pi,
int useDataBounds);
195 int IntersectsCell(vtkCell *cell,
int useDataBounds,
196 int cellRegion=-1,
double *cellBounds=NULL);
203 int ContainsBox(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
210 int ContainsPoint(
double x,
double y,
double z,
int useDataBounds);
215 double GetDistance2ToBoundary(
double x,
double y,
double z,
int useDataBounds);
222 double GetDistance2ToBoundary(
double x,
double y,
double z,
double *boundaryPt,
230 double GetDistance2ToInnerBoundary(
double x,
double y,
double z);
234 void PrintNode(
int depth);
235 void PrintVerboseNode(
int depth);
245 double _GetDistance2ToBoundary(
246 double x,
double y,
double z,
double *boundaryPt,
247 int innerBoundaryOnly,
int useDataBounds);
double * GetMinDataBounds()
This class represents a single spatial region in an 3D axis aligned binary spatial partitioning...
abstract base class for most VTK objects
double * GetMaxDataBounds()
void SetBounds(double b[6])
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation