#include <physical.h>
Inheritance diagram for Physical:
Public Member Functions | |
virtual TypeHandle | get_type (void) const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type (void) |
void | init_type (void) |
Public Attributes | |
INLINE const pvector< PT(PhysicsObject) > | get_object_vector )(void) const |
INLINE const pvector< PT(LinearForce) > | get_linear_forces )(void) const |
INLINE const pvector< PT(AngularForce) > | get_angular_forces )(void) const |
Protected Member Functions | |
Physical (const Physical ©) | |
virtual | ~Physical (void) |
INLINE PhysicsManager * | get_physics_manager (void) const |
INLINE PhysicalNode * | get_physical_node (void) const |
INLINE PhysicsObject * | get_phys_body (void) const |
INLINE void | clear_linear_forces (void) |
INLINE void | clear_angular_forces (void) |
INLINE void | clear_physics_objects (void) |
INLINE void | add_linear_force (LinearForce *f) |
INLINE void | add_angular_force (AngularForce *f) |
INLINE void | add_physics_object (PhysicsObject *po) |
INLINE void | remove_linear_force (LinearForce *f) |
INLINE void | remove_angular_force (AngularForce *f) |
INLINE int | get_num_linear_forces (void) const |
INLINE | PT (LinearForce) get_linear_force(int index) const |
INLINE int | get_num_angular_forces (void) const |
INLINE | PT (AngularForce) get_angular_force(int index) const |
Protected Attributes | |
pvector< PT(PhysicsObject) | _physics_objects ) |
pvector< PT(LinearForce) | _linear_forces ) |
pvector< PT(AngularForce) | _angular_forces ) |
PhysicsObject * | _phys_body |
PUBLISHED | __pad0__: Physical(int ttl_objects = 1 |
PUBLISHED bool | pre_alloc = false) |
Private Attributes | |
PhysicsManager * | _physics_manager |
PhysicalNode * | _physical_node |
Static Private Attributes | |
TypeHandle | _type_handle |
Friends | |
class | PhysicsManager |
class | PhysicalNode |
|
Definition at line 74 of file physical.cxx. References _angular_forces, _linear_forces, _phys_body, _physics_manager, _physics_objects, and NULL. |
|
Definition at line 114 of file physical.cxx. References _physics_manager, NULL, and PhysicsManager::remove_physical(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from TypedReferenceCount. Definition at line 105 of file physical.h. References ReferenceCount::get_class_type(), and TypedReferenceCount::init_type(). |
|
Reimplemented from ReferenceCount. Definition at line 94 of file physical.h. |
|
|
|
|
|
Referenced by ActorNode::ActorNode(). |
|
|
Referenced by ParticleSystem::spawn_child_system(). |
|
Reimplemented from TypedReferenceCount. Definition at line 102 of file physical.h. References ReferenceCount::get_class_type(). |
|
Reimplemented from TypedReferenceCount. Definition at line 97 of file physical.h. References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type(). Referenced by init_libphysics(). |
|
|
|
|
|
|
|
|
|
Definition at line 91 of file physical.h. Referenced by ParticleSystem::spawn_child_system(). |
|
Definition at line 90 of file physical.h. |
|
Reimplemented from TypedReferenceCount. Reimplemented in ParticleSystem. Definition at line 61 of file physical.h. |
|
Definition at line 51 of file physical.h. Referenced by Physical(). |
|
Definition at line 50 of file physical.h. Referenced by Physical(). |
|
Definition at line 58 of file physical.h. Referenced by main(), and Physical(). |
|
Definition at line 45 of file physical.h. |
|
Definition at line 44 of file physical.h. Referenced by Physical(), and ~Physical(). |
|
Definition at line 49 of file physical.h. Referenced by ParticleSystem::birth_particle(), ParticleSystem::kill_particle(), Physical(), ParticleSystem::resize_pool(), and ParticleSystem::update(). |
|
Reimplemented from TypedReferenceCount. Definition at line 24 of file physical.cxx. |
|
Referenced by AngularEulerIntegrator::child_integrate(), and BaseIntegrator::precompute_angular_matrices(). |
|
Referenced by LinearEulerIntegrator::child_integrate(), and BaseIntegrator::precompute_linear_matrices(). |
|
Referenced by LinearEulerIntegrator::child_integrate(), AngularEulerIntegrator::child_integrate(), and LinearIntegrator::integrate(). |
|
Definition at line 61 of file physical.h. |