|
Public Types |
| typedef Int | Attributes |
| typedef Int | VisualType |
| enum | AttributeFlags {
ShowAxes = 1,
ShowBounds = 2,
ShowCollisions = 4,
ShowCollisionModel = 8,
ShowCollisionDetection = 16,
ShowEdges = 32,
ShowNormals = 64,
VerticesOnly = 128
} |
Public Member Functions |
| | VisualDebugUtil () |
| virtual | ~VisualDebugUtil () |
| virtual String | className () const |
| virtual bool | visualTypeSupported (VisualType type) const |
| virtual osg::Node * | createOSGVisual (Attributes visualAttributes=0) const |
| virtual osg::Node * | createOSGVisual (Visual::Attributes visualAttributes=0) const |
| virtual bool | isSameKindAs (const Object &) const |
Static Public Member Functions |
| void | addDebugObject (ref< const Shape > shape, const String &name, base::Transform worldConfiguration, const gfx::Color4 &color=gfx::Color4("lime green")) |
| void | addDebugBoxObject (base::Dimension3 dimensions, const String &name, base::Transform worldConfiguration, const gfx::Color4 &color=gfx::Color4("lime green")) |
| void | addDebugSphereObject (Real radius, const String &name, base::Transform worldConfiguration, const gfx::Color4 &color=gfx::Color4("lime green")) |
| void | addDebugCylinderObject (Real height, Real radius, const String &name, base::Transform worldConfiguration, const gfx::Color4 &color=gfx::Color4("lime green")) |
| void | addDebugCapsuleObject (Real height, Real radius, const String &name, base::Transform worldConfiguration, const gfx::Color4 &color=gfx::Color4("lime green")) |
| void | setConfiguration (const String &name, const base::Transform &configuration) |
| void | setColor (const String &name, const gfx::Color4 &color) |
| void | setColorAll (gfx::Color4 &color) |
| void | updateVisual () |
Static Public Attributes |
| const Int | OSGVisual = 1 |
Protected Types |
typedef std::map< String,
DebugObjectData > | ObjectMap |
Static Protected Attributes |
| ObjectMap | debugObjects |
| Visual::Attributes | attributes |
| ref_ptr< osg::Group > | node |