Public Member Functions | Protected Member Functions | Protected Attributes | Friends

sp::physics::RigidBody Class Reference

#include <spPhysicsRigidBody.hpp>

Inheritance diagram for sp::physics::RigidBody:
sp::physics::DynamicPhysicsObject sp::physics::PhysicsBaseObject sp::BaseObject sp::physics::NewtonRigidBody sp::physics::PhysXRigidBody

List of all members.

Public Member Functions

virtual ~RigidBody ()
virtual void setRootNode (scene::SceneNode *Node)
 Sets the root node which is to be located and oriented by the rigid body.
ERigidBodies getType () const
 Returns the rigid body's type.
scene::SceneNodegetRootNode () const
 Returns the root node.

Protected Member Functions

 RigidBody (const ERigidBodies Type, const SRigidBodyConstruction &Construct)

Protected Attributes

ERigidBodies Type_
SRigidBodyConstruction Construct_
scene::SceneNodeRootNode_

Friends

class BodyJoint

Constructor & Destructor Documentation

virtual sp::physics::RigidBody::~RigidBody (  )  [virtual]
sp::physics::RigidBody::RigidBody ( const ERigidBodies  Type,
const SRigidBodyConstruction Construct 
) [protected]

Member Function Documentation

scene::SceneNode* sp::physics::RigidBody::getRootNode (  )  const [inline]

Returns the root node.

ERigidBodies sp::physics::RigidBody::getType (  )  const [inline]

Returns the rigid body's type.

virtual void sp::physics::RigidBody::setRootNode ( scene::SceneNode Node  )  [virtual]

Sets the root node which is to be located and oriented by the rigid body.


Friends And Related Function Documentation

friend class BodyJoint [friend]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines