17 #ifndef _SELECTIONOBJ_HH_
18 #define _SELECTIONOBJ_HH_
81 public:
virtual void Fini();
89 public:
void Detach();
93 public:
void SetMode(
const std::string &_mode);
97 public:
void SetMode(SelectionMode _mode);
102 public:
void SetState(
const std::string &_state);
108 public:
void SetState(SelectionMode _state);
111 public: SelectionMode GetState();
114 public: SelectionMode GetMode();
118 public:
void SetGlobal(
bool _global);
121 public:
void UpdateSize();
126 public:
void SetHandleVisible(SelectionMode _mode,
bool _visible);
132 public:
bool GetHandleVisible(SelectionMode _mode)
const;
140 public:
void SetHandleMaterial(SelectionMode _mode,
const std::string
141 &_material,
bool _unique =
true);
144 private:
void CreateScaleVisual();
147 private:
void CreateRotateVisual();
150 private:
void CreateTranslateVisual();
Interactive selection object for models and links.
Definition: SelectionObj.hh:34
Scale in y.
Definition: SelectionObj.hh:63
Translation in x.
Definition: SelectionObj.hh:49
Translation in y.
Definition: SelectionObj.hh:51
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
Rotation in x.
Definition: SelectionObj.hh:55
Rotation in y.
Definition: SelectionObj.hh:57
A renderable object.
Definition: Visual.hh:59
Translation mode.
Definition: SelectionObj.hh:43
Translation in z.
Definition: SelectionObj.hh:53
Scale mode.
Definition: SelectionObj.hh:47
#define GZ_RENDERING_VISIBLE
Definition: system.hh:209
SelectionMode
Definition: SelectionObj.hh:38
Rotation mode.
Definition: SelectionObj.hh:45
Rotation in z.
Definition: SelectionObj.hh:59
Scale in x.
Definition: SelectionObj.hh:61