OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes
BtOgre::AnimatedMeshToShapeConverter Class Reference

#include <BtOgreGP.h>

List of all members.

Public Member Functions

 AnimatedMeshToShapeConverter (Ogre::Entity *entity, const Ogre::Matrix4 &transform=Ogre::Matrix4::IDENTITY)
 AnimatedMeshToShapeConverter ()
 ~AnimatedMeshToShapeConverter ()
void addEntity (Ogre::Entity *entity, const Ogre::Matrix4 &transform=Ogre::Matrix4::IDENTITY)
void addMesh (const Ogre::MeshPtr &mesh, const Ogre::Matrix4 &transform)
btBoxShape * createAlignedBox (unsigned char bone, const Ogre::Vector3 &bonePosition, const Ogre::Quaternion &boneOrientation)
btBoxShape * createOrientedBox (unsigned char bone, const Ogre::Vector3 &bonePosition, const Ogre::Quaternion &boneOrientation)

Protected Member Functions

bool getBoneVertices (unsigned char bone, unsigned int &vertex_count, Ogre::Vector3 *&vertices, const Ogre::Vector3 &bonePosition)
bool getOrientedBox (unsigned char bone, const Ogre::Vector3 &bonePosition, const Ogre::Quaternion &boneOrientation, Ogre::Vector3 &extents, Ogre::Vector3 *axis, Ogre::Vector3 &center)

Protected Attributes

Ogre::Entity * mEntity
Ogre::SceneNode * mNode
Ogre::Vector3 * mTransformedVerticesTemp
size_t mTransformedVerticesTempSize

Constructor & Destructor Documentation

BtOgre::AnimatedMeshToShapeConverter::AnimatedMeshToShapeConverter ( Ogre::Entity *  entity,
const Ogre::Matrix4 &  transform = Ogre::Matrix4::IDENTITY 
)

Member Function Documentation

void BtOgre::AnimatedMeshToShapeConverter::addEntity ( Ogre::Entity *  entity,
const Ogre::Matrix4 &  transform = Ogre::Matrix4::IDENTITY 
)
void BtOgre::AnimatedMeshToShapeConverter::addMesh ( const Ogre::MeshPtr &  mesh,
const Ogre::Matrix4 &  transform 
)
btBoxShape * BtOgre::AnimatedMeshToShapeConverter::createAlignedBox ( unsigned char  bone,
const Ogre::Vector3 &  bonePosition,
const Ogre::Quaternion &  boneOrientation 
)
btBoxShape * BtOgre::AnimatedMeshToShapeConverter::createOrientedBox ( unsigned char  bone,
const Ogre::Vector3 &  bonePosition,
const Ogre::Quaternion &  boneOrientation 
)
bool BtOgre::AnimatedMeshToShapeConverter::getBoneVertices ( unsigned char  bone,
unsigned int &  vertex_count,
Ogre::Vector3 *&  vertices,
const Ogre::Vector3 &  bonePosition 
) [protected]
bool BtOgre::AnimatedMeshToShapeConverter::getOrientedBox ( unsigned char  bone,
const Ogre::Vector3 &  bonePosition,
const Ogre::Quaternion &  boneOrientation,
Ogre::Vector3 &  extents,
Ogre::Vector3 *  axis,
Ogre::Vector3 &  center 
) [protected]

Member Data Documentation

Ogre::SceneNode* BtOgre::AnimatedMeshToShapeConverter::mNode [protected]

The documentation for this class was generated from the following files: