#include <Visualizer.h>
|
static void | ShowBSphere (const CollisionVolumeBSphere &S, const Vect &col=DEFAULT_COLOR) |
| Shows the b sphere with the passed in color (or a default color). More...
|
|
static void | ShowAABB (const Vect &min, const Vect &max, const Vect &col=DEFAULT_COLOR) |
| Shows the AABB specified by the min and max values. More...
|
|
static void | ShowOBB (const Matrix &world, const CollisionVolumeOBB &V, const Vect &col=DEFAULT_COLOR) |
| Shows the OBB via min and max corners. More...
|
|
static void | ShowCollisionVolume (const CollisionVolume &c, const Vect &col=DEFAULT_COLOR) |
| Maps the correct call for CollisionVolume c to visualize itself. More...
|
|
static void | ShowMarker (const Vect &pos, const Vect &color=DEFAULT_COLOR, float radius=1.0f) |
| Shows the marker at the given position. More...
|
|
static void | ShowLine (const Vect &A, const Vect &B, const Vect &color=DEFAULT_COLOR) |
| Shows a line between the points A and B. More...
|
|
◆ Visualizer() [1/3]
Visualizer::Visualizer |
( |
| ) |
|
|
private |
◆ Visualizer() [2/3]
◆ Visualizer() [3/3]
◆ ~Visualizer()
Visualizer::~Visualizer |
( |
| ) |
|
|
privatedefault |
◆ Instance()
◆ operator=() [1/2]
◆ operator=() [2/2]
Move assignment operator.
◆ privRenderAABB()
void Visualizer::privRenderAABB |
( |
Matrix & |
M, |
|
|
Vect |
col |
|
) |
| const |
|
private |
Private call to render the AABB box.
- Parameters
-
◆ privRenderBSphere()
Private call render b sphere.
- Parameters
-
◆ privRenderLine()
void Visualizer::privRenderLine |
( |
Matrix & |
world, |
|
|
Vect |
color |
|
) |
| const |
|
private |
Private call to render a line.
- Parameters
-
[in,out] | world | The world. |
| color | The color. |
◆ privRenderMarker()
void Visualizer::privRenderMarker |
( |
Matrix & |
world, |
|
|
Vect |
color |
|
) |
| const |
|
private |
Internal call to render a marker at the given position.
- Parameters
-
[in,out] | world | The world. |
| color | The color. |
◆ privRenderOBB()
void Visualizer::privRenderOBB |
( |
Matrix & |
world, |
|
|
Vect |
color |
|
) |
| const |
|
private |
Internal call to render the OBB box.
- Parameters
-
[in,out] | world | The world. |
| color | The color. |
◆ privTerminate()
void Visualizer::privTerminate |
( |
| ) |
|
|
private |
Private terminate, to be called internally.
◆ ShowAABB()
static void Visualizer::ShowAABB |
( |
const Vect & |
min, |
|
|
const Vect & |
max, |
|
|
const Vect & |
col = DEFAULT_COLOR |
|
) |
| |
|
static |
Shows the AABB specified by the min and max values.
- Parameters
-
min | The minimum corner. |
max | The maximum corner. |
col | (Optional) The col. |
◆ ShowBSphere()
Shows the b sphere with the passed in color (or a default color).
- Parameters
-
◆ ShowCollisionVolume()
Maps the correct call for CollisionVolume c to visualize itself.
- Parameters
-
◆ ShowLine()
static void Visualizer::ShowLine |
( |
const Vect & |
A, |
|
|
const Vect & |
B, |
|
|
const Vect & |
color = DEFAULT_COLOR |
|
) |
| |
|
static |
Shows a line between the points A and B.
- Parameters
-
A | A Point in space to be connected with B |
B | A Point in space to be connected with A |
color | (Optional) The color. |
◆ ShowMarker()
static void Visualizer::ShowMarker |
( |
const Vect & |
pos, |
|
|
const Vect & |
col = DEFAULT_COLOR , |
|
|
float |
radius = 1.0f |
|
) |
| |
|
static |
Shows the marker at the given position.
- Parameters
-
pos | The position. |
col | (Optional) The color. |
radius | (Optional) The radius. |
◆ ShowOBB()
Shows the OBB via min and max corners.
- Parameters
-
min | The minimum corner. |
max | The maximum corner. |
col | (Optional) The col. |
◆ Terminate()
static void Visualizer::Terminate |
( |
| ) |
|
|
inlinestaticprivate |
Terminates this instance.
◆ VisualizeAll()
static void Visualizer::VisualizeAll |
( |
| ) |
|
|
staticprivate |
Visualize all commands within the visualizer broker.
◆ VisualizerAttorney
Dictates access to visualizer functions.
◆ DEFAULT_COLOR
Vect Visualizer::DEFAULT_COLOR = Vect(0.0f, 0.0f, 1.0f) |
|
staticprivate |
The default color for the bsphere.
◆ ptrInstance
The pointer to the singleton instance.
◆ visBroker
◆ WFUnitBox
GraphicsObject_WireframeConstantColor* Visualizer::WFUnitBox |
|
private |
The wireframe unit box to be used for unit box commands.
◆ WFUnitSphere
GraphicsObject_WireframeConstantColor* Visualizer::WFUnitSphere |
|
private |
The single wf unit sphere to be used for sphere commands.
The documentation for this class was generated from the following files: