|
VR-Engage
2.2
|
Renders a straight line between two points
#include <debugRenderCommands.h>
Public Member Functions | |
| DebugDrawLineCommand (const DtVector &start, const DtVector &end, const DtColor &c, bool clip, const double &time) | |
| virtual | ~DebugDrawLineCommand () override |
| virtual void | draw (DtDebugCanvas &canvas) override |
Public Member Functions inherited from makVre::DtDebugDrawCommand | |
| DtDebugDrawCommand (DtColor color, DtColor::Fill fill, bool clip, const double &time, bool is3D) | |
| virtual | ~DtDebugDrawCommand () |
| virtual void | reduceTime (double delta) |
| virtual bool | ended () |
| virtual bool | get3D () |
Protected Attributes | |
| DtVector | myStart |
| DtVector | myEnd |
Protected Attributes inherited from makVre::DtDebugDrawCommand | |
| DtVector | myEyepoint |
| DtColor | myColor |
| DtColor::Fill | myFill |
| double | myTime |
| bool | myClip |
| bool | my3D |
| makVre::DebugDrawLineCommand::DebugDrawLineCommand | ( | const DtVector & | start, |
| const DtVector & | end, | ||
| const DtColor & | c, | ||
| bool | clip, | ||
| const double & | time ) |
Constructor for line drawing command.
| start | Start point of the line |
| end | End point of the line |
| c | Color of the line |
| clip | Whether to clip the line against the view frustum |
| time | Duration in seconds for this command to remain active |
|
overridevirtual |
Virtual destructor.
|
overridevirtual |
Pure virtual draw method that must be implemented by derived classes.
| drawList | Canvas to draw the debug visual on |
Implements makVre::DtDebugDrawCommand.
|
protected |
|
protected |