Draws a wireframe box. More...
#include <rendering/rendering.hh>
Public Member Functions | |
WireBox (VisualPtr _parent, const math::Box &_box) | |
Constructor. More... | |
~WireBox () | |
Destructor. More... | |
math::Box | GetBox () const |
Get the wireframe box. More... | |
bool | GetVisible () const |
Get the visibility of the box. More... | |
void | Init (const math::Box &_box) |
Builds the wireframe line list. More... | |
void | SetVisible (bool _visible) |
Set the visibility of the box. More... | |
Draws a wireframe box.
Constructor.
[in] | _box | Dimension of the box to draw. |
[in] | _parent | Parent visual of the box. |
gazebo::rendering::WireBox::~WireBox | ( | ) |
Destructor.
math::Box gazebo::rendering::WireBox::GetBox | ( | ) | const |
Get the wireframe box.
bool gazebo::rendering::WireBox::GetVisible | ( | ) | const |
Get the visibility of the box.
void gazebo::rendering::WireBox::Init | ( | const math::Box & | _box) |
Builds the wireframe line list.
[in] | _box | Box to build a wireframe from. |
void gazebo::rendering::WireBox::SetVisible | ( | bool | _visible) |
Set the visibility of the box.
[in] | _visible | True to make the box visible, False to hide. |