BSPNode Class Reference

#include <vtkModifiedBSPTree.h>

Collaboration diagram for BSPNode:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 303 of file vtkModifiedBSPTree.h.


Public Member Functions

 BSPNode (void)
 ~BSPNode (void)
void setMin (double minx, double miny, double minz)
void setMax (double maxx, double maxy, double maxz)
bool Inside (double point[3]) const

Static Public Member Functions

static bool VTK_GRAPHICS_EXPORT RayMinMaxT (const double bounds[6], const double origin[3], const double dir[3], double &rTmin, double &rTmax)
static int VTK_GRAPHICS_EXPORT getDominantAxis (const double dir[3])

Public Attributes

double bounds [6]

Protected Member Functions

void Classify (const double origin[3], const double dir[3], double &rDist, BSPNode *&Near, BSPNode *&Mid, BSPNode *&Far) const
bool RayMinMaxT (const double origin[3], const double dir[3], double &rTmin, double &rTmax) const

Protected Attributes

BSPNodemChild [3]
int mAxis
int depth
int num_cells
vtkIdTypesorted_cell_lists [6]

Friends

class vtkModifiedBSPTree
class vtkParticleBoxTree

Constructor & Destructor Documentation

BSPNode::BSPNode ( void   )  [inline]

Definition at line 306 of file vtkModifiedBSPTree.h.

BSPNode::~BSPNode ( void   )  [inline]

Definition at line 312 of file vtkModifiedBSPTree.h.


Member Function Documentation

void BSPNode::setMin ( double  minx,
double  miny,
double  minz 
) [inline]

Definition at line 317 of file vtkModifiedBSPTree.h.

void BSPNode::setMax ( double  maxx,
double  maxy,
double  maxz 
) [inline]

Definition at line 321 of file vtkModifiedBSPTree.h.

bool BSPNode::Inside ( double  point[3]  )  const

void BSPNode::Classify ( const double  origin[3],
const double  dir[3],
double &  rDist,
BSPNode *&  Near,
BSPNode *&  Mid,
BSPNode *&  Far 
) const [protected]

bool BSPNode::RayMinMaxT ( const double  origin[3],
const double  dir[3],
double &  rTmin,
double &  rTmax 
) const [protected]

static bool VTK_GRAPHICS_EXPORT BSPNode::RayMinMaxT ( const double  bounds[6],
const double  origin[3],
const double  dir[3],
double &  rTmin,
double &  rTmax 
) [static]

static int VTK_GRAPHICS_EXPORT BSPNode::getDominantAxis ( const double  dir[3]  )  [static]


Friends And Related Function Documentation

friend class vtkModifiedBSPTree [friend]

Definition at line 346 of file vtkModifiedBSPTree.h.

friend class vtkParticleBoxTree [friend]

Definition at line 347 of file vtkModifiedBSPTree.h.


Member Data Documentation

double BSPNode::bounds[6]

Definition at line 327 of file vtkModifiedBSPTree.h.

BSPNode* BSPNode::mChild[3] [protected]

Definition at line 330 of file vtkModifiedBSPTree.h.

int BSPNode::mAxis [protected]

Definition at line 332 of file vtkModifiedBSPTree.h.

int BSPNode::depth [protected]

Definition at line 334 of file vtkModifiedBSPTree.h.

int BSPNode::num_cells [protected]

Definition at line 336 of file vtkModifiedBSPTree.h.

Definition at line 338 of file vtkModifiedBSPTree.h.


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

Generated on Wed Aug 24 11:27:59 2011 for VTK by  doxygen 1.5.6