17 #ifndef GAZEBO_RENDERING_SELECTIONOBJ_HH_
18 #define GAZEBO_RENDERING_SELECTIONOBJ_HH_
86 public:
void Detach();
90 public:
void SetMode(
const std::string &_mode);
94 public:
void SetMode(SelectionMode _mode);
99 public:
void SetState(
const std::string &_state);
105 public:
void SetState(SelectionMode _state);
108 public: SelectionMode GetState();
111 public: SelectionMode GetMode();
115 public:
void SetGlobal(
bool _global);
118 public:
void UpdateSize();
123 public:
void SetHandleVisible(SelectionMode _mode,
bool _visible);
129 public:
bool GetHandleVisible(SelectionMode _mode)
const;
137 public:
void SetHandleMaterial(SelectionMode _mode,
const std::string
138 &_material,
bool _unique =
true);
141 private:
void CreateScaleVisual();
144 private:
void CreateRotateVisual();
147 private:
void CreateTranslateVisual();
Translation mode.
Definition: SelectionObj.hh:43
Interactive selection object for models and links.
Definition: SelectionObj.hh:34
Rotation mode.
Definition: SelectionObj.hh:45
Scale mode.
Definition: SelectionObj.hh:47
Rotation in y.
Definition: SelectionObj.hh:57
Scale in y.
Definition: SelectionObj.hh:63
A renderable object.
Definition: Visual.hh:63
Translation in z.
Definition: SelectionObj.hh:53
Rotation in x.
Definition: SelectionObj.hh:55
SelectionMode
Definition: SelectionObj.hh:38
Translation in x.
Definition: SelectionObj.hh:49
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:113
Scale in x.
Definition: SelectionObj.hh:61
Translation in y.
Definition: SelectionObj.hh:51
Rotation in z.
Definition: SelectionObj.hh:59