VTK
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
BSPNode Class Reference

#include <vtkModifiedBSPTree.h>

Collaboration diagram for BSPNode:
[legend]

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 270 of file vtkModifiedBSPTree.h.

Constructor & Destructor Documentation

BSPNode::BSPNode ( void  )
inline

Definition at line 273 of file vtkModifiedBSPTree.h.

BSPNode::~BSPNode ( void  )
inline

Definition at line 279 of file vtkModifiedBSPTree.h.

Member Function Documentation

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

Definition at line 284 of file vtkModifiedBSPTree.h.

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

Definition at line 288 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
static int VTKFILTERSFLOWPATHS_EXPORT BSPNode::getDominantAxis ( const double  dir[3])
static

Friends And Related Function Documentation

friend class vtkModifiedBSPTree
friend

Definition at line 313 of file vtkModifiedBSPTree.h.

friend class vtkParticleBoxTree
friend

Definition at line 314 of file vtkModifiedBSPTree.h.

Member Data Documentation

double BSPNode::Bounds[6]

Definition at line 294 of file vtkModifiedBSPTree.h.

BSPNode* BSPNode::mChild[3]
protected

Definition at line 297 of file vtkModifiedBSPTree.h.

int BSPNode::mAxis
protected

Definition at line 299 of file vtkModifiedBSPTree.h.

int BSPNode::depth
protected

Definition at line 301 of file vtkModifiedBSPTree.h.

int BSPNode::num_cells
protected

Definition at line 303 of file vtkModifiedBSPTree.h.

vtkIdType* BSPNode::sorted_cell_lists[6]
protected

Definition at line 305 of file vtkModifiedBSPTree.h.


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