SO3::SEntityFap Class Reference

#include <SO3EntityFap.h>

Inheritance diagram for SO3::SEntityFap:
SO3::SEntity SO3::SNode SO3::SData

List of all members.

Public Types

enum  axeType { X, Y, Z }

Public Member Functions

 SEntityFap (SScene *parent, std::string entityName, std::string meshName, std::string pathStdFDP, std::string pathStdIndices)
 ~SEntityFap ()
void initializeEntityFAP (Ogre::MeshPtr newMesh, Ogre::Vector3 position, Ogre::Quaternion orient, Ogre::Vector3 scale, SNode *parentNode)
void clear (std::vector< bool > *v)
void add (std::vector< bool > *v, std::vector< int > *indices)
void createPose2 (Ogre::Pose *pose, std::vector< Ogre::Vector3 > *geomety, std::vector< bool > *zones, Ogre::Vector3 *FDP, axeType axe, double x, double y, double z, double div, double coef)
void clearAndAdd (std::vector< bool > *v, std::vector< std::vector< int > > *groups, int numberOfGroups,...)
void createPose (Ogre::Pose *pose, std::vector< Ogre::Vector3 > *geomety, std::vector< bool > *zones, Ogre::Vector3 *FDP, axeType axe, double x, double y, double z, double div, double coef, int power=1, double pi_=3.14159265358979323846f)
void scalepose (Ogre::Pose *pose, std::vector< bool > *zones, axeType axe, double factor)
void initFapMesh (Ogre::MeshPtr faceMesh, std::string pathStdFDP, std::string pathStdIndices)
void initFAPAnimation (Ogre::MeshPtr faceMesh)
void playFAPFrame ()
bool linkToBone (SNode *parentBone)

Static Public Member Functions

static void readIndices (std::vector< std::vector< int > > *groups, string fileName)
static void readFDPs (std::vector< std::vector< Ogre::Vector3 > > *FDPs, std::vector< Ogre::Vector3 > *vertices, Ogre::String fileName)

Public Attributes

double FAPValues [NUMBER_OF_FAPS]
Ogre::Pose * FAP_6
int index_Pose_FAP_6
Ogre::Pose * FAP_7
int index_Pose_FAP_7
Ogre::Pose * FAP_12_0
int index_Pose_FAP_12_0
Ogre::Pose * FAP_12_1
int index_Pose_FAP_12_1
Ogre::Pose * FAP_13_0
int index_Pose_FAP_13_0
Ogre::Pose * FAP_13_1
int index_Pose_FAP_13_1
Ogre::Pose * FAP_31_
int index_Pose_FAP_31_
Ogre::Pose * FAP_32_
int index_Pose_FAP_32_
Ogre::Pose * FAP_33_
int index_Pose_FAP_33_
Ogre::Pose * FAP_34_
int index_Pose_FAP_34_
Ogre::Pose * FAP_35_
int index_Pose_FAP_35_
Ogre::Pose * FAP_36_
int index_Pose_FAP_36_
Ogre::Pose * FAP_39_
int index_Pose_FAP_39_
Ogre::Pose * FAP_40_
int index_Pose_FAP_40_
Ogre::Pose * FAP_41_0
int index_Pose_FAP_41_0
Ogre::Pose * FAP_41_1
int index_Pose_FAP_41_1
Ogre::Pose * FAP_42_0
int index_Pose_FAP_42_0
Ogre::Pose * FAP_42_1
int index_Pose_FAP_42_1
Ogre::Pose * FAP_55_
int index_Pose_FAP_55_
Ogre::Pose * FAP_56_
int index_Pose_FAP_56_
Ogre::Pose * FAP_59_
int index_Pose_FAP_59_
Ogre::Pose * FAP_60_
int index_Pose_FAP_60_
int numberOfPoses
int * indexOfPose
int * FAPOfPoses
Ogre::Pose ** poses
Ogre::VertexPoseKeyFrame * manualKeyFrame
Ogre::AnimationState * manualAnimState
SAnimanimFAP
int nbFAPFrames
bool fapPoseCreated
bool verticesNeedUpdate
SArray< string > fapBuffer
FAPdataFAPs
std::vector< std::vector
< Ogre::Vector3 > > 
FDPs

Detailed Description

Definition at line 46 of file SO3EntityFap.h.


Member Enumeration Documentation

Enumerator:
X 
Y 
Z 

Definition at line 112 of file SO3EntityFap.h.


Constructor & Destructor Documentation

SEntityFap::SEntityFap ( SScene parent,
std::string  entityName,
std::string  meshName,
std::string  pathStdFDP,
std::string  pathStdIndices 
)

Normal constructor

Definition at line 16 of file SO3EntityFap.cpp.

SEntityFap::~SEntityFap (  ) 

Definition at line 40 of file SO3EntityFap.cpp.


Member Function Documentation

void SEntityFap::add ( std::vector< bool > *  v,
std::vector< int > *  indices 
)

Definition at line 145 of file SO3EntityFap.cpp.

void SEntityFap::clear ( std::vector< bool > *  v  ) 

Definition at line 139 of file SO3EntityFap.cpp.

void SEntityFap::clearAndAdd ( std::vector< bool > *  v,
std::vector< std::vector< int > > *  groups,
int  numberOfGroups,
  ... 
)

Definition at line 193 of file SO3EntityFap.cpp.

void SEntityFap::createPose ( Ogre::Pose *  pose,
std::vector< Ogre::Vector3 > *  geomety,
std::vector< bool > *  zones,
Ogre::Vector3 *  FDP,
axeType  axe,
double  x,
double  y,
double  z,
double  div,
double  coef,
int  power = 1,
double  pi_ = 3.14159265358979323846f 
)

Definition at line 205 of file SO3EntityFap.cpp.

void SEntityFap::createPose2 ( Ogre::Pose *  pose,
std::vector< Ogre::Vector3 > *  geomety,
std::vector< bool > *  zones,
Ogre::Vector3 *  FDP,
axeType  axe,
double  x,
double  y,
double  z,
double  div,
double  coef 
)

fap = 1

Definition at line 151 of file SO3EntityFap.cpp.

void SEntityFap::initFAPAnimation ( Ogre::MeshPtr  faceMesh  ) 

Definition at line 786 of file SO3EntityFap.cpp.

void SEntityFap::initFapMesh ( Ogre::MeshPtr  faceMesh,
std::string  pathStdFDP,
std::string  pathStdIndices 
)

Definition at line 275 of file SO3EntityFap.cpp.

void SO3::SEntityFap::initializeEntityFAP ( Ogre::MeshPtr  newMesh,
Ogre::Vector3  position,
Ogre::Quaternion  orient,
Ogre::Vector3  scale,
SNode parentNode 
)
bool SEntityFap::linkToBone ( SNode parentBone  ) 

Definition at line 1010 of file SO3EntityFap.cpp.

void SEntityFap::playFAPFrame (  ) 

Definition at line 801 of file SO3EntityFap.cpp.

void SEntityFap::readFDPs ( std::vector< std::vector< Ogre::Vector3 > > *  FDPs,
std::vector< Ogre::Vector3 > *  vertices,
Ogre::String  fileName 
) [static]

Definition at line 84 of file SO3EntityFap.cpp.

void SEntityFap::readIndices ( std::vector< std::vector< int > > *  groups,
string  fileName 
) [static]

Definition at line 46 of file SO3EntityFap.cpp.

void SEntityFap::scalepose ( Ogre::Pose *  pose,
std::vector< bool > *  zones,
axeType  axe,
double  factor 
)

Definition at line 247 of file SO3EntityFap.cpp.


Member Data Documentation

Definition at line 105 of file SO3EntityFap.h.

Definition at line 55 of file SO3EntityFap.h.

Definition at line 57 of file SO3EntityFap.h.

Definition at line 59 of file SO3EntityFap.h.

Definition at line 61 of file SO3EntityFap.h.

Definition at line 63 of file SO3EntityFap.h.

Definition at line 65 of file SO3EntityFap.h.

Definition at line 67 of file SO3EntityFap.h.

Definition at line 69 of file SO3EntityFap.h.

Definition at line 71 of file SO3EntityFap.h.

Definition at line 73 of file SO3EntityFap.h.

Definition at line 79 of file SO3EntityFap.h.

Definition at line 81 of file SO3EntityFap.h.

Definition at line 83 of file SO3EntityFap.h.

Definition at line 85 of file SO3EntityFap.h.

Definition at line 87 of file SO3EntityFap.h.

Definition at line 89 of file SO3EntityFap.h.

Definition at line 91 of file SO3EntityFap.h.

Definition at line 93 of file SO3EntityFap.h.

Definition at line 95 of file SO3EntityFap.h.

Definition at line 51 of file SO3EntityFap.h.

Definition at line 97 of file SO3EntityFap.h.

Definition at line 53 of file SO3EntityFap.h.

Definition at line 109 of file SO3EntityFap.h.

Definition at line 101 of file SO3EntityFap.h.

Definition at line 107 of file SO3EntityFap.h.

Definition at line 110 of file SO3EntityFap.h.

double SO3::SEntityFap::FAPValues[NUMBER_OF_FAPS]

Definition at line 49 of file SO3EntityFap.h.

std::vector<std::vector<Ogre::Vector3> > SO3::SEntityFap::FDPs

Definition at line 111 of file SO3EntityFap.h.

Definition at line 56 of file SO3EntityFap.h.

Definition at line 58 of file SO3EntityFap.h.

Definition at line 60 of file SO3EntityFap.h.

Definition at line 62 of file SO3EntityFap.h.

Definition at line 64 of file SO3EntityFap.h.

Definition at line 66 of file SO3EntityFap.h.

Definition at line 68 of file SO3EntityFap.h.

Definition at line 70 of file SO3EntityFap.h.

Definition at line 72 of file SO3EntityFap.h.

Definition at line 74 of file SO3EntityFap.h.

Definition at line 80 of file SO3EntityFap.h.

Definition at line 82 of file SO3EntityFap.h.

Definition at line 84 of file SO3EntityFap.h.

Definition at line 86 of file SO3EntityFap.h.

Definition at line 88 of file SO3EntityFap.h.

Definition at line 90 of file SO3EntityFap.h.

Definition at line 92 of file SO3EntityFap.h.

Definition at line 94 of file SO3EntityFap.h.

Definition at line 96 of file SO3EntityFap.h.

Definition at line 52 of file SO3EntityFap.h.

Definition at line 98 of file SO3EntityFap.h.

Definition at line 54 of file SO3EntityFap.h.

Definition at line 100 of file SO3EntityFap.h.

Ogre::AnimationState* SO3::SEntityFap::manualAnimState

Definition at line 104 of file SO3EntityFap.h.

Ogre::VertexPoseKeyFrame* SO3::SEntityFap::manualKeyFrame

Definition at line 103 of file SO3EntityFap.h.

Definition at line 106 of file SO3EntityFap.h.

Definition at line 99 of file SO3EntityFap.h.

Ogre::Pose** SO3::SEntityFap::poses

Definition at line 102 of file SO3EntityFap.h.

Definition at line 108 of file SO3EntityFap.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:37 2011 for SO3Engine by  doxygen 1.6.3