#include <boundedObject.h>
Inheritance diagram for BoundedObject:
Public Member Functions | |
INLINE | BoundedObject () |
INLINE | BoundedObject (const BoundedObject ©) |
INLINE void | operator= (const BoundedObject ©) |
virtual | ~BoundedObject () |
INLINE void | set_bound (BoundingVolumeType type) |
INLINE void | set_bound (const BoundingVolume &volume) |
const BoundingVolume & | get_bound () const |
INLINE bool | mark_bound_stale () |
INLINE void | force_bound_stale () |
INLINE bool | is_bound_stale () const |
INLINE void | set_final (bool flag) |
INLINE bool | is_final () const |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Public Attributes | |
PUBLISHED | __pad0__: enum BoundingVolumeType { BVT_static |
PUBLISHED | BVT_dynamic_sphere |
Protected Member Functions | |
virtual void | propagate_stale_bound () |
virtual BoundingVolume * | recompute_bound () |
INLINE const BoundingVolume * | get_bound_ptr () const |
INLINE BoundingVolume * | set_bound_ptr (BoundingVolume *bound) |
Private Types | |
typedef CycleDataReader< CData > | CDReader |
typedef CycleDataWriter< CData > | CDWriter |
enum | Flags { F_bound_stale = 0x0001, F_final = 0x0002 } |
Private Attributes | |
PipelineCycler< CData > | _cycler |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | PandaNode |
class | CData |
|
Reimplemented in RopeNode, DirectionalLight, GeomNode, LODNode, PandaNode, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode. Definition at line 92 of file boundedObject.h. |
|
Reimplemented in RopeNode, DirectionalLight, GeomNode, LODNode, PandaNode, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode. Definition at line 93 of file boundedObject.h. |
|
Reimplemented in CollisionNode, PGItem, and TextNode. Definition at line 72 of file boundedObject.h. |
|
|
|
|
|
Definition at line 32 of file boundedObject.cxx. |
|
|
Reimplemented in PandaNode. Definition at line 46 of file boundedObject.cxx. References _cycler, F_bound_stale, is_bound_stale(), and NULL. Referenced by CollisionTraverser::compare_collider_to_geom_node(), and CollisionLevelState::prepare_collider(). |
|
|
|
|
|
Referenced by get_bound(). |
|
Referenced by CullTraverserData::is_in_view_impl(). |
|
|
|
|
Reimplemented in dDrawable, and PandaNode. Definition at line 88 of file boundedObject.cxx. |
|
Reimplemented in CollisionNode, CollisionPlane, CollisionPolygon, CollisionRay, CollisionSegment, CollisionSphere, Geom, and PandaNode. Definition at line 104 of file boundedObject.cxx. References _cycler, BVT_dynamic_sphere, and F_bound_stale. Referenced by PandaNode::recompute_bound(), Geom::recompute_bound(), CollisionSphere::recompute_bound(), CollisionSegment::recompute_bound(), CollisionRay::recompute_bound(), CollisionPolygon::recompute_bound(), CollisionPlane::recompute_bound(), and PandaNode::recompute_internal_bound(). |
|
Reimplemented in PandaNode. |
|
Reimplemented in PandaNode. |
|
Referenced by CollisionRay::recompute_bound(), and CollisionPlane::recompute_bound(). |
|
|
|
Definition at line 107 of file boundedObject.h. |
|
Definition at line 106 of file boundedObject.h. |
|
|
Reimplemented in RopeNode, DirectionalLight, GeomNode, LODNode, PandaNode, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode. Definition at line 91 of file boundedObject.h. Referenced by get_bound(), and recompute_bound(). |
|
|
Definition at line 49 of file boundedObject.h. Referenced by recompute_bound(). |