SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
BoxKDTree< OBJECT, DISTBOXCLASS > Class Template Reference

Public Types

enum  { BOXKDTREE_MAXLEAFSIZE = 10 }
 

Public Member Functions

 BoxKDTree ()
 
 ~BoxKDTree ()
 
 BoxKDTree (const std::vector< OBJECT > &iobjects, const DISTBOXCLASS &boxclass, int axis=0)
 
void ReBuild (const std::vector< OBJECT > &iobjects, const DISTBOXCLASS &boxclass, int axis=0)
 
void GetIntersectedBoxes (const DISTBOXCLASS &boxclass, const BBox &ibox, std::vector< OBJECT > &intersected) const
 
void Insert (const DISTBOXCLASS &boxclass, const OBJECT &o, int axis=0)
 
bool Remove (const DISTBOXCLASS &boxclass, const OBJECT &o)
 

Member Enumeration Documentation

anonymous enum
Enumerator
BOXKDTREE_MAXLEAFSIZE 

Constructor & Destructor Documentation

BoxKDTree ( )
inline
~BoxKDTree ( )
inline
BoxKDTree ( const std::vector< OBJECT > &  iobjects,
const DISTBOXCLASS &  boxclass,
int  axis = 0 
)
inline

Member Function Documentation

void GetIntersectedBoxes ( const DISTBOXCLASS &  boxclass,
const BBox ibox,
std::vector< OBJECT > &  intersected 
) const
inline
void Insert ( const DISTBOXCLASS &  boxclass,
const OBJECT &  o,
int  axis = 0 
)
inline
void ReBuild ( const std::vector< OBJECT > &  iobjects,
const DISTBOXCLASS &  boxclass,
int  axis = 0 
)
inline
bool Remove ( const DISTBOXCLASS &  boxclass,
const OBJECT &  o 
)
inline

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