BV_KDOPNode< K > Class Template Reference

A single node of a BV_KDOPTree. More...

#include <BV_KDOPTree.h>

List of all members.

Public Member Functions

 BV_KDOPNode (int leafId=-1)
 BV_KDOPNode (const BV_KDOPNode &rhs)
 ~BV_KDOPNode ()
bool isLeaf () const
bool overlaps (const BV_KDOPNode &rhs, fpreal tol) const
void save (ostream &os, bool onlyStructure) const
int64 getMemoryUsage () const

Static Public Member Functions

static BV_KDOPNodeload (UT_IStream &is, bool onlyStructure)

Public Attributes

fpreal myExtents [K]
 Minimum/maximum extent in each of the K/2 directions.
int myLeafId
BV_KDOPNodemyLeft
BV_KDOPNodemyRight


Detailed Description

template<int K>
class BV_KDOPNode< K >

A single node of a BV_KDOPTree.

Definition at line 28 of file BV_KDOPTree.h.


Constructor & Destructor Documentation

template<int K>
BV_KDOPNode< K >::BV_KDOPNode ( int  leafId = -1  ) 

template<int K>
BV_KDOPNode< K >::BV_KDOPNode ( const BV_KDOPNode< K > &  rhs  ) 

template<int K>
BV_KDOPNode< K >::~BV_KDOPNode (  ) 


Member Function Documentation

template<int K>
int64 BV_KDOPNode< K >::getMemoryUsage (  )  const

template<int K>
bool BV_KDOPNode< K >::isLeaf (  )  const [inline]

Definition at line 35 of file BV_KDOPTree.h.

template<int K>
static BV_KDOPNode* BV_KDOPNode< K >::load ( UT_IStream is,
bool  onlyStructure 
) [static]

template<int K>
bool BV_KDOPNode< K >::overlaps ( const BV_KDOPNode< K > &  rhs,
fpreal  tol 
) const

template<int K>
void BV_KDOPNode< K >::save ( ostream &  os,
bool  onlyStructure 
) const


Member Data Documentation

template<int K>
fpreal BV_KDOPNode< K >::myExtents[K]

Minimum/maximum extent in each of the K/2 directions.

Definition at line 53 of file BV_KDOPTree.h.

template<int K>
int BV_KDOPNode< K >::myLeafId

Definition at line 55 of file BV_KDOPTree.h.

template<int K>
BV_KDOPNode* BV_KDOPNode< K >::myLeft

Definition at line 56 of file BV_KDOPTree.h.

template<int K>
BV_KDOPNode * BV_KDOPNode< K >::myRight

Definition at line 56 of file BV_KDOPTree.h.


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

Generated on Mon Jan 28 00:48:02 2013 for HDK by  doxygen 1.5.9