#include <spPhysXBaseObject.hpp>
Public Member Functions | |
virtual | ~PhysXBaseObject () |
virtual void | setTransformation (const dim::matrix4f &Transformation) |
virtual dim::matrix4f | getTransformation () const |
Protected Member Functions | |
PhysXBaseObject (PhysXMaterial *Material) | |
void | addShape (const PxGeometry &Geometry) |
void | createBox (const SRigidBodyConstruction &Construct) |
void | createSphere (const SRigidBodyConstruction &Construct) |
void | createCapsule (const SRigidBodyConstruction &Construct) |
void | createMesh (PxPhysics *PxDevice, PxCooking *PxCookDevice, scene::Mesh *Mesh) |
Protected Attributes | |
PxRigidActor * | PxBaseActor_ |
PxMaterial * | PxMaterial_ |
std::list< PxShape * > | Shapes_ |
Friends | |
class | PhysXJoint |
virtual sp::physics::PhysXBaseObject::~PhysXBaseObject | ( | ) | [virtual] |
sp::physics::PhysXBaseObject::PhysXBaseObject | ( | PhysXMaterial * | Material | ) | [protected] |
void sp::physics::PhysXBaseObject::addShape | ( | const PxGeometry & | Geometry | ) | [protected] |
void sp::physics::PhysXBaseObject::createBox | ( | const SRigidBodyConstruction & | Construct | ) | [protected] |
void sp::physics::PhysXBaseObject::createCapsule | ( | const SRigidBodyConstruction & | Construct | ) | [protected] |
void sp::physics::PhysXBaseObject::createMesh | ( | PxPhysics * | PxDevice, | |
PxCooking * | PxCookDevice, | |||
scene::Mesh * | Mesh | |||
) | [protected] |
void sp::physics::PhysXBaseObject::createSphere | ( | const SRigidBodyConstruction & | Construct | ) | [protected] |
virtual dim::matrix4f sp::physics::PhysXBaseObject::getTransformation | ( | ) | const [virtual] |
Implements sp::physics::PhysicsBaseObject.
virtual void sp::physics::PhysXBaseObject::setTransformation | ( | const dim::matrix4f & | Transformation | ) | [virtual] |
Implements sp::physics::PhysicsBaseObject.
friend class PhysXJoint [friend] |
Reimplemented in sp::physics::PhysXRigidBody.
PxRigidActor* sp::physics::PhysXBaseObject::PxBaseActor_ [protected] |
PxMaterial* sp::physics::PhysXBaseObject::PxMaterial_ [protected] |
std::list<PxShape*> sp::physics::PhysXBaseObject::Shapes_ [protected] |