Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

OpenCAL::Physical Class Reference

#include <Physical.h>

Inheritance diagram for OpenCAL::Physical:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual const Vector3 & getVelocity () const
virtual Vector3 * getVelocityP ()
Vector3 getMomentum () const
const Vector3 & getForce () const
Vector3 * getForceP ()
Vector3 getAccelleration () const
float getMass () const
float getOneOverMass () const
bool hasInfiniteMass () const
void setVelocity (const Vector3 &velocity)
void setForce (const Vector3 &force)
virtual void addForce (const Vector3 &force)
void resetForce ()
void setAccelleration (const Vector3 &accelleration)
void setMass (float mass)
void setOneOverMass (float oneOverMass)
void setInfiniteMass ()

Protected Member Functions

 Physical (float mass=1.0)

Protected Attributes

Vector3 m_velocity
Vector3 m_force
float m_oneOverMass

Detailed Description

Classes derived from this one can be used in physical systems

Definition at line 28 of file Physical.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:33 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8