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();
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:59
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:112
Scale in x.
Definition: SelectionObj.hh:61
Translation in y.
Definition: SelectionObj.hh:51
Rotation in z.
Definition: SelectionObj.hh:59