OgreGFX::DebugDrawer Class Reference

#include <DebugDrawer.h>

List of all members.

Public Member Functions

 DebugDrawer (Ogre::SceneManager *_sceneManager, float _fillAlpha)
 ~DebugDrawer ()
void build ()
void setIcoSphereRecursionLevel (int recursionLevel)
void drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour)
void drawAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, 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)
void drawTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, bool isFilled=false)
bool getEnabled ()
void setEnabled (bool _isEnabled)
void switchEnabled ()
void clear ()
 DebugDrawer (Ogre::SceneManager *_sceneManager, float _fillAlpha)
 ~DebugDrawer ()
void build ()
void setIcoSphereRecursionLevel (int recursionLevel)
void drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour)
void drawAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, 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)
void drawTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, bool isFilled=false)
bool getEnabled ()
void setEnabled (bool _isEnabled)
void switchEnabled ()
void clear ()
 DebugDrawer (Ogre::SceneManager *_sceneManager, float _fillAlpha)
 ~DebugDrawer ()
void build ()
void setIcoSphereRecursionLevel (int recursionLevel)
void drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour)
void drawAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, 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)
void drawTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, bool isFilled=false)
bool getEnabled ()
void setEnabled (bool _isEnabled)
void switchEnabled ()
void clear ()
 DebugDrawer (Ogre::SceneManager *_sceneManager, float _fillAlpha)
 ~DebugDrawer ()
void build ()
void setIcoSphereRecursionLevel (int recursionLevel)
void drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour)
void drawAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, 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)
void drawTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, bool isFilled=false)
bool getEnabled ()
void setEnabled (bool _isEnabled)
void switchEnabled ()
void clear ()
 DebugDrawer (Ogre::SceneManager *_sceneManager, float _fillAlpha)
 ~DebugDrawer ()
void build ()
void setIcoSphereRecursionLevel (int recursionLevel)
void drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour)
void drawAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, 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)
void drawTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, bool isFilled=false)
bool getEnabled ()
void setEnabled (bool _isEnabled)
void switchEnabled ()
void clear ()

Static Public Member Functions

static DebugDrawergetSingleton (void)
static DebugDrawergetSingletonPtr (void)
static DebugDrawergetSingleton (void)
static DebugDrawergetSingletonPtr (void)
static DebugDrawergetSingleton (void)
static DebugDrawergetSingletonPtr (void)
static DebugDrawergetSingleton (void)
static DebugDrawergetSingletonPtr (void)
static DebugDrawergetSingleton (void)
static DebugDrawergetSingletonPtr (void)

Private Member Functions

void initialise ()
void shutdown ()
void buildLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTriangle (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
int addLineVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addLineIndices (int index1, int index2)
int addTriangleVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addTriangleIndices (int index1, int index2, int index3)
void addQuadIndices (int index1, int index2, int index3, int index4)
void initialise ()
void shutdown ()
void buildLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTriangle (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
int addLineVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addLineIndices (int index1, int index2)
int addTriangleVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addTriangleIndices (int index1, int index2, int index3)
void addQuadIndices (int index1, int index2, int index3, int index4)
void initialise ()
void shutdown ()
void buildLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTriangle (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
int addLineVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addLineIndices (int index1, int index2)
int addTriangleVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addTriangleIndices (int index1, int index2, int index3)
void addQuadIndices (int index1, int index2, int index3, int index4)
void initialise ()
void shutdown ()
void buildLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTriangle (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
int addLineVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addLineIndices (int index1, int index2)
int addTriangleVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addTriangleIndices (int index1, int index2, int index3)
void addQuadIndices (int index1, int index2, int index3, int index4)
void initialise ()
void shutdown ()
void buildLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildAngleLine (const Ogre::Vector3 &start, const Ogre::Radian &angle, float length, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTriangle (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCircle (const Ogre::Vector3 &centre, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledCylinder (const Ogre::Vector3 &centre, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
void buildFilledTetrahedron (const Ogre::Vector3 &centre, float scale, const Ogre::ColourValue &colour, float alpha=1.0f)
int addLineVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addLineIndices (int index1, int index2)
int addTriangleVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour)
void addTriangleIndices (int index1, int index2, int index3)
void addQuadIndices (int index1, int index2, int index3, int index4)

Private Attributes

bool isEnabled
Ogre::SceneManager * sceneManager
float fillAlpha
Ogre::ManualObject * manualObject
IcoSphere icoSphere
std::list< VertexPairlineVertices
std::list< VertexPairtriangleVertices
std::list< int > lineIndices
std::list< int > triangleIndices
int linesIndex
int trianglesIndex
Ogre::SceneManager * sceneManager
Ogre::ManualObject * manualObject
std::list< VertexPairlineVertices
std::list< VertexPairtriangleVertices
std::list< int > lineIndices
std::list< int > triangleIndices
Ogre::SceneManager * sceneManager
Ogre::ManualObject * manualObject
std::list< VertexPairlineVertices
std::list< VertexPairtriangleVertices
std::list< int > lineIndices
std::list< int > triangleIndices
Ogre::SceneManager * sceneManager
Ogre::ManualObject * manualObject
std::list< VertexPairlineVertices
std::list< VertexPairtriangleVertices
std::list< int > lineIndices
std::list< int > triangleIndices
Ogre::SceneManager * sceneManager
Ogre::ManualObject * manualObject
std::list< VertexPairlineVertices
std::list< VertexPairtriangleVertices
std::list< int > lineIndices
std::list< int > triangleIndices


Detailed Description

Definition at line 70 of file DebugDrawer.h.


Constructor & Destructor Documentation

DebugDrawer::DebugDrawer ( Ogre::SceneManager *  _sceneManager,
float  _fillAlpha 
)

Definition at line 238 of file DebugDrawer.cpp.

References initialise().

DebugDrawer::~DebugDrawer (  ) 

Definition at line 244 of file DebugDrawer.cpp.

References shutdown().

OgreGFX::DebugDrawer::DebugDrawer ( Ogre::SceneManager *  _sceneManager,
float  _fillAlpha 
)

OgreGFX::DebugDrawer::~DebugDrawer (  ) 

OgreGFX::DebugDrawer::DebugDrawer ( Ogre::SceneManager *  _sceneManager,
float  _fillAlpha 
)

OgreGFX::DebugDrawer::~DebugDrawer (  ) 

OgreGFX::DebugDrawer::DebugDrawer ( Ogre::SceneManager *  _sceneManager,
float  _fillAlpha 
)

OgreGFX::DebugDrawer::~DebugDrawer (  ) 

OgreGFX::DebugDrawer::DebugDrawer ( Ogre::SceneManager *  _sceneManager,
float  _fillAlpha 
)

OgreGFX::DebugDrawer::~DebugDrawer (  ) 


Member Function Documentation

DebugDrawer & DebugDrawer::getSingleton ( void   )  [static]

Definition at line 232 of file DebugDrawer.cpp.

Referenced by OgreGFX::UIMgr::DebugDrawTest(), OgreGFX::UIMgr::decorateSelectedEntities(), and OgreGFX::UIMgr::drawUnderMouseCircle().

DebugDrawer * DebugDrawer::getSingletonPtr ( void   )  [static]

Definition at line 227 of file DebugDrawer.cpp.

Referenced by OgreGFX::UIMgr::frameEnded(), OgreGFX::UIMgr::frameStarted(), and OgreGFX::UIMgr::kill().

void DebugDrawer::build (  ) 

Definition at line 648 of file DebugDrawer.cpp.

References fillAlpha, isEnabled, lineIndices, lineVertices, manualObject, triangleIndices, and triangleVertices.

Referenced by OgreGFX::UIMgr::frameStarted().

void DebugDrawer::setIcoSphereRecursionLevel ( int  recursionLevel  ) 

Definition at line 274 of file DebugDrawer.cpp.

References OgreGFX::IcoSphere::create(), and icoSphere.

void DebugDrawer::drawLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour 
)

Definition at line 570 of file DebugDrawer.cpp.

References buildLine().

Referenced by OgreGFX::UIMgr::decorateSelectedEntities().

void DebugDrawer::drawAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour 
)

Definition at line 577 of file DebugDrawer.cpp.

References buildAngleLine().

Referenced by OgreGFX::UIMgr::decorateSelectedEntities().

void DebugDrawer::drawCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

Definition at line 585 of file DebugDrawer.cpp.

References buildCircle(), buildFilledCircle(), and fillAlpha.

Referenced by OgreGFX::UIMgr::decorateSelectedEntities(), and OgreGFX::UIMgr::drawUnderMouseCircle().

void DebugDrawer::drawCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

Definition at line 595 of file DebugDrawer.cpp.

References buildCylinder(), buildFilledCylinder(), and fillAlpha.

void DebugDrawer::drawQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

Definition at line 606 of file DebugDrawer.cpp.

References buildFilledQuad(), buildQuad(), and fillAlpha.

void DebugDrawer::drawCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

Definition at line 614 of file DebugDrawer.cpp.

References buildCuboid(), buildFilledCuboid(), and fillAlpha.

Referenced by OgreGFX::UIMgr::DebugDrawTest().

void DebugDrawer::drawSphere ( const Ogre::Vector3 &  centre,
float  radius,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

Definition at line 622 of file DebugDrawer.cpp.

References OgreGFX::IcoSphere::addToLineIndices(), OgreGFX::IcoSphere::addToTriangleIndices(), OgreGFX::IcoSphere::addToVertices(), fillAlpha, icoSphere, lineIndices, linesIndex, lineVertices, triangleIndices, trianglesIndex, and triangleVertices.

void DebugDrawer::drawTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

Definition at line 639 of file DebugDrawer.cpp.

References buildFilledTetrahedron(), buildTetrahedron(), and fillAlpha.

bool OgreGFX::DebugDrawer::getEnabled (  )  [inline]

Definition at line 92 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::setEnabled ( bool  _isEnabled  )  [inline]

Definition at line 93 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::switchEnabled (  )  [inline]

Definition at line 94 of file DebugDrawer.h.

References isEnabled.

void DebugDrawer::clear (  ) 

Definition at line 681 of file DebugDrawer.cpp.

References lineIndices, linesIndex, lineVertices, triangleIndices, trianglesIndex, and triangleVertices.

Referenced by OgreGFX::UIMgr::frameEnded().

void DebugDrawer::initialise (  )  [private]

Definition at line 249 of file DebugDrawer.cpp.

References OgreGFX::IcoSphere::create(), DEFAULT_ICOSPHERE_RECURSION_LEVEL, OgreGFX::ENT_VISIBILITY_FLAG, icoSphere, linesIndex, manualObject, sceneManager, and trianglesIndex.

Referenced by DebugDrawer().

void DebugDrawer::shutdown (  )  [private]

Definition at line 279 of file DebugDrawer.cpp.

References manualObject, and sceneManager.

Referenced by ~DebugDrawer().

void DebugDrawer::buildLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 285 of file DebugDrawer.cpp.

References addLineIndices(), and addLineVertex().

Referenced by buildAngleLine(), and drawLine().

void DebugDrawer::buildAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 296 of file DebugDrawer.cpp.

References buildLine().

Referenced by drawAngleLine().

void DebugDrawer::buildQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 309 of file DebugDrawer.cpp.

References addLineIndices(), and addLineVertex().

Referenced by drawQuad().

void DebugDrawer::buildFilledQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 485 of file DebugDrawer.cpp.

References addQuadIndices(), and addTriangleVertex().

Referenced by drawQuad().

void DebugDrawer::buildFilledTriangle ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 497 of file DebugDrawer.cpp.

References addTriangleIndices(), and addTriangleVertex().

void DebugDrawer::buildCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 453 of file DebugDrawer.cpp.

References addLineIndices(), and addLineVertex().

Referenced by drawCuboid().

void DebugDrawer::buildFilledCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 468 of file DebugDrawer.cpp.

References addQuadIndices(), and addTriangleVertex().

Referenced by drawCuboid().

void DebugDrawer::buildCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 321 of file DebugDrawer.cpp.

References addLineIndices(), addLineVertex(), and linesIndex.

Referenced by drawCircle().

void DebugDrawer::buildFilledCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 342 of file DebugDrawer.cpp.

References addTriangleIndices(), addTriangleVertex(), and trianglesIndex.

Referenced by drawCircle().

void DebugDrawer::buildCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 365 of file DebugDrawer.cpp.

References addLineIndices(), addLineVertex(), and linesIndex.

Referenced by drawCylinder().

void DebugDrawer::buildFilledCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 402 of file DebugDrawer.cpp.

References addQuadIndices(), addTriangleIndices(), addTriangleVertex(), and trianglesIndex.

Referenced by drawCylinder().

void DebugDrawer::buildTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 508 of file DebugDrawer.cpp.

References addLineIndices(), addLineVertex(), and linesIndex.

Referenced by drawTetrahedron().

void DebugDrawer::buildFilledTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

Definition at line 540 of file DebugDrawer.cpp.

References addTriangleIndices(), addTriangleVertex(), and trianglesIndex.

Referenced by drawTetrahedron().

int DebugDrawer::addLineVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

Definition at line 690 of file DebugDrawer.cpp.

References linesIndex, and lineVertices.

Referenced by buildCircle(), buildCuboid(), buildCylinder(), buildLine(), buildQuad(), and buildTetrahedron().

void DebugDrawer::addLineIndices ( int  index1,
int  index2 
) [private]

Definition at line 696 of file DebugDrawer.cpp.

References lineIndices.

Referenced by buildCircle(), buildCuboid(), buildCylinder(), buildLine(), buildQuad(), and buildTetrahedron().

int DebugDrawer::addTriangleVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

Definition at line 702 of file DebugDrawer.cpp.

References trianglesIndex, and triangleVertices.

Referenced by buildFilledCircle(), buildFilledCuboid(), buildFilledCylinder(), buildFilledQuad(), buildFilledTetrahedron(), and buildFilledTriangle().

void DebugDrawer::addTriangleIndices ( int  index1,
int  index2,
int  index3 
) [private]

Definition at line 708 of file DebugDrawer.cpp.

References triangleIndices.

Referenced by buildFilledCircle(), buildFilledCylinder(), buildFilledTetrahedron(), and buildFilledTriangle().

void DebugDrawer::addQuadIndices ( int  index1,
int  index2,
int  index3,
int  index4 
) [private]

Definition at line 715 of file DebugDrawer.cpp.

References triangleIndices.

Referenced by buildFilledCuboid(), buildFilledCylinder(), and buildFilledQuad().

static DebugDrawer& OgreGFX::DebugDrawer::getSingleton ( void   )  [static]

static DebugDrawer* OgreGFX::DebugDrawer::getSingletonPtr ( void   )  [static]

void OgreGFX::DebugDrawer::build (  ) 

void OgreGFX::DebugDrawer::setIcoSphereRecursionLevel ( int  recursionLevel  ) 

void OgreGFX::DebugDrawer::drawLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawSphere ( const Ogre::Vector3 &  centre,
float  radius,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

bool OgreGFX::DebugDrawer::getEnabled (  )  [inline]

Definition at line 92 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::setEnabled ( bool  _isEnabled  )  [inline]

Definition at line 93 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::switchEnabled (  )  [inline]

Definition at line 94 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::clear (  ) 

void OgreGFX::DebugDrawer::initialise (  )  [private]

void OgreGFX::DebugDrawer::shutdown (  )  [private]

void OgreGFX::DebugDrawer::buildLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTriangle ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

int OgreGFX::DebugDrawer::addLineVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addLineIndices ( int  index1,
int  index2 
) [private]

int OgreGFX::DebugDrawer::addTriangleVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addTriangleIndices ( int  index1,
int  index2,
int  index3 
) [private]

void OgreGFX::DebugDrawer::addQuadIndices ( int  index1,
int  index2,
int  index3,
int  index4 
) [private]

static DebugDrawer& OgreGFX::DebugDrawer::getSingleton ( void   )  [static]

static DebugDrawer* OgreGFX::DebugDrawer::getSingletonPtr ( void   )  [static]

void OgreGFX::DebugDrawer::build (  ) 

void OgreGFX::DebugDrawer::setIcoSphereRecursionLevel ( int  recursionLevel  ) 

void OgreGFX::DebugDrawer::drawLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawSphere ( const Ogre::Vector3 &  centre,
float  radius,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

bool OgreGFX::DebugDrawer::getEnabled (  )  [inline]

Definition at line 92 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::setEnabled ( bool  _isEnabled  )  [inline]

Definition at line 93 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::switchEnabled (  )  [inline]

Definition at line 94 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::clear (  ) 

void OgreGFX::DebugDrawer::initialise (  )  [private]

void OgreGFX::DebugDrawer::shutdown (  )  [private]

void OgreGFX::DebugDrawer::buildLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTriangle ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

int OgreGFX::DebugDrawer::addLineVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addLineIndices ( int  index1,
int  index2 
) [private]

int OgreGFX::DebugDrawer::addTriangleVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addTriangleIndices ( int  index1,
int  index2,
int  index3 
) [private]

void OgreGFX::DebugDrawer::addQuadIndices ( int  index1,
int  index2,
int  index3,
int  index4 
) [private]

static DebugDrawer& OgreGFX::DebugDrawer::getSingleton ( void   )  [static]

static DebugDrawer* OgreGFX::DebugDrawer::getSingletonPtr ( void   )  [static]

void OgreGFX::DebugDrawer::build (  ) 

void OgreGFX::DebugDrawer::setIcoSphereRecursionLevel ( int  recursionLevel  ) 

void OgreGFX::DebugDrawer::drawLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawSphere ( const Ogre::Vector3 &  centre,
float  radius,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

bool OgreGFX::DebugDrawer::getEnabled (  )  [inline]

Definition at line 92 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::setEnabled ( bool  _isEnabled  )  [inline]

Definition at line 93 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::switchEnabled (  )  [inline]

Definition at line 94 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::clear (  ) 

void OgreGFX::DebugDrawer::initialise (  )  [private]

void OgreGFX::DebugDrawer::shutdown (  )  [private]

void OgreGFX::DebugDrawer::buildLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTriangle ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

int OgreGFX::DebugDrawer::addLineVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addLineIndices ( int  index1,
int  index2 
) [private]

int OgreGFX::DebugDrawer::addTriangleVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addTriangleIndices ( int  index1,
int  index2,
int  index3 
) [private]

void OgreGFX::DebugDrawer::addQuadIndices ( int  index1,
int  index2,
int  index3,
int  index4 
) [private]

static DebugDrawer& OgreGFX::DebugDrawer::getSingleton ( void   )  [static]

static DebugDrawer* OgreGFX::DebugDrawer::getSingletonPtr ( void   )  [static]

void OgreGFX::DebugDrawer::build (  ) 

void OgreGFX::DebugDrawer::setIcoSphereRecursionLevel ( int  recursionLevel  ) 

void OgreGFX::DebugDrawer::drawLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour 
)

void OgreGFX::DebugDrawer::drawCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawSphere ( const Ogre::Vector3 &  centre,
float  radius,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

void OgreGFX::DebugDrawer::drawTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
bool  isFilled = false 
)

bool OgreGFX::DebugDrawer::getEnabled (  )  [inline]

Definition at line 92 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::setEnabled ( bool  _isEnabled  )  [inline]

Definition at line 93 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::switchEnabled (  )  [inline]

Definition at line 94 of file DebugDrawer.h.

References isEnabled.

void OgreGFX::DebugDrawer::clear (  ) 

void OgreGFX::DebugDrawer::initialise (  )  [private]

void OgreGFX::DebugDrawer::shutdown (  )  [private]

void OgreGFX::DebugDrawer::buildLine ( const Ogre::Vector3 &  start,
const Ogre::Vector3 &  end,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildAngleLine ( const Ogre::Vector3 &  start,
const Ogre::Radian &  angle,
float  length,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledQuad ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTriangle ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCuboid ( const Ogre::Vector3 *  vertices,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCircle ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledCylinder ( const Ogre::Vector3 &  centre,
float  radius,
int  segmentsCount,
float  height,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

void OgreGFX::DebugDrawer::buildFilledTetrahedron ( const Ogre::Vector3 &  centre,
float  scale,
const Ogre::ColourValue &  colour,
float  alpha = 1.0f 
) [private]

int OgreGFX::DebugDrawer::addLineVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addLineIndices ( int  index1,
int  index2 
) [private]

int OgreGFX::DebugDrawer::addTriangleVertex ( const Ogre::Vector3 &  vertex,
const Ogre::ColourValue &  colour 
) [private]

void OgreGFX::DebugDrawer::addTriangleIndices ( int  index1,
int  index2,
int  index3 
) [private]

void OgreGFX::DebugDrawer::addQuadIndices ( int  index1,
int  index2,
int  index3,
int  index4 
) [private]


Member Data Documentation

bool OgreGFX::DebugDrawer::isEnabled [private]

Definition at line 99 of file DebugDrawer.h.

Referenced by build(), getEnabled(), setEnabled(), and switchEnabled().

Ogre::SceneManager* OgreGFX::DebugDrawer::sceneManager [private]

Definition at line 100 of file DebugDrawer.h.

Referenced by initialise(), and shutdown().

float OgreGFX::DebugDrawer::fillAlpha [private]

Definition at line 101 of file DebugDrawer.h.

Referenced by build(), drawCircle(), drawCuboid(), drawCylinder(), drawQuad(), drawSphere(), and drawTetrahedron().

Ogre::ManualObject* OgreGFX::DebugDrawer::manualObject [private]

Definition at line 103 of file DebugDrawer.h.

Referenced by build(), initialise(), and shutdown().

IcoSphere OgreGFX::DebugDrawer::icoSphere [private]

Definition at line 105 of file DebugDrawer.h.

Referenced by drawSphere(), initialise(), and setIcoSphereRecursionLevel().

std::list<VertexPair> OgreGFX::DebugDrawer::lineVertices [private]

Definition at line 109 of file DebugDrawer.h.

Referenced by addLineVertex(), build(), clear(), and drawSphere().

std::list<VertexPair> OgreGFX::DebugDrawer::triangleVertices [private]

Definition at line 109 of file DebugDrawer.h.

Referenced by addTriangleVertex(), build(), clear(), and drawSphere().

std::list<int> OgreGFX::DebugDrawer::lineIndices [private]

Definition at line 110 of file DebugDrawer.h.

Referenced by addLineIndices(), build(), clear(), and drawSphere().

std::list<int> OgreGFX::DebugDrawer::triangleIndices [private]

Definition at line 110 of file DebugDrawer.h.

Referenced by addQuadIndices(), addTriangleIndices(), build(), clear(), and drawSphere().

int OgreGFX::DebugDrawer::linesIndex [private]

Definition at line 112 of file DebugDrawer.h.

Referenced by addLineVertex(), buildCircle(), buildCylinder(), buildTetrahedron(), clear(), drawSphere(), and initialise().

int OgreGFX::DebugDrawer::trianglesIndex [private]

Definition at line 112 of file DebugDrawer.h.

Referenced by addTriangleVertex(), buildFilledCircle(), buildFilledCylinder(), buildFilledTetrahedron(), clear(), drawSphere(), and initialise().

Ogre::SceneManager* OgreGFX::DebugDrawer::sceneManager [private]

Definition at line 100 of file DebugDrawer.h.

Ogre::ManualObject* OgreGFX::DebugDrawer::manualObject [private]

Definition at line 103 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::lineVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::triangleVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::lineIndices [private]

Definition at line 110 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::triangleIndices [private]

Definition at line 110 of file DebugDrawer.h.

Ogre::SceneManager* OgreGFX::DebugDrawer::sceneManager [private]

Definition at line 100 of file DebugDrawer.h.

Ogre::ManualObject* OgreGFX::DebugDrawer::manualObject [private]

Definition at line 103 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::lineVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::triangleVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::lineIndices [private]

Definition at line 110 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::triangleIndices [private]

Definition at line 110 of file DebugDrawer.h.

Ogre::SceneManager* OgreGFX::DebugDrawer::sceneManager [private]

Definition at line 100 of file DebugDrawer.h.

Ogre::ManualObject* OgreGFX::DebugDrawer::manualObject [private]

Definition at line 103 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::lineVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::triangleVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::lineIndices [private]

Definition at line 110 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::triangleIndices [private]

Definition at line 110 of file DebugDrawer.h.

Ogre::SceneManager* OgreGFX::DebugDrawer::sceneManager [private]

Definition at line 100 of file DebugDrawer.h.

Ogre::ManualObject* OgreGFX::DebugDrawer::manualObject [private]

Definition at line 103 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::lineVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<VertexPair> OgreGFX::DebugDrawer::triangleVertices [private]

Definition at line 109 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::lineIndices [private]

Definition at line 110 of file DebugDrawer.h.

std::list<int> OgreGFX::DebugDrawer::triangleIndices [private]

Definition at line 110 of file DebugDrawer.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:22 2013 for FastECSLent by  doxygen 1.5.4