HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_BoxT< T > Class Template Reference

#include <UT_RTree.h>

Public Types

typedef T Scalar
 

Public Member Functions

 UT_BoxT ()
 
template<typename U >
 UT_BoxT (const U p[3])
 
template<typename U >
 UT_BoxT (UT_Vector3T< U > p)
 
 UT_BoxT (const UT_BoundingBox &bbox)
 
bool isEmpty () const
 
T getMin (const int c) const
 
T getMax (const int c) const
 
UT_Vector3T< TgetMin () const
 
UT_Vector3T< TgetMax () const
 
UT_Vector3T< TgetCenter () const
 
UT_Vector3T< TgetSize () const
 
T getRadius2 () const
 
T getRadius () const
 
template<typename U >
void assignPoint (const U p[3])
 
template<typename U >
void assignPoint (UT_Vector3T< U > p)
 
template<typename U >
void absorbPoint (const U p[3])
 
template<typename U >
void absorbPoint (UT_Vector3T< U > p)
 
void absorbBox (const UT_BoxT< T > &b)
 
void absorbBox (const UT_BoundingBox &b)
 
void expandDistance (const T l)
 
void expandDistance (const T l, int axis)
 
bool contains (const T *const p) const
 
bool intersects (const UT_BoxT< T > &b) const
 
int getLargestAxis () const
 
template<>
bool intersects (const UT_BoxT< float > &b) const
 

Detailed Description

template<typename T>
class UT_BoxT< T >

Definition at line 27 of file UT_RTree.h.

Member Typedef Documentation

template<typename T>
typedef T UT_BoxT< T >::Scalar

Definition at line 30 of file UT_RTree.h.

Constructor & Destructor Documentation

template<typename T >
UT_BoxT< T >::UT_BoxT ( )
inline

Definition at line 21 of file UT_RTree.C.

template<typename T >
template<typename U >
UT_BoxT< T >::UT_BoxT ( const p[3])
inlineexplicit

Definition at line 35 of file UT_RTree.C.

template<typename T >
template<typename U >
UT_BoxT< T >::UT_BoxT ( UT_Vector3T< U >  p)
inlineexplicit

Definition at line 45 of file UT_RTree.C.

template<typename T >
UT_BoxT< T >::UT_BoxT ( const UT_BoundingBox bbox)
inlineexplicit

Definition at line 54 of file UT_RTree.C.

Member Function Documentation

template<typename T >
void UT_BoxT< T >::absorbBox ( const UT_BoxT< T > &  b)
inline

Definition at line 125 of file UT_RTree.C.

template<typename T >
void UT_BoxT< T >::absorbBox ( const UT_BoundingBox b)
inline

Definition at line 138 of file UT_RTree.C.

template<typename T >
template<typename U >
void UT_BoxT< T >::absorbPoint ( const p[3])
inline

Definition at line 112 of file UT_RTree.C.

template<typename T>
template<typename U >
void UT_BoxT< T >::absorbPoint ( UT_Vector3T< U >  p)
inline

Definition at line 94 of file UT_RTree.h.

template<typename T >
template<typename U >
void UT_BoxT< T >::assignPoint ( const p[3])
inline

Definition at line 98 of file UT_RTree.C.

template<typename T>
template<typename U >
void UT_BoxT< T >::assignPoint ( UT_Vector3T< U >  p)
inline

Definition at line 88 of file UT_RTree.h.

template<typename T >
bool UT_BoxT< T >::contains ( const T *const  p) const
inline

Definition at line 178 of file UT_RTree.C.

template<typename T >
void UT_BoxT< T >::expandDistance ( const T  l)
inline

Definition at line 151 of file UT_RTree.C.

template<typename T >
void UT_BoxT< T >::expandDistance ( const T  l,
int  axis 
)
inline

Definition at line 167 of file UT_RTree.C.

template<typename T>
UT_Vector3T<T> UT_BoxT< T >::getCenter ( ) const
inline

Definition at line 60 of file UT_RTree.h.

template<typename T >
int UT_BoxT< T >::getLargestAxis ( ) const
inline

Definition at line 232 of file UT_RTree.C.

template<typename T >
T UT_BoxT< T >::getMax ( const int  c) const
inline

Definition at line 87 of file UT_RTree.C.

template<typename T>
UT_Vector3T<T> UT_BoxT< T >::getMax ( ) const
inline

Definition at line 57 of file UT_RTree.h.

template<typename T >
T UT_BoxT< T >::getMin ( const int  c) const
inline

Definition at line 77 of file UT_RTree.C.

template<typename T>
UT_Vector3T<T> UT_BoxT< T >::getMin ( ) const
inline

Definition at line 55 of file UT_RTree.h.

template<typename T>
T UT_BoxT< T >::getRadius ( ) const
inline

Definition at line 79 of file UT_RTree.h.

template<typename T>
T UT_BoxT< T >::getRadius2 ( ) const
inline

Definition at line 72 of file UT_RTree.h.

template<typename T>
UT_Vector3T<T> UT_BoxT< T >::getSize ( void  ) const
inline

Definition at line 66 of file UT_RTree.h.

template<typename T >
bool UT_BoxT< T >::intersects ( const UT_BoxT< T > &  b) const
inline

Definition at line 187 of file UT_RTree.C.

template<>
bool UT_BoxT< float >::intersects ( const UT_BoxT< float > &  b) const
inline

Definition at line 198 of file UT_RTree.C.

template<typename T >
bool UT_BoxT< T >::isEmpty ( ) const
inline

Definition at line 66 of file UT_RTree.C.


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