Command to visualize a collision volume bounding sphere. More...
#include <VisualizerBSphereCommand.h>

Public Member Functions | |
| VisualizerBSphereCommand (const VisualizerBSphereCommand &)=delete | |
| VisualizerBSphereCommand & | operator= (const VisualizerBSphereCommand &)=delete |
| VisualizerBSphereCommand (const CollisionVolumeBSphere *sphere, const Vect &color, GraphicsObject_WireframeConstantColor *wfUnitSphere) | |
| Constructor for VisualizerBSphereCommand with parameters. | |
| virtual void | Execute () override |
| Executes the visualization command for the bounding sphere. | |
| void | Set (const CollisionVolumeBSphere *sphere, const Vect &color, GraphicsObject_WireframeConstantColor *wfUnitSphere) |
| Sets the collision volume bounding sphere, color, and wireframe constant color graphics object. | |
| VolumeType | GetVolumeType () override |
| Gets the volume type associated with this command. | |
Public Member Functions inherited from VisualizerCommandBase | |
| virtual | ~VisualizerCommandBase ()=default |
| Virtual destructor for VisualizerCommandBase. | |
Private Attributes | |
| const CollisionVolumeBSphere * | sphere |
| The collision volume bounding sphere. | |
| Vect | color |
| The color to render the bounding sphere. | |
| GraphicsObject_WireframeConstantColor * | wfUnitSphere |
| Pointer to the wireframe constant color graphics object for unit sphere. | |
Command to visualize a collision volume bounding sphere.
The VisualizerBSphereCommand class is responsible for visualizing a collision volume bounding sphere. It inherits from the VisualizerCommandBase class and overrides the Execute method to perform the visualization.
| VisualizerBSphereCommand::VisualizerBSphereCommand | ( | const CollisionVolumeBSphere * | sphere, |
| const Vect & | color, | ||
| GraphicsObject_WireframeConstantColor * | wfUnitSphere ) |
Constructor for VisualizerBSphereCommand with parameters.
| sphere | The collision volume bounding sphere. |
| color | The color to render the bounding sphere. |
| wfUnitSphere | Pointer to the wireframe constant color graphics object for unit sphere. |
|
overridevirtual |
Executes the visualization command for the bounding sphere.
Implements VisualizerCommandBase.

|
overridevirtual |
Gets the volume type associated with this command.
Implements VisualizerCommandBase.
| void VisualizerBSphereCommand::Set | ( | const CollisionVolumeBSphere * | sphere, |
| const Vect & | color, | ||
| GraphicsObject_WireframeConstantColor * | wfUnitSphere ) |
Sets the collision volume bounding sphere, color, and wireframe constant color graphics object.
| sphere | The collision volume bounding sphere. |
| color | The color to render the bounding sphere. |
| wfUnitSphere | Pointer to the wireframe constant color graphics object for unit sphere. |
