Class that communicates with the physics visual debugger program.
Holds utility methods to easily display stuff such as arrow and text in the debugger.
- Copyright
- (C) 2013-2020 Individual contributors, see AUTHORS file
|
| | VisualDebugger () |
| | constructor
|
| |
| virtual | ~VisualDebugger () |
| | destructor
|
| |
| virtual void | OnStep () |
| | do one step
|
| |
| virtual void | Initialize (Scene *s) |
| | initialize debugger connection
|
| |
| void | SetSimulationFrameTime (float time) |
| | set how much time that should pass each step
|
| |
| float | SetSimulationFrameTime () const |
| | get how much time that should pass each step
|
| |
| void | DrawTimedArrow (const Math::point &p, const Math::vector &dir, uint numSteps, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw an arrow during a number of steps
|
| |
| void | DrawTimedLine (const Math::point &p, const Math::vector &dir, uint numSteps, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw a line during a number of steps
|
| |
| void | DrawTimedPlane (const Math::point &p, const Math::vector &dir, float scale, uint numSteps, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw a plane during a number of steps
|
| |
| void | DrawTimedText (const Math::point &p, const Util::String &text, uint numSteps, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw text during a number of steps
|
| |
| void | DrawTimedAABB (const Math::bbox &bbox, uint numSteps, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw an AABB during a number of steps
|
| |
| virtual void | SetCameraView (const Math::mat4 &viewMatrix) |
| | set the camera view
|
| |
| virtual void | DrawArrow (const Math::point &p, const Math::vector &dir, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw an arrow
|
| |
| virtual void | DrawLine (const Math::point &p, const Math::vector &dir, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw a line
|
| |
| virtual void | DrawPlane (const Math::point &p, const Math::vector &dir, float scale, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw a plane
|
| |
| virtual void | DrawText (const Math::point &p, const Util::String &text, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw text
|
| |
| virtual void | DrawAABB (const Math::bbox &bbox, const Math::vec4 &color=Math::vec4(1, 1, 1, 1)) |
| | draw an AABB
|
| |