Go to the documentation of this file.
36 #ifndef vtkOctreePointLocatorNode_h
37 #define vtkOctreePointLocatorNode_h
57 this->NumberOfPoints = numberOfPoints;
65 void SetBounds(
double xMin,
double xMax,
double yMin,
66 double yMax,
double zMin,
double zMax);
69 this->SetBounds(
b[0],
b[1],
b[2],
b[3],
b[4],
b[5]);
79 double yMax,
double zMin,
double zMax);
96 this->MinBounds[0] = minBounds[0];
97 this->MinBounds[1] = minBounds[1];
98 this->MinBounds[2] = minBounds[2];
106 this->MaxBounds[0] = maxBounds[0];
107 this->MaxBounds[1] = maxBounds[1];
108 this->MaxBounds[2] = maxBounds[2];
126 this->MinDataBounds[0] = minDataBounds[0];
127 this->MinDataBounds[1] = minDataBounds[1];
128 this->MinDataBounds[2] = minDataBounds[2];
137 this->MaxDataBounds[0] = maxDataBounds[0];
138 this->MaxDataBounds[1] = maxDataBounds[1];
139 this->MaxDataBounds[2] = maxDataBounds[2];
218 int& NextLeafId,
int & NextMinId,
228 double _GetDistance2ToBoundary(
229 double x,
double y,
double z,
double *boundaryPt,
241 double MinDataBounds[3];
245 double MaxDataBounds[3];
int IntersectsRegion(vtkPlanesIntersection *pi, int useDataBounds)
void SetBounds(const double b[6])
GLboolean GLboolean GLboolean b
int ContainsPoint(double x, double y, double z, int useDataBounds)
double GetDistance2ToInnerBoundary(double x, double y, double z, vtkOctreePointLocatorNode *top)
void SetBounds(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
#define vtkTypeMacro(thisClass, superclass)
void SetMinBounds(double minBounds[3])
~vtkOctreePointLocatorNode()
abstract base class for most VTK objects
vtkOctreePointLocatorNode()
Octree node that has 8 children each of equal size.
GLint GLint GLint GLint GLint x
A vtkPlanesIntersection object is a vtkPlanes object that can compute whether the arbitrary convex re...
void ComputeOctreeNodeInformation(vtkOctreePointLocatorNode *Parent, int &NextLeafId, int &NextMinId, float *coordinates)
abstract class to specify cell behavior
int GetSubOctantIndex(double *point, int CheckContainment)
void GetBounds(double *b) const
a simple class to control print indentation
double GetDistance2ToBoundary(double x, double y, double z, vtkOctreePointLocatorNode *top, int useDataBounds)
static vtkOctreePointLocatorNode * New()
GLdouble GLdouble GLdouble GLdouble top
#define vtkGetMacro(name, type)
void SetDataBounds(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
void SetMinDataBounds(double minDataBounds[3])
GLint GLint GLint GLint GLint GLint y
void SetMaxDataBounds(double maxDataBounds[3])
void SetMaxBounds(double maxBounds[3])
void SetNumberOfPoints(int numberOfPoints)
void PrintSelf(ostream &os, vtkIndent indent)
double GetDistance2ToBoundary(double x, double y, double z, double *boundaryPt, vtkOctreePointLocatorNode *top, int useDataBounds)
vtkOctreePointLocatorNode * GetChild(int i)
void GetDataBounds(double *b) const
#define VTKCOMMONDATAMODEL_EXPORT