36 #include "vtkCommonDataModelModule.h" 55 vtkSetMacro(Dim,
int);
56 vtkGetMacro(Dim,
int);
64 virtual double GetDivisionPosition();
70 vtkSetMacro(NumberOfPoints,
int);
71 vtkGetMacro(NumberOfPoints,
int);
79 void SetBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
81 void GetBounds(
double* b)
const;
90 void SetDataBounds(
double x1,
double x2,
double y1,
double y2,
double z1,
double z2);
91 void GetDataBounds(
double* b)
const;
98 void SetDataBounds(
float* v);
110 void SetMinBounds(
const double* mb);
115 void SetMaxBounds(
const double* mb);
128 void SetMinDataBounds(
const double* mb);
134 void SetMaxDataBounds(
const double* mb);
141 vtkSetMacro(ID,
int);
142 vtkGetMacro(ID,
int);
153 vtkGetMacro(MinID,
int);
154 vtkGetMacro(MaxID,
int);
155 vtkSetMacro(MinID,
int);
156 vtkSetMacro(MaxID,
int);
167 void DeleteChildNodes();
199 double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
int useDataBounds);
206 int IntersectsSphere2(
double x,
double y,
double z,
double rSquared,
int useDataBounds);
228 vtkCell* cell,
int useDataBounds,
int cellRegion = -1,
double* cellBounds =
nullptr);
236 double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
int useDataBounds);
243 vtkTypeBool ContainsPoint(
double x,
double y,
double z,
int useDataBounds);
250 double GetDistance2ToBoundary(
double x,
double y,
double z,
int useDataBounds);
257 double GetDistance2ToBoundary(
258 double x,
double y,
double z,
double* boundaryPt,
int useDataBounds);
266 double GetDistance2ToInnerBoundary(
double x,
double y,
double z);
272 void PrintNode(
int depth);
273 void PrintVerboseNode(
int depth);
281 double _GetDistance2ToBoundary(
282 double x,
double y,
double z,
double* boundaryPt,
int innerBoundaryOnly,
int useDataBounds);
303 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...