35 #ifndef MOCAPMESHNODE_H
36 #define MOCAPMESHNODE_H
42 #include <QtGui/qvector3d.h>
45 using namespace Frapper;
87 void updateAnimation ();
107 void updateObjectId ();
117 bool initAnimationStates ();
124 QStringList getAnimationNames ();
131 QStringList getBoneNames ();
138 void initializeBones ( QStringList boneNames );
151 void updateStatistics ();
157 void destroyEntity ();
166 void progressAnimation (
const QString &animationName,
float timeToAdd,
float weight = 1.0 );
179 void transformBone(
const QString &name,
float &tx,
float &ty,
float &tz,
float &rx,
float &ry,
float &rz );
180 void transformBone(
const QString &name,
const Ogre::Quaternion &q,
const Ogre::Vector3& position );
193 void parseMaterialParameters ();
202 Ogre::HardwareVertexBufferSharedPtr writeDataToVertices(Ogre::SubMesh* mesh);
211 bool compareVectors(QVector3D* v1, QVector3D* v2);
217 bool isAnimated ()
const;
224 void geometryFileChanged ();
229 void setInterpolationMode ();
234 void setMaterialParameter ();
239 void reloadTexture ();
246 bool setupMaterial ();
253 bool loadLightDescriptionFile ();