40 bool clip,
const double& time);
45 virtual void draw(DtDebugCanvas& canvas)
override;
68 const DtVector& start,
const DtVector& end,
const DtColor& c,
DtColor::Fill fill,
bool clip,
const double& time);
73 virtual void draw(DtDebugCanvas& canvas)
override;
97 virtual void draw(DtDebugCanvas& canvas)
override;
117 const std::vector<DtVector>& points,
const DtColor& c,
DtColor::Fill fill,
bool clip,
const double& time);
122 virtual void draw(DtDebugCanvas& canvas)
override;
142 const DtVector& position,
const std::string& text,
const DtColor& c,
bool clip,
const double& time);
147 virtual void draw(DtDebugCanvas& canvas)
override;
170 virtual void draw(DtDebugCanvas& canvas)
override;
192 virtual void draw(DtDebugCanvas& canvas)
override;
236 virtual void draw(DtDebugCanvas& canvas)
override;
242 void addText(
const std::string& point,
bool scroll =
false);
DtVector myEnd
Definition debugRenderCommands.h:77
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
DtVector myStart
Definition debugRenderCommands.h:76
virtual ~DebugDrawCubeCommand() override
Virtual destructor.
DebugDrawCubeCommand(const DtVector &start, const DtVector &end, const DtColor &c, DtColor::Fill fill, bool clip, const double &time)
Constructor for cube drawing command.
std::string myName
Name of the graph.
Definition debugRenderCommands.h:208
DtVector myScreenPosition
Position of the graph on the screen.
Definition debugRenderCommands.h:218
double myMin
Minimum value in the graph.
Definition debugRenderCommands.h:214
std::vector< double > myPoints
Collection of data points to plot.
Definition debugRenderCommands.h:210
void addPoint(double point)
Adds a data point to the graph.
double myResetTime
Time at which the graph should reset.
Definition debugRenderCommands.h:206
static float theGraphSize()
Gets the default size of the graph.
Definition debugRenderCommands.h:202
const std::string & name()
Definition debugRenderCommands.h:194
int myCurrentPoint
Current point index.
Definition debugRenderCommands.h:212
DebugDrawGraphCommand(const std::string &name, const DtColor &c, const double &time)
Constructor for graph drawing command.
double myMax
Maximum value in the graph.
Definition debugRenderCommands.h:216
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
virtual ~DebugDrawGraphCommand() override
Virtual destructor.
void setScreenPosition(const DtVector &screenPos)
Definition debugRenderCommands.h:198
DebugDrawLineCommand(const DtVector &start, const DtVector &end, const DtColor &c, bool clip, const double &time)
Constructor for line drawing command.
DtVector myStart
Definition debugRenderCommands.h:100
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
DtVector myEnd
Definition debugRenderCommands.h:101
virtual ~DebugDrawLineCommand() override
Virtual destructor.
DebugDrawSphereCommand(const DtVector &position, const double &radius, const DtColor &c, DtColor::Fill fill, bool clip, const double &time)
Constructor for sphere drawing command.
DtVector myPosition
Center position of the sphere.
Definition debugRenderCommands.h:49
virtual ~DebugDrawSphereCommand() override
Virtual destructor.
double myRadius
Radius of the sphere.
Definition debugRenderCommands.h:51
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
DebugDrawText2dCommand(const DtVector &position, const std::string &text, const DtColor &c, const double &time)
Constructor for 2D text drawing command.
virtual ~DebugDrawText2dCommand() override
Virtual destructor.
DtVector myPosition
Definition debugRenderCommands.h:173
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
std::string myText
Definition debugRenderCommands.h:174
DebugDrawText3dCommand(const DtVector &position, const std::string &text, const DtColor &c, bool clip, const double &time)
Constructor for 3D text drawing command.
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
DtVector myPosition
Definition debugRenderCommands.h:150
std::string myText
Definition debugRenderCommands.h:151
virtual ~DebugDrawText3dCommand() override
Virtual destructor.
std::list< std::string > myText
Collection of text lines to display.
Definition debugRenderCommands.h:255
void setScreenPosition(const DtVector &screenPos)
Definition debugRenderCommands.h:243
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
int myCurrentText
Current text index.
Definition debugRenderCommands.h:257
const std::string & name()
Definition debugRenderCommands.h:238
DtVector myScreenPosition
Position of the panel on the screen.
Definition debugRenderCommands.h:259
DebugDrawTextPanelCommand(const std::string &name, const DtColor &c, const double &time)
Constructor for text panel drawing command.
virtual ~DebugDrawTextPanelCommand() override
Virtual destructor.
void addText(const std::string &point, bool scroll=false)
Adds a line of text to the panel.
double myResetTime
Time at which the panel should reset.
Definition debugRenderCommands.h:251
static float thePanelSize()
Gets the default size of the text panel.
Definition debugRenderCommands.h:247
std::string myName
Name of the text panel.
Definition debugRenderCommands.h:253
DebugDrawTrisCommand(const std::vector< DtVector > &points, const DtColor &c, DtColor::Fill fill, bool clip, const double &time)
Constructor for triangle drawing command.
virtual void draw(DtDebugCanvas &canvas) override
Pure virtual draw method that must be implemented by derived classes.
std::vector< DtVector > myPoints
List of triangle vertices.
Definition debugRenderCommands.h:126
virtual ~DebugDrawTrisCommand() override
Virtual destructor.
Class for representing and manipulating RGBA colors.
Definition color.h:22
Fill
Fill mode enumeration for rendering.
Definition color.h:26
DtDebugDrawCommand(DtColor color, DtColor::Fill fill, bool clip, const double &time, bool is3D)
Constructor for debug draw commands.
Definition debugRenderer.h:53
Contains the debug renderer class for the VREngage debug system.
Defines export macros for the VREngage Debug Manager library.
#define DEBUGMANAGER_DLL
Export/import macro for non-Windows platforms.
Definition export.h:40
Include export definitions for this library.
Definition glsVreMessageUtil.h:49