39 #include "vtkCommonDataModelModule.h" 58 vtkSetMacro(Dim,
int);
59 vtkGetMacro(Dim,
int);
67 virtual double GetDivisionPosition();
73 vtkSetMacro(NumberOfPoints,
int);
74 vtkGetMacro(NumberOfPoints,
int);
82 void SetBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
85 this->SetBounds(b[0], b[1], b[2], b[3], b[4], b[5]);
87 void GetBounds(
double *b)
const;
96 void SetDataBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
97 void GetDataBounds(
double *b)
const;
104 void SetDataBounds(
float *v);
116 void SetMinBounds(
const double *mb);
121 void SetMaxBounds(
const double *mb);
134 void SetMinDataBounds(
const double *mb);
140 void SetMaxDataBounds(
const double *mb);
147 vtkSetMacro(ID,
int);
148 vtkGetMacro(ID,
int);
159 vtkGetMacro(MinID,
int);
160 vtkGetMacro(MaxID,
int);
161 vtkSetMacro(MinID,
int);
162 vtkSetMacro(MaxID,
int);
173 void DeleteChildNodes();
204 int IntersectsBox(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
212 int IntersectsSphere2(
double x,
double y,
double z,
double rSquared,
234 int IntersectsCell(
vtkCell *cell,
int useDataBounds,
235 int cellRegion=-1,
double *cellBounds=
nullptr);
242 int ContainsBox(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
250 vtkTypeBool ContainsPoint(
double x,
double y,
double z,
int useDataBounds);
257 double GetDistance2ToBoundary(
double x,
double y,
double z,
int useDataBounds);
264 double GetDistance2ToBoundary(
double x,
double y,
double z,
double *boundaryPt,
273 double GetDistance2ToInnerBoundary(
double x,
double y,
double z);
279 void PrintNode(
int depth);
280 void PrintVerboseNode(
int depth);
290 double _GetDistance2ToBoundary(
291 double x,
double y,
double z,
double *boundaryPt,
292 int innerBoundaryOnly,
int useDataBounds);
313 void operator=(
const vtkKdNode&) =
delete;
double * GetMinDataBounds()
Get a pointer to the 3 data bound minima (xmin, ymin and zmin) or the 3 data bound maxima (xmax...
double * GetMinBounds()
Get a pointer to the 3 bound minima (xmin, ymin and zmin) or the 3 bound maxima (xmax, ymax, zmax).
This class represents a single spatial region in an 3D axis aligned binary spatial partitioning...
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A vtkPlanesIntersection object is a vtkPlanes object that can compute whether the arbitrary convex re...
double * GetMaxDataBounds()
abstract class to specify cell behavior
a simple class to control print indentation
#define VTK_SIZEHINT(...)
void SetBounds(const double b[6])
Set/Get the bounds of the spatial region represented by this node.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...