|
| | DebugDrawer (Ogre::SceneManager *_sceneManager, float _fillAlpha) |
| |
| | ~DebugDrawer () |
| |
| void | build () |
| |
| void | clear () |
| |
| void | drawCircle (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| void | drawCone (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, float height, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| void | drawCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| void | drawCylinder (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, float height, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| void | drawLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour) |
| |
| void | drawQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| void | drawSphere (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| void | drawTetrahedron (const Ogre::Vector3 ¢re, float scale, const Ogre::ColourValue &colour, bool isFilled=false) |
| |
| bool | getEnabled () |
| |
| void | setEnabled (bool _isEnabled) |
| |
| void | setFillAlpha (float alpha) |
| |
| void | switchEnabled () |
| |
|
| void | addLineIndices (int index1, int index2) |
| |
| int | addLineVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour) |
| |
| void | addQuadIndices (int index1, int index2, int index3, int index4) |
| |
| void | addTriangleIndices (int index1, int index2, int index3) |
| |
| int | addTriangleVertex (const Ogre::Vector3 &vertex, const Ogre::ColourValue &colour) |
| |
| void | buildCircle (const Ogre::Matrix4 &transform, float radius, int segmentsCount, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildCone (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildCylinder (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildFilledCircle (const Ogre::Matrix4 &transform, float radius, int segmentsCount, const Ogre::ColourValue &colour, bool up, float alpha=1.0f) |
| |
| void | buildFilledCone (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildFilledCuboid (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildFilledCylinder (const Ogre::Vector3 ¢re, const Ogre::Quaternion &rotation, float radius, int segmentsCount, float height, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildFilledQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildFilledTetrahedron (const Ogre::Vector3 ¢re, float scale, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildFilledTriangle (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildLine (const Ogre::Vector3 &start, const Ogre::Vector3 &end, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildQuad (const Ogre::Vector3 *vertices, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| void | buildTetrahedron (const Ogre::Vector3 ¢re, float scale, const Ogre::ColourValue &colour, float alpha=1.0f) |
| |
| const IcoSphere & | getIcoSphere (float radius) const |
| |
| void | initialise () |
| |
| void | shutdown () |
| |
DebugDrawer is a utility to draw debug shapes (lines, triangles, spheres) with Ogre.
This utility is e.g. used by orxonox::BulletDebugDrawer to visualize collision shapes and other physical entities.