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

#include <BtOgreGP.h>

List of all members.

Public Member Functions

 VertexIndexToShape (const Ogre::Matrix4 &transform=Ogre::Matrix4::IDENTITY)
 ~VertexIndexToShape ()
Ogre::Real getRadius ()
Ogre::Vector3 getSize ()
btSphereShape * createSphere ()
btBoxShape * createBox ()
btBvhTriangleMeshShape * createTrimesh ()
btCylinderShape * createCylinder ()
btConvexHullShape * createConvex ()
const Ogre::Vector3 * getVertices ()
unsigned int getVertexCount ()
const unsigned int * getIndices ()
unsigned int getIndexCount ()

Protected Member Functions

void addStaticVertexData (const Ogre::VertexData *vertex_data)
void addAnimatedVertexData (const Ogre::VertexData *vertex_data, const Ogre::VertexData *blended_data, const Ogre::Mesh::IndexMap *indexMap)
void addIndexData (Ogre::IndexData *data, const unsigned int offset=0)

Protected Attributes

Ogre::Vector3 * mVertexBuffer
unsigned int * mIndexBuffer
unsigned int mVertexCount
unsigned int mIndexCount
Ogre::Matrix4 mTransform
Ogre::Real mBoundRadius
Ogre::Vector3 mBounds
BoneIndexmBoneIndex
Ogre::Vector3 mScale

Constructor & Destructor Documentation

BtOgre::VertexIndexToShape::VertexIndexToShape ( const Ogre::Matrix4 &  transform = Ogre::Matrix4::IDENTITY)

Member Function Documentation

void BtOgre::VertexIndexToShape::addAnimatedVertexData ( const Ogre::VertexData *  vertex_data,
const Ogre::VertexData *  blended_data,
const Ogre::Mesh::IndexMap *  indexMap 
) [protected]
void BtOgre::VertexIndexToShape::addIndexData ( Ogre::IndexData *  data,
const unsigned int  offset = 0 
) [protected]
void BtOgre::VertexIndexToShape::addStaticVertexData ( const Ogre::VertexData *  vertex_data) [protected]
btBvhTriangleMeshShape * BtOgre::VertexIndexToShape::createTrimesh ( )
const unsigned int * BtOgre::VertexIndexToShape::getIndices ( )
const Ogre::Vector3 * BtOgre::VertexIndexToShape::getVertices ( )

Member Data Documentation

Ogre::Vector3 BtOgre::VertexIndexToShape::mBounds [protected]
unsigned int* BtOgre::VertexIndexToShape::mIndexBuffer [protected]
unsigned int BtOgre::VertexIndexToShape::mIndexCount [protected]
Ogre::Vector3 BtOgre::VertexIndexToShape::mScale [protected]
Ogre::Matrix4 BtOgre::VertexIndexToShape::mTransform [protected]
Ogre::Vector3* BtOgre::VertexIndexToShape::mVertexBuffer [protected]
unsigned int BtOgre::VertexIndexToShape::mVertexCount [protected]

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