27#include "Utils/CSingleton.h"
28#include "TextBillboard/CTextBillboardManager.h"
core::array< SBoxDebug * > m_boxs
Array of debug boxes.
Definition CSceneDebug.h:97
u32 getLineStripCount()
Get the number of debug linestrips currently stored.
Definition CSceneDebug.h:288
void addTransform(const core::matrix4 &mat, float vectorLength)
Adds debug axis lines at a transformed position (visualizes transform matrix axes)....
void addTri(const core::triangle3df &tri, const SColor &color)
Adds a debug triangle to the scene.
const SLineStripDebug & getLineStrip(int i)
Get a reference to the debug linestrip at the specified index.
Definition CSceneDebug.h:330
const SBoxDebug & getBox(int i)
Get a reference to the debug box at the specified index.
Definition CSceneDebug.h:342
u32 getLinesCount()
Get the number of debug lines currently stored.
Definition CSceneDebug.h:279
CSceneDebug * getNoZDebug()
Returns the singleton instance dedicated for "No Z Debug" visualization.
void addText(const core::vector3df &pos, const char *string, const SColor &color)
Adds a 3D debug text billboard at the given scene position.
void addText2D(const core::vector2df &pos, const char *string, const SColor &color)
Adds a 2D debug text billboard at the given screen position.
CSceneDebug()
Constructor. Initializes internal arrays.
void clearLineStrip()
Clears all debug linestrips.
u32 getBoxCount()
Get the number of debug boxes currently stored.
Definition CSceneDebug.h:297
core::array< SLineDebug * > m_lines
Array of debug lines.
Definition CSceneDebug.h:91
core::array< CRenderTextData * > m_texts
Array of debug text billboards.
Definition CSceneDebug.h:103
void clearTri()
Clears all debug triangles.
virtual ~CSceneDebug()
Destructor. Cleans up all debug primitives and the noZDebug instance.
core::array< SLineStripDebug * > m_linestrip
Array of debug linestrips.
Definition CSceneDebug.h:94
void addBoudingBox(const core::aabbox3df &box, const SColor &color)
Adds a debug axis-aligned bounding box to the scene.
core::array< STriDebug * > m_tri
Array of debug triangles.
Definition CSceneDebug.h:100
void addLinestrip(const core::array< core::vector3df > &point, const SColor &color)
Adds a debug linestrip (connected line segments) to the scene.
void addLine(const core::line3df &line, const SColor &color)
Adds a debug line to the scene.
void clearBoxs()
Clears all debug bounding boxes.
const STriDebug & getTri(int i)
Get a reference to the debug triangle at the specified index.
Definition CSceneDebug.h:354
void addLine(const core::vector3df &v1, const core::vector3df &v2, const SColor &color)
Adds a debug line to the scene.
void addCircle(const core::vector3df &pos, float radius, const core::vector3df &normal, const SColor &color)
Adds a debug circle to the scene.
void clearText()
Clears all debug text billboards.
void addEclipse(const core::vector3df &pos, float radiusZ, float radiusX, const core::vector3df &normal, const SColor &color)
Adds a debug ellipse to the scene.
void addPosition(const core::vector3df &pos, float length, const SColor &color)
Adds debug axis lines to visualize a position and orientation.
void addTransformBBox(const core::aabbox3df &box, const SColor &color, const core::matrix4 &mat)
Adds a debug bounding box with a transformation applied. The box is drawn with its edges transformed ...
void addLinestrip(const std::vector< core::vector3df > &point, const SColor &color)
Adds a debug linestrip to the scene.
void addSphere(const core::vector3df &pos, float radius, const SColor &color)
Adds a debug sphere (as two circles) to the scene.
u32 getTriCount()
Get the number of debug triangles currently stored.
Definition CSceneDebug.h:306
void clearLines()
Clears all debug lines.
const SLineDebug & getLine(int i)
Get a reference to the debug line at the specified index.
Definition CSceneDebug.h:318
Self reallocating template array (like stl vector) with additional features.
Definition irrArray.h:23
Class representing a 32 bit ARGB color.
Definition SColor.h:285
#define DECLARE_SINGLETON(className)
Declare the standard singleton accessors for a class.
Definition CSingleton.h:36
Everything in the Skylicht Engine. You can start by looking at the topics.
Definition AudioDebugLog.h:29
vector3d< f32 > vector3df
Typedef for a f32 3d vector.
Definition vector3d.h:445
triangle3d< f32 > triangle3df
Typedef for a f32 3d triangle.
Definition triangle3d.h:335
vector2d< f32 > vector2df
Typedef for f32 2d vector.
Definition vector2d.h:323
line3d< f32 > line3df
Typedef for an f32 line.
Definition line3d.h:136
CMatrix4< f32 > matrix4
Typedef for f32 matrix.
Definition matrix4.h:2241
aabbox3d< f32 > aabbox3df
Typedef for a f32 3d bounding box.
Definition aabbox3d.h:351
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
Structure to hold debug box information.
Definition CSceneDebug.h:54
Structure to hold debug line information.
Definition CSceneDebug.h:36
Structure to hold debug linestrip information.
Definition CSceneDebug.h:45
Structure to hold debug triangle information.
Definition CSceneDebug.h:63