vrecko
virtual reality framework
|
Uchovava informace o animovanem Cal3D modelu, stejne jako Model, navic cislo animace, ktera se ma spustit. More...
#include <model.h>
Public Member Functions | |
AnimatedModel (void) | |
void | SetAnimationIndex (int index) |
nastavi cislo animace More... | |
int | GetAnimationIndex (void) |
vrati cislo animace More... | |
Public Member Functions inherited from ArtificialWorld::Model | |
Model (void) | |
virtual | ~Model (void) |
void | SetModelFlags (ModelFlags flags) |
nastaveni flagu modelu More... | |
void | SetMinVisibleDistance (unsigned long minDist) |
nastaveni minimalni vzdalenosti, kdy je model viditelny More... | |
void | SetMaxVisibleDistance (unsigned long maxDist) |
nastaveni maximalni vzdalenosti, kdy je model viditelny More... | |
void | SetPosition (osg::Vec3 pos) |
nastaveni pozice More... | |
void | SetRotation (osg::Quat rot) |
nastaveni rotace More... | |
void | SetScale (osg::Vec3 sc) |
nastaveni zvetseni More... | |
void | SetFileName (string fname) |
nastaveni jmena souboru, ve kterem je model ulozen More... | |
void | SetFileName (char *fname) |
nastaveni jmena souboru, ve kterem je model ulozen More... | |
void | SetModelType (ModelType mtype) |
nastaveni typu modelu More... | |
ModelFlags | GetModelFlags (void) |
vrati falgy modelu More... | |
unsigned long | GetMaxVisibleDistance (void) |
vrati maximalni vzdalenost, pri niz je model jeste viditelny More... | |
unsigned long | GetMinVisibleDistance (void) |
vrati minimalni vzdalenost, pri niz je model jeste viditelny More... | |
osg::Vec3 | GetPosition (void) |
vrati pozici modelu More... | |
osg::Quat | GetRotation (void) |
vrati rotaci modelu More... | |
osg::Vec3 | GetScale (void) |
vrati zvetseni modelu More... | |
string | GetFileName (void) |
vrati jmeno souboru, v nemz je model ulozen More... | |
ModelType | GetModelType (void) |
vrati typ modelu More... | |
bool | HasMinVisibleDistance (void) |
ma model nastavenu minimalni vzdalenost viditelnosti More... | |
bool | HasMaxVisibleDistance (void) |
ma model nastavenu maximalni vzdalenost viditelnosti More... | |
bool | HasPositionSet (void) |
ma model nastavenu pozici More... | |
Additional Inherited Members | |
Public Attributes inherited from ArtificialWorld::Model | |
osg::ref_ptr< EnvironmentObject > | Geometry |
nahrana geometrie modelu, pokud je prave zobrazovan, jinak NULL More... | |
Protected Attributes inherited from ArtificialWorld::Model | |
ModelFlags | modelFlags |
flagy modelu More... | |
unsigned long | maxVisibleDistance |
maximalni vzdalenost, pri niz je model viditelny More... | |
unsigned long | minVisibleDistance |
minimalni vzdalenost, pri niz je model viditelny More... | |
osg::Vec3 | position |
pozice More... | |
osg::Quat | rotation |
rotace More... | |
osg::Vec3 | scale |
zvetseni More... | |
string | fileName |
jmeno souboru, v nemz je model ulozen More... | |
ModelType | modelType |
typ modelu More... | |
bool | hasMinDistance |
ma nastavenu minimalni vzdalenost More... | |
bool | hasMaxDistance |
ma nastavenu maximalni vzdalenost More... | |
bool | hasPositionSet |
ma nastavenu pozici More... | |
Uchovava informace o animovanem Cal3D modelu, stejne jako Model, navic cislo animace, ktera se ma spustit.
|
inline |
|
inline |
vrati cislo animace
|
inline |
nastavi cislo animace