|
| BoundingBoxImpl () |
|
template<typename BT > |
| BoundingBoxImpl (const BoundingBoxImpl< BT > &bb) |
|
| BoundingBoxImpl (value_type xmin, value_type ymin, value_type zmin, value_type xmax, value_type ymax, value_type zmax) |
|
| BoundingBoxImpl (const vec_type &min, const vec_type &max) |
|
void | init () |
|
bool | operator== (const BoundingBoxImpl &rhs) const |
|
bool | operator!= (const BoundingBoxImpl &rhs) const |
|
bool | valid () const |
|
void | set (value_type xmin, value_type ymin, value_type zmin, value_type xmax, value_type ymax, value_type zmax) |
|
void | set (const vec_type &min, const vec_type &max) |
|
value_type & | xMin () |
|
value_type | xMin () const |
|
value_type & | yMin () |
|
value_type | yMin () const |
|
value_type & | zMin () |
|
value_type | zMin () const |
|
value_type & | xMax () |
|
value_type | xMax () const |
|
value_type & | yMax () |
|
value_type | yMax () const |
|
value_type & | zMax () |
|
value_type | zMax () const |
|
const vec_type | center () const |
|
value_type | radius () const |
|
value_type | radius2 () const |
|
const vec_type | corner (unsigned int pos) const |
|
void | expandBy (const vec_type &v) |
|
void | expandBy (value_type x, value_type y, value_type z) |
|
void | expandBy (const BoundingBoxImpl &bb) |
|
template<typename BST > |
void | expandBy (const BoundingSphereImpl< BST > &sh) |
|
BoundingBoxImpl | intersect (const BoundingBoxImpl &bb) const |
|
bool | intersects (const BoundingBoxImpl &bb) const |
|
bool | contains (const vec_type &v) const |
|
bool | contains (const vec_type &v, value_type epsilon) const |
|
template<typename VT>
class osg::BoundingBoxImpl< VT >
General purpose axis-aligned bounding box class for enclosing objects/vertices. Bounds leaf objects in a scene such as osg::Drawable objects. Used for frustum culling etc.