Flair
Framework Libre Air
flair::simulator::Gui Class Reference
+ Inheritance diagram for flair::simulator::Gui:

Public Member Functions

 Gui (std::string name, int app_width, int app_height, int scene_width, int scene_height, std::string media_path, irr::video::E_DRIVER_TYPE driver_type=irr::video::EDT_OPENGL)
 
irr::core::vector3df getRotation (void) const
 
irr::video::ITexture * getTexture (std::string filename) const
 
irr::scene::IAnimatedMesh * getMesh (std::string filename) const
 
irr::scene::ISceneManager * getSceneManager (void) const
 
irr::IrrlichtDevice * getDevice (void) const
 
float getAspectRatio (void) const
 
- Public Member Functions inherited from flair::core::Object
 Object (const Object *parent=NULL, std::string name="", std::string type="")
 Constructor. More...
 
virtual ~Object ()
 Destructor. More...
 
std::string ObjectName (void) const
 Name. More...
 
std::string ObjectType (void) const
 Type. More...
 
const ObjectParent (void) const
 Parent. More...
 
std::vector< const Object * > * TypeChilds (void) const
 Childs of the same type. More...
 
std::vector< const Object * > * Childs (void) const
 Childs. More...
 
void Information (const char *function, int line, const char *format,...) const
 Formatted information. More...
 
void Warning (const char *function, const char *format,...) const
 Formatted warning. More...
 
void Error (const char *function, const char *format,...) const
 Formatted error. More...
 
bool ErrorOccured (bool recursive=true) const
 Has an errror occured? More...
 

Protected Member Functions

void setMesh (std::string file, irr::core::vector3df position=irr::core::vector3df(0, 0, 0), irr::core::vector3df rotation=irr::core::vector3df(0, 0, 0), irr::core::vector3df scale=irr::core::vector3df(1, 1, 1))
 

Additional Inherited Members

- Public Types inherited from flair::core::Object
enum  color_t { Auto = 0, Red = 31, Green = 32, Orange = 33 }