Public Member Functions |
|
virtual TypeHandle | force_init_type () |
|
virtual LPoint3f | get_approx_center () const |
|
virtual TypeHandle | get_type () const |
|
virtual BoundingVolume * | make_copy () const |
|
virtual void | output (ostream &out) const |
|
virtual void | xform (const LMatrix4f &mat) |
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Protected Member Functions |
| virtual bool | around_boxes (const BoundingVolume **first, const BoundingVolume **last) |
| | Double-dispatch support: called by around_other() when the type of the first element in the list is known to be a nonempty box.
|
| virtual bool | around_hexahedrons (const BoundingVolume **first, const BoundingVolume **last) |
| | Double-dispatch support: called by around_other() when the type of the first element in the list is known to be a nonempty hexahedron.
|
|
virtual bool | around_other (BoundingVolume *other, const BoundingVolume **first, const BoundingVolume **last) const |
| virtual bool | around_points (const LPoint3f *first, const LPoint3f *last) |
| | Puts the volume around the indicated list of points, identified by an STL-style begin/end list.
|
| virtual bool | around_spheres (const BoundingVolume **first, const BoundingVolume **last) |
| | Double-dispatch support: called by around_other() when the type of the first element in the list is known to be a nonempty sphere.
|
| virtual int | contains_box (const BoundingBox *box) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a box.
|
| virtual int | contains_hexahedron (const BoundingHexahedron *hexahedron) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a hexahedron.
|
| virtual int | contains_lineseg (const LPoint3f &a, const LPoint3f &b) const |
| | Tests whether the volume contains the indicated line segment.
|
|
virtual int | contains_other (const BoundingVolume *other) const |
| virtual int | contains_point (const LPoint3f &point) const |
| | Tests whether the volume contains the indicated point.
|
| virtual int | contains_sphere (const BoundingSphere *sphere) const |
| | Double-dispatch support: called by contains_other() when the type we're testing for intersection is known to be a sphere.
|
| virtual bool | extend_by_box (const BoundingBox *box) |
| | Double-dispatch support: called by extend_other() when the type we're extending by is known to be a box.
|
| virtual bool | extend_by_hexahedron (const BoundingHexahedron *hexahedron) |
| | Double-dispatch support: called by extend_other() when the type we're extending by is known to be a hexahedron.
|
| virtual bool | extend_by_point (const LPoint3f &point) |
| | Extends the volume to include the indicated point.
|
| virtual bool | extend_by_sphere (const BoundingSphere *sphere) |
| | Double-dispatch support: called by extend_other() when the type we're extending by is known to be a sphere.
|
|
virtual bool | extend_other (BoundingVolume *other) const |
Friends |
|
class | BoundingHexahedron |
This is a special kind of GeometricBoundingVolume that fills all of space.
Definition at line 27 of file omniBoundingVolume.h.