Draws a wireframe box.
More...
#include <rendering/rendering.hh>
◆ WireBox() [1/2]
Constructor.
- Parameters
-
[in] | _box | Dimension of the box to draw. |
[in] | _parent | Parent visual of the box. |
- Deprecated:
- See function that takes ignition::math
◆ WireBox() [2/2]
Constructor.
- Parameters
-
[in] | _box | Dimension of the box to draw. |
[in] | _parent | Parent visual of the box. |
◆ ~WireBox()
◆ Box()
ignition::math::Box Box |
( |
| ) |
const |
Get the wireframe box.
- Returns
- The wireframe box.
◆ GetBox()
◆ GetVisible()
bool GetVisible |
( |
| ) |
const |
◆ Init() [1/2]
Builds the wireframe line list.
- Parameters
-
[in] | _box | Box to build a wireframe from. |
- Deprecated:
- See function that takes ignition::math
◆ Init() [2/2]
void Init |
( |
const ignition::math::Box & |
_box | ) |
|
Builds the wireframe line list.
- Parameters
-
[in] | _box | Box to build a wireframe from. |
◆ SetVisible()
void SetVisible |
( |
bool |
_visible | ) |
|
Set the visibility of the box.
- Parameters
-
[in] | _visible | True to make the box visible, False to hide. |
◆ Visible()
Get the visibility of the box.
- Returns
- True if the box is visual.
The documentation for this class was generated from the following file: