Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkKdNode Class Reference

#include <vtkKdTree.h>

Collaboration diagram for vtkKdNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkKdNode ()
 ~vtkKdNode ()
void SetDim (int n)
int GetDim ()
void SetNumberOfCells (int n)
int GetNumberOfCells ()
void SetBounds (double x1, double x2, double y1, double y2, double z1, double z2)
void GetBounds (double *b) const
void GetBounds (float *b) const
void SetDataBounds (double x1, double x2, double y1, double y2, double z1, double z2)
void SetDataBounds (float *b)
void GetDataBounds (double *b) const
void GetDataBounds (float *b) const
void PrintNode (int depth)
void PrintVerboseNode (int depth)
void AddChildNodes (vtkKdNode *left, vtkKdNode *right)
int IntersectsBox (float x1, float x2, float y1, float y2, float z1, float z2, int useDataBounds)
int IntersectsBox (double x1, double x2, double y1, double y2, double z1, double z2, int useDataBounds)
int IntersectsSphere2 (float x, float y, float z, float rSquared, int useDataBounds)
int IntersectsSphere2 (double x, double y, double z, double rSquared, int useDataBounds)
int IntersectsRegion (vtkPlanesIntersection *pi, int useDataBounds)
int IntersectsCell (vtkCell *cell, int useDataBounds, int cellRegion=-1)
int ContainsBox (float x1, float x2, float y1, float y2, float z1, float z2, int useDataBounds)
int ContainsBox (double x1, double x2, double y1, double y2, double z1, double z2, int useDataBounds)
int ContainsPoint (float x, float y, float z, int useDataBounds)
int ContainsPoint (double x, double y, double z, int useDataBounds)
float GetDistance2ToBoundary (float x, float y, float z, int useDataBounds)
float GetDistance2ToBoundary (float x, float y, float z, float *boundaryPt, int useDataBounds)
float GetDistance2ToInnerBoundary (float x, float y, float z)
float _GetDistance2ToBoundary (float x, float y, float z, float *boundaryPt, int innerBoundaryOnly, int useDataBounds)

Public Attributes

double Min [3]
double Max [3]
double MinVal [3]
double MaxVal [3]
int NumCells
vtkKdNodeUp
vtkKdNodeLeft
vtkKdNodeRight
int Dim
int Id
int MinId
int MaxId
double * CellBoundsCache

Static Public Attributes

const char * LevelMarker [20]

Constructor & Destructor Documentation

vtkKdNode::vtkKdNode  ) 
 

vtkKdNode::~vtkKdNode  ) 
 


Member Function Documentation

void vtkKdNode::SetDim int  n  )  [inline]
 

Definition at line 783 of file vtkKdTree.h.

int vtkKdNode::GetDim  )  [inline]
 

Definition at line 784 of file vtkKdTree.h.

void vtkKdNode::SetNumberOfCells int  n  )  [inline]
 

Definition at line 786 of file vtkKdTree.h.

int vtkKdNode::GetNumberOfCells  )  [inline]
 

Definition at line 787 of file vtkKdTree.h.

void vtkKdNode::SetBounds double  x1,
double  x2,
double  y1,
double  y2,
double  z1,
double  z2
 

void vtkKdNode::GetBounds double *  b  )  const
 

void vtkKdNode::GetBounds float *  b  )  const
 

void vtkKdNode::SetDataBounds double  x1,
double  x2,
double  y1,
double  y2,
double  z1,
double  z2
 

void vtkKdNode::SetDataBounds float *  b  ) 
 

void vtkKdNode::GetDataBounds double *  b  )  const
 

void vtkKdNode::GetDataBounds float *  b  )  const
 

void vtkKdNode::PrintNode int  depth  ) 
 

void vtkKdNode::PrintVerboseNode int  depth  ) 
 

void vtkKdNode::AddChildNodes vtkKdNode left,
vtkKdNode right
 

int vtkKdNode::IntersectsBox float  x1,
float  x2,
float  y1,
float  y2,
float  z1,
float  z2,
int  useDataBounds
 

int vtkKdNode::IntersectsBox double  x1,
double  x2,
double  y1,
double  y2,
double  z1,
double  z2,
int  useDataBounds
 

int vtkKdNode::IntersectsSphere2 float  x,
float  y,
float  z,
float  rSquared,
int  useDataBounds
 

int vtkKdNode::IntersectsSphere2 double  x,
double  y,
double  z,
double  rSquared,
int  useDataBounds
 

int vtkKdNode::IntersectsRegion vtkPlanesIntersection pi,
int  useDataBounds
 

int vtkKdNode::IntersectsCell vtkCell cell,
int  useDataBounds,
int  cellRegion = -1
 

int vtkKdNode::ContainsBox float  x1,
float  x2,
float  y1,
float  y2,
float  z1,
float  z2,
int  useDataBounds
 

int vtkKdNode::ContainsBox double  x1,
double  x2,
double  y1,
double  y2,
double  z1,
double  z2,
int  useDataBounds
 

int vtkKdNode::ContainsPoint float  x,
float  y,
float  z,
int  useDataBounds
 

int vtkKdNode::ContainsPoint double  x,
double  y,
double  z,
int  useDataBounds
 

float vtkKdNode::GetDistance2ToBoundary float  x,
float  y,
float  z,
int  useDataBounds
 

float vtkKdNode::GetDistance2ToBoundary float  x,
float  y,
float  z,
float *  boundaryPt,
int  useDataBounds
 

float vtkKdNode::GetDistance2ToInnerBoundary float  x,
float  y,
float  z
 

float vtkKdNode::_GetDistance2ToBoundary float  x,
float  y,
float  z,
float *  boundaryPt,
int  innerBoundaryOnly,
int  useDataBounds
 


Member Data Documentation

const char* vtkKdNode::LevelMarker[20] [static]
 

Definition at line 830 of file vtkKdTree.h.

double vtkKdNode::Min[3]
 

Definition at line 832 of file vtkKdTree.h.

double vtkKdNode::Max[3]
 

Definition at line 832 of file vtkKdTree.h.

double vtkKdNode::MinVal[3]
 

Definition at line 833 of file vtkKdTree.h.

double vtkKdNode::MaxVal[3]
 

Definition at line 833 of file vtkKdTree.h.

int vtkKdNode::NumCells
 

Definition at line 834 of file vtkKdTree.h.

vtkKdNode* vtkKdNode::Up
 

Definition at line 836 of file vtkKdTree.h.

vtkKdNode* vtkKdNode::Left
 

Definition at line 838 of file vtkKdTree.h.

vtkKdNode* vtkKdNode::Right
 

Definition at line 839 of file vtkKdTree.h.

int vtkKdNode::Dim
 

Definition at line 841 of file vtkKdTree.h.

int vtkKdNode::Id
 

Definition at line 843 of file vtkKdTree.h.

int vtkKdNode::MinId
 

Definition at line 845 of file vtkKdTree.h.

int vtkKdNode::MaxId
 

Definition at line 846 of file vtkKdTree.h.

double* vtkKdNode::CellBoundsCache
 

Definition at line 848 of file vtkKdTree.h.


The documentation for this class was generated from the following file: