|
Public Methods |
| | UserInterface () |
| virtual | ~UserInterface () |
| void | SetInteractive () |
| void | UnSetInteractive () |
| KeyBoard & | GetKeyBoard () |
| MenuHandle | CreateSubMenu (const string &str, MenuHandle h=0) |
| void | AddSaveImageSubMenu () |
| void | AddTransformSubMenu () |
| void | AddfloatControl (string name, const string &doc_str="", KeyValue=0, float=0, float=0, float=1, MenuHandle h=0) |
| void | AddfVectorControl (string name, const string &doc_str, KeyValue, const fVector &v, const fVector &m, const fVector &M, MenuHandle=0) |
| void | AddfVectorControl (string name, const string &doc_str="", KeyValue=0, const fVector &v=CtrlVector(), MenuHandle=0) |
| void | AddboolControl (string name, KeyValue=0, bool=0, MenuHandle=0) |
| const CtrlVector & | GetControl (const string &str) const |
| bool | GetboolControl (const string &str) const |
| float | GetfloatControl (const string &str) const |
| void | SetControl (const string &str, const fVector &v) |
| void | SetboolControl (const string &str, bool val) |
|
| void | AddOpenFileSubMenu (const string &) |
| | Generate openfile submenu for given suffix files. Only one can be called.
|
| void | AddOpenFileSubMenu (const string &, const string &) |
| | Generate openfile submenu for given suffix files. Only one can be called.
|
| void | AddOpenFileSubMenu (const string &, const string &, const string &) |
| | Generate openfile submenu for given suffix files. Only one can be called.
|
|
| void | AddMenuItem (string str, KeyEventCB cb, KeyValue k=0, MenuHandle h=0) |
| | Add a menu item directly.
|
| void | AddMenuItem (string str, KeyEventCB cb, KeyValue k, ConvertedKeyValue k2, MenuHandle h=0) |
| | Add a menu item directly.
|
| void | AddMenuItemSeparator (const string &str="", MenuHandle h=0) |
| | Add a menu item directly.
|
|
| RadioHandle | AddRadio (const string &nm, MenuHandle=0) |
| | For Radio Control popup submenu.
|
| void | AddButton (RadioHandle h, string btn, KeyValue k=0) |
| | For Radio Control popup submenu.
|
| const string & | GetRadioValue (const string &nm) |
| | For Radio Control popup submenu.
|
|
| const Transform & | GetRotateTransform () const |
| | For transformation control.
|
| const fVector3D & | GetTranslate () const |
| | For transformation control.
|
| void | TransformFromMouseMove (int button, int dx, int dy) |
| | For transformation control.
|
Static Public Methods |
| void | glut_keyboard_cb (unsigned char key, int x, int y) |
| void | mouse (int button, int state, int x, int y) |
| void | motion (int x, int y) |
| void | Init (int main_window) |
| int | GetSelectedModel () |
| bool | HasModelSelected () |
| void | UnSelect () |
| bool | MouseMotionMode () |