A graphical selection object.
More...
#include <rendering/rendering.hh>
A graphical selection object.
Used to draw a visual around a selected object.
gazebo::rendering::SelectionObj::SelectionObj |
( |
Scene * |
_scene | ) |
|
virtual gazebo::rendering::SelectionObj::~SelectionObj |
( |
| ) |
|
|
virtual |
void gazebo::rendering::SelectionObj::Attach |
( |
VisualPtr |
_visual | ) |
|
Set the position of the node.
- Parameters
-
[in] | This | draws the selection object around the passed in visual. |
void gazebo::rendering::SelectionObj::Clear |
( |
| ) |
|
std::string gazebo::rendering::SelectionObj::GetVisualName |
( |
| ) |
const |
Get the name of the visual the selection obj is attached to.
- Returns
- Name of the selected visual.
void gazebo::rendering::SelectionObj::Init |
( |
| ) |
|
bool gazebo::rendering::SelectionObj::IsActive |
( |
| ) |
const |
Return true if the user is move the selection obj.
- Returns
- True if something is selected.
void gazebo::rendering::SelectionObj::SetActive |
( |
bool |
_active | ) |
|
Set true if the user is moving the selection obj.
- Parameters
-
[in] | _active | True if the user is interacting with the selection object. |
void gazebo::rendering::SelectionObj::SetHighlight |
( |
const std::string & |
_mod | ) |
|
Highlight the selection object based on a modifier.
- Parameters
-
[in] | _mod | Modifier used when highlighting the selection object. |
The documentation for this class was generated from the following file: