Flair
Framework Libre Air
flair::simulator Namespace Reference

Simulator classes More...

Classes

class  Blade
 
class  Castle
 
class  DiscreteTimeVariable
 
class  FixedCamera
 
class  Gui
 
class  Man
 
class  MeshSceneNode
 
class  Model
 
class  Parser
 
class  Simulator
 
class  VisualizationCamera
 
class  X4
 
class  X8
 

Functions

GuigetGui (void)
 get Gui More...
 
bool noGui (void)
 
bool isGlExtensionSupported (const std::string &ext)
 
float ToIrrlichtScale (float value)
 Convert to irrlicht scale. More...
 
float ToSimulatorScale (float value)
 Convert to simulator scale. More...
 
irr::core::vector3df ToIrrlichtCoordinates (irr::core::vector3df vect)
 Convert to irrlicht coordinates. More...
 
template<typename T >
irr::core::vector3df ToIrrlichtCoordinates (core::Vector3D< T > vect)
 Convert to irrlicht coordinates. More...
 
core::Vector3Df ToSimulatorCoordinates (irr::core::vector3df vect)
 Convert to simulator coordinates. More...
 
core::Quaternion ToIrrlichtOrientation (core::Quaternion quat)
 Convert to irrlicht orientation. More...
 
SimulatorgetSimulator (void)
 get Simulator More...
 

Detailed Description

Simulator classes

Function Documentation

Gui* flair::simulator::getGui ( void  )

get Gui

Returns
the Gui
float flair::simulator::ToIrrlichtScale ( float  value)

Convert to irrlicht scale.

Parameters
valuevalue in simulator scale
Returns
value in irrlicht scale
float flair::simulator::ToSimulatorScale ( float  value)

Convert to simulator scale.

Parameters
valuevalue in irrlicht scale
Returns
value in simulator scale
irr::core::vector3df flair::simulator::ToIrrlichtCoordinates ( irr::core::vector3df  vect)

Convert to irrlicht coordinates.

irrlicht is left handed and as a different scale

Parameters
vectvector in simulator coordinates
Returns
vector in irrlicht coordinates
template<typename T >
irr::core::vector3df flair::simulator::ToIrrlichtCoordinates ( core::Vector3D< T >  vect)

Convert to irrlicht coordinates.

irrlicht is left handed and as a different scale

Parameters
vectvector in simulator coordinates
Returns
vector in irrlicht coordinates
core::Vector3Df flair::simulator::ToSimulatorCoordinates ( irr::core::vector3df  vect)

Convert to simulator coordinates.

irrlicht is left handed and as a different scale

Parameters
vectvector in irrlicht coordinates
Returns
vector in simulator coordinates
core::Quaternion flair::simulator::ToIrrlichtOrientation ( core::Quaternion  quat)

Convert to irrlicht orientation.

irrlicht is left handed

Parameters
quatquaternion in simulator frame
Returns
quaternion in irrlicht frame
Simulator* flair::simulator::getSimulator ( void  )

get Simulator

Returns
the Simulator