VTK
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends
BSPNode Class Reference

#include <vtkModifiedBSPTree.h>

Collaboration diagram for BSPNode:
Collaboration graph
[legend]

List of all members.

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
VTKFILTERSFLOWPATHS_EXPORT 
RayMinMaxT (const double bounds[6], const double origin[3], const double dir[3], double &rTmin, double &rTmax)
static int
VTKFILTERSFLOWPATHS_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

Detailed Description

Definition at line 304 of file vtkModifiedBSPTree.h.


Constructor & Destructor Documentation

BSPNode::BSPNode ( void  ) [inline]

Definition at line 307 of file vtkModifiedBSPTree.h.

BSPNode::~BSPNode ( void  ) [inline]

Definition at line 313 of file vtkModifiedBSPTree.h.


Member Function Documentation

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

Definition at line 318 of file vtkModifiedBSPTree.h.

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

Definition at line 322 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 VTKFILTERSFLOWPATHS_EXPORT BSPNode::RayMinMaxT ( const double  bounds[6],
const double  origin[3],
const double  dir[3],
double rTmin,
double rTmax 
) [static]

Friends And Related Function Documentation

friend class vtkModifiedBSPTree [friend]

Definition at line 347 of file vtkModifiedBSPTree.h.

friend class vtkParticleBoxTree [friend]

Definition at line 348 of file vtkModifiedBSPTree.h.


Member Data Documentation

Definition at line 328 of file vtkModifiedBSPTree.h.

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

Definition at line 331 of file vtkModifiedBSPTree.h.

int BSPNode::mAxis [protected]

Definition at line 333 of file vtkModifiedBSPTree.h.

int BSPNode::depth [protected]

Definition at line 335 of file vtkModifiedBSPTree.h.

int BSPNode::num_cells [protected]

Definition at line 337 of file vtkModifiedBSPTree.h.

Definition at line 339 of file vtkModifiedBSPTree.h.


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