Command for visualizing a line in the collision visualizer. More...
#include <VisualizerLineCommand.h>

| Public Member Functions | |
| VisualizerLineCommand (const VisualizerLineCommand &)=delete | |
| VisualizerLineCommand & | operator= (const VisualizerLineCommand &)=delete | 
| VisualizerLineCommand (const Vect &startPoint, const Vect &endPoint, const Vect &color, GraphicsObject_WireframeConstantColor *wireframe) | |
| Constructs a VisualizerLineCommand with endpoints, color, and wireframe object. | |
| virtual void | Execute () override | 
| Executes the line visualization command (renders the line). | |
| void | Set (const Vect &startPoint, const Vect &endPoint, const Vect &color, GraphicsObject_WireframeConstantColor *wireframe) | 
| Sets the parameters for the line command. | |
| VolumeType | GetVolumeType () override | 
| Gets the volume type associated with this command. | |
|  Public Member Functions inherited from VisualizerCommandBase | |
| virtual | ~VisualizerCommandBase ()=default | 
| Virtual destructor for VisualizerCommandBase. | |
Command for visualizing a line in the collision visualizer.
The VisualizerLineCommand class is used to render a colored line in the engine's visualizer system. It stores the start and end points, color, and a reference to a wireframe graphics object. This command is typically used for debugging, collision visualization, or drawing helper lines in the scene.
Example usage:
| VisualizerLineCommand::VisualizerLineCommand | ( | const Vect & | startPoint, | 
| const Vect & | endPoint, | ||
| const Vect & | color, | ||
| GraphicsObject_WireframeConstantColor * | wireframe ) | 
Constructs a VisualizerLineCommand with endpoints, color, and wireframe object.
| startPoint | The starting point of the line. | 
| endPoint | The ending point of the line. | 
| color | The color of the line. | 
| wireframe | Pointer to the wireframe graphics object used for rendering. | 
| 
 | overridevirtual | 
Executes the line visualization command (renders the line).
Implements VisualizerCommandBase.

| 
 | overridevirtual | 
Gets the volume type associated with this command.
Implements VisualizerCommandBase.
| void VisualizerLineCommand::Set | ( | const Vect & | startPoint, | 
| const Vect & | endPoint, | ||
| const Vect & | color, | ||
| GraphicsObject_WireframeConstantColor * | wireframe ) | 
Sets the parameters for the line command.
| startPoint | The starting point of the line. | 
| endPoint | The ending point of the line. | 
| color | The color of the line. | 
| wireframe | Pointer to the wireframe graphics object used for rendering. | 
