#include <geometricBoundingVolume.h>
Inheritance diagram for GeometricBoundingVolume:
Public Member Functions | |
INLINE_MATHUTIL | GeometricBoundingVolume () |
INLINE_MATHUTIL bool | extend_by (const LPoint3f &point) |
INLINE_MATHUTIL bool | around (const GeometricBoundingVolume **first, const GeometricBoundingVolume **last) |
INLINE_MATHUTIL bool | around (const LPoint3f *first, const LPoint3f *last) |
INLINE_MATHUTIL int | contains (const GeometricBoundingVolume *vol) const |
INLINE_MATHUTIL int | contains (const LPoint3f &point) const |
INLINE_MATHUTIL int | contains (const LPoint3f &a, const LPoint3f &b) const |
virtual LPoint3f | get_approx_center () const=0 |
virtual void | xform (const LMatrix4f &mat)=0 |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
PUBLISHED | __pad0__: INLINE_MATHUTIL bool extend_by(const GeometricBoundingVolume *vol) |
Protected Member Functions | |
virtual bool | extend_by_point (const LPoint3f &point) |
virtual bool | around_points (const LPoint3f *first, const LPoint3f *last) |
virtual int | contains_point (const LPoint3f &point) const |
virtual int | contains_lineseg (const LPoint3f &a, const LPoint3f &b) const |
Static Private Attributes | |
TypeHandle | _type_handle |
|
|
|
|
|
Referenced by RopeNode::do_recompute_bound(), Geom::recompute_bound(), CollisionSegment::recompute_bound(), CollisionPolygon::recompute_bound(), and TextNode::recompute_internal_bound(). |
|
Reimplemented in BoundingHexahedron, BoundingSphere, and OmniBoundingVolume. Definition at line 30 of file geometricBoundingVolume.cxx. References BoundingVolume::_flags, and BoundingVolume::F_empty. |
|
|
|
|
|
|
Reimplemented in BoundingHexahedron, BoundingSphere, and OmniBoundingVolume. Definition at line 41 of file geometricBoundingVolume.cxx. |
|
Reimplemented in BoundingHexahedron, BoundingSphere, and OmniBoundingVolume. Definition at line 36 of file geometricBoundingVolume.cxx. |
|
Referenced by CollisionLevelState::prepare_collider(). |
|
Reimplemented in BoundingHexahedron, BoundingSphere, and OmniBoundingVolume. Definition at line 25 of file geometricBoundingVolume.cxx. |
|
Reimplemented from BoundingVolume. Reimplemented in BoundingHexahedron, BoundingLine, BoundingSphere, FiniteBoundingVolume, and OmniBoundingVolume. Definition at line 81 of file geometricBoundingVolume.h. References BoundingVolume::get_class_type(), and BoundingVolume::init_type(). |
|
Implemented in BoundingHexahedron, BoundingLine, BoundingSphere, and OmniBoundingVolume. Referenced by CullBinFrontToBack::add_object(), and CullBinBackToFront::add_object(). |
|
|
Reimplemented from BoundingVolume. Reimplemented in BoundingHexahedron, BoundingLine, BoundingSphere, FiniteBoundingVolume, and OmniBoundingVolume. Definition at line 78 of file geometricBoundingVolume.h. References BoundingVolume::get_class_type(). |
|
Reimplemented from BoundingVolume. Reimplemented in BoundingHexahedron, BoundingLine, BoundingSphere, FiniteBoundingVolume, and OmniBoundingVolume. Definition at line 73 of file geometricBoundingVolume.h. References BoundingVolume::get_class_type(), BoundingVolume::init_type(), and register_type(). Referenced by ConfigureFn(), OmniBoundingVolume::force_init_type(), FiniteBoundingVolume::force_init_type(), BoundingLine::force_init_type(), OmniBoundingVolume::init_type(), FiniteBoundingVolume::init_type(), and BoundingLine::init_type(). |
|
Implemented in BoundingHexahedron, BoundingLine, BoundingSphere, and OmniBoundingVolume. Referenced by CollisionLevelState::apply_transform(), CollisionLevelState::prepare_collider(), and PandaNode::recompute_bound(). |
|
Reimplemented from BoundingVolume. Reimplemented in BoundingLine, BoundingSphere, FiniteBoundingVolume, and OmniBoundingVolume. Definition at line 40 of file geometricBoundingVolume.h. |
|
Reimplemented from BoundingVolume. Reimplemented in BoundingHexahedron, BoundingLine, BoundingSphere, FiniteBoundingVolume, and OmniBoundingVolume. Definition at line 21 of file geometricBoundingVolume.cxx. |