i6engine  1.0
i6e::modules::Debug Class Reference

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/modules/graphics/Debug.h>

Public Member Functions

 Debug (Ogre::SceneManager *_sceneManager, float _fillAlpha)
 
 ~Debug ()
 
void build ()
 
void drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour)
 
void drawCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, bool isFilled=false)
 
void drawCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, bool isFilled=false)
 
void drawQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, bool isFilled=false)
 
void drawCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, bool isFilled=false)
 
void drawSphere (const Ogre::Vector3 &centre, float radius, const Ogre::ColourValue &colour, bool isFilled=false)
 
bool getEnabled ()
 
void setEnabled (bool _isEnabled)
 
void switchEnabled ()
 
void clear ()
 

Static Public Member Functions

static DebuggetSingleton (void)
 
static DebuggetSingletonPtr (void)
 

Detailed Description

Definition at line 84 of file Debug.h.

Constructor & Destructor Documentation

i6e::modules::Debug::Debug ( Ogre::SceneManager *  _sceneManager,
float  _fillAlpha 
)
i6e::modules::Debug::~Debug ( )

Member Function Documentation

void i6e::modules::Debug::build ( )
void i6e::modules::Debug::clear ( )
void i6e::modules::Debug::drawCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)
void i6e::modules::Debug::drawCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)
void i6e::modules::Debug::drawCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)
void i6e::modules::Debug::drawLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour 
)
void i6e::modules::Debug::drawQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)
void i6e::modules::Debug::drawSphere ( const Ogre::Vector3 &  centre,
float  radius,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)
bool i6e::modules::Debug::getEnabled ( )
inline

Definition at line 101 of file Debug.h.

static Debug& i6e::modules::Debug::getSingleton ( void  )
static
static Debug* i6e::modules::Debug::getSingletonPtr ( void  )
static
void i6e::modules::Debug::setEnabled ( bool  _isEnabled)
inline

Definition at line 102 of file Debug.h.

void i6e::modules::Debug::switchEnabled ( )
inline

Definition at line 103 of file Debug.h.


The documentation for this class was generated from the following file: