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);
93 void SetDataBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
94 void GetDataBounds(
double* b)
const;
101 void SetDataBounds(
float* v);
113 void SetMinBounds(
const double* mb);
118 void SetMaxBounds(
const double* mb);
131 void SetMinDataBounds(
const double* mb);
137 void SetMaxDataBounds(
const double* mb);
144 vtkSetMacro(ID,
int);
145 vtkGetMacro(ID,
int);
156 vtkGetMacro(MinID,
int);
157 vtkGetMacro(MaxID,
int);
158 vtkSetMacro(MinID,
int);
159 vtkSetMacro(MaxID,
int);
170 void DeleteChildNodes();
202 double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
int useDataBounds);
209 int IntersectsSphere2(
double x,
double y,
double z,
double rSquared,
int useDataBounds);
231 vtkCell* cell,
int useDataBounds,
int cellRegion = -1,
double* cellBounds =
nullptr);
239 double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
int useDataBounds);
246 vtkTypeBool ContainsPoint(
double x,
double y,
double z,
int useDataBounds);
253 double GetDistance2ToBoundary(
double x,
double y,
double z,
int useDataBounds);
260 double GetDistance2ToBoundary(
261 double x,
double y,
double z,
double* boundaryPt,
int useDataBounds);
269 double GetDistance2ToInnerBoundary(
double x,
double y,
double z);
275 void PrintNode(
int depth);
276 void PrintVerboseNode(
int depth);
284 double GetDistance2ToBoundaryPrivate(
285 double x,
double y,
double z,
double* boundaryPt,
int innerBoundaryOnly,
int useDataBounds);
306 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...
void GetBounds(T a, double bds[6])
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...