#include <physicsObject.h>
Inheritance diagram for PhysicsObject:
Public Member Functions | |
virtual TypeHandle | get_type () const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
TypeHandle | get_class_type () |
void | init_type () |
Private Member Functions | |
PhysicsObject (const PhysicsObject ©) | |
virtual | ~PhysicsObject (void) |
const PhysicsObject & | operator= (const PhysicsObject &other) |
INLINE void | set_mass (float) |
INLINE float | get_mass (void) const |
INLINE void | set_position (const LPoint3f &pos) |
INLINE void | set_position (float x, float y, float z) |
INLINE LPoint3f | get_position (void) const |
INLINE void | set_position_HandOfGod (const LPoint3f &pos) |
INLINE void | set_last_position (const LPoint3f &pos) |
INLINE LPoint3f | get_last_position (void) const |
INLINE void | set_velocity (const LVector3f &vel) |
INLINE void | set_velocity (float x, float y, float z) |
INLINE LVector3f | get_velocity (void) const |
INLINE void | set_active (bool flag) |
INLINE bool | get_active (void) const |
INLINE void | set_oriented (bool flag) |
INLINE bool | get_oriented (void) const |
INLINE void | set_terminal_velocity (float tv) |
INLINE float | get_terminal_velocity (void) const |
INLINE void | set_orientation (const LOrientationf &orientation) |
INLINE LOrientationf | get_orientation (void) const |
INLINE void | set_rotation (const LVector3f &rotation) |
INLINE LVector3f | get_rotation (void) const |
virtual LMatrix4f | get_inertial_tensor (void) const |
virtual LMatrix4f | get_lcs (void) const |
virtual PhysicsObject * | make_copy (void) const |
Private Attributes | |
LPoint3f | _position |
LPoint3f | _last_position |
LVector3f | _velocity |
LOrientationf | _orientation |
LVector3f | _rotation |
float | _terminal_velocity |
float | _mass |
bool | _process_me |
bool | _oriented |
PUBLISHED | __pad0__: PhysicsObject(void) |
Static Private Attributes | |
const float | _default_terminal_velocity |
TypeHandle | _type_handle |
|
Definition at line 48 of file physicsObject.cxx. References operator=(). Referenced by make_copy(). |
|
Definition at line 58 of file physicsObject.cxx. |
|
Reimplemented from TypedReferenceCount. Definition at line 104 of file physicsObject.h. References ReferenceCount::get_class_type(), and TypedReferenceCount::init_type(). |
|
Referenced by LinearEulerIntegrator::child_integrate(), and AngularEulerIntegrator::child_integrate(). |
|
Reimplemented from ReferenceCount. Definition at line 93 of file physicsObject.h. |
|
Definition at line 114 of file physicsObject.cxx. Referenced by AngularEulerIntegrator::child_integrate(). |
|
|
|
Definition at line 98 of file physicsObject.cxx. References _orientation, _oriented, and _position. Referenced by ActorNode::update_transform(). |
|
Referenced by LinearEulerIntegrator::child_integrate(). |
|
Referenced by AngularEulerIntegrator::child_integrate(). |
|
Referenced by ActorNode::transform_changed(). |
|
|
Referenced by AngularEulerIntegrator::child_integrate(). |
|
Referenced by LinearEulerIntegrator::child_integrate(). |
|
Reimplemented from TypedReferenceCount. Definition at line 101 of file physicsObject.h. References ReferenceCount::get_class_type(). |
|
Referenced by LinearEulerIntegrator::child_integrate(), LinearFrictionForce::get_child_vector(), and LinearCylinderVortexForce::get_child_vector(). |
|
Reimplemented from TypedReferenceCount. Definition at line 96 of file physicsObject.h. References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type(). Referenced by init_libphysics(). |
|
Reimplemented in BaseParticle, OrientedParticle, PointParticle, and ZSpinParticle. Definition at line 87 of file physicsObject.cxx. References PhysicsObject(). |
|
Definition at line 67 of file physicsObject.cxx. References _last_position, _mass, _orientation, _oriented, _position, _process_me, _rotation, _terminal_velocity, and _velocity. Referenced by PhysicsObject(). |
|
Referenced by ActorNode::ActorNode(). |
|
Referenced by LinearIntegrator::integrate(). |
|
Referenced by main(). |
|
Referenced by AngularEulerIntegrator::child_integrate(), and ActorNode::transform_changed(). |
|
Referenced by OrientedParticle::OrientedParticle(), and PointParticle::PointParticle(). |
|
|
|
Referenced by LinearEulerIntegrator::child_integrate(), main(), and ActorNode::transform_changed(). |
|
|
|
Referenced by AngularEulerIntegrator::child_integrate(). |
|
|
|
|
|
Referenced by LinearEulerIntegrator::child_integrate(), and main(). |
|
Reimplemented from TypedReferenceCount. Definition at line 50 of file physicsObject.h. |
|
Initial value:
config_physics.GetFloat("default_terminal_velocity", 400.0f)
Definition at line 48 of file config_physics.cxx. Referenced by BaseParticleFactory::BaseParticleFactory(). |
|
Reimplemented in BaseParticle. Definition at line 36 of file physicsObject.h. Referenced by operator=(). |
|
Definition at line 44 of file physicsObject.h. Referenced by operator=(). |
|
Definition at line 40 of file physicsObject.h. Referenced by get_lcs(), and operator=(). |
|
Definition at line 47 of file physicsObject.h. Referenced by get_lcs(), and operator=(). |
|
Definition at line 35 of file physicsObject.h. Referenced by get_lcs(), and operator=(). |
|
Definition at line 46 of file physicsObject.h. Referenced by operator=(). |
|
Definition at line 41 of file physicsObject.h. Referenced by operator=(). |
|
Definition at line 43 of file physicsObject.h. Referenced by operator=(). |
|
Reimplemented from TypedReferenceCount. Definition at line 21 of file physicsObject.cxx. |
|
Definition at line 37 of file physicsObject.h. Referenced by operator=(). |