#include <esve/viewers/dimn/Simple_Viewer.hxx>
Inheritance diagram for esve::viewers::dimn::Simple_Viewer:

Public Types | |
| typedef types::real | real |
| Real numbers. | |
| typedef types::complex | complex |
| Complex numbers. | |
| typedef types::pure | pure |
| Pure quaternions. | |
| typedef types::quat | quat |
| Quaternions. | |
|
typedef components::dimn::Valuator< real > | Valuator |
| Real valuator. | |
|
typedef components::dimn::Valuator< complex > | Complex_Valuator |
| Complex valuator. | |
|
typedef components::dimn::Valuator< pure > | Pure_Valuator |
| Pure quaternion valuator. | |
|
typedef components::dimn::Valuator< quat > | Quat_Valuator |
| Quaternion valuator. | |
Public Member Functions | |
| virtual const std::string & | help_text () const =0 |
| Some banal help text. | |
| virtual void | initialize ()=0 |
| OpenGL initialization; called by the display. Override if you wish. | |
| bool | handle_key_push (Key, const Keyboard &) |
| A key was pushed. | |
| bool | handle_key_release (Key, const Keyboard &) |
| A key was released. | |
| bool | handle_mouse_move (const Mouse &) |
| The mouse moved. | |
| bool | handle_mouse_push (Button, const Mouse &) |
| A mouse button was pushed. | |
| bool | handle_mouse_release (Button, const Mouse &) |
| A mouse button was released. | |
| bool | handle_toggle (const Toggle &) |
| The toggle has changed. | |
| bool | handle_file_selector (const File_Selector &) |
| The filename has changed. | |
Protected Types | |
| typedef ui::extra::Toggle | Toggle |
| typedef ui::extra::File_Selector | File_Selector |
| typedef ui::base::Keyboard | Keyboard |
| typedef ui::base::Keyboard::Key | Key |
| typedef ui::base::Mouse | Mouse |
| typedef ui::base::Mouse::Button | Button |
Protected Member Functions | |
| virtual int | takeover ()=0 |
| Hand off control to the viewer. | |
| virtual Valuator< T_Value > & | create_valuator (const T_Value &initial_value, const std::string &label)=0 |
| Create a valuator. | |
| virtual void | create_label (const std::string &label)=0 |
| Label for widgets which follow. | |
| virtual File_Selector & | create_file_selector (const std::string &initial_value="", const std::string &label="file", const std::string &selector_label="select a file", const std::string &initial_directory=".", const std::string &filter="*")=0 |
| Create a file selector. Just one file selector is allowed. | |
| virtual void | create_help (const std::string &text, const std::string &label="help")=0 |
| Create a help dialog. | |
| virtual Toggle & | create_toggle (bool initial_value, const std::string &label)=0 |
| Create a toggle. | |
| virtual bool | handle_valuator (const Valuator< T_Value > &)=0 |
| The valuator has changed. | |
| const Keyboard & | keyboard () const |
| The current state of keyboard keys. | |
| const Mouse & | mouse () const |
| The current state of the mouse. | |
| virtual Catch_Function | catch_function () const =0 |
| Catch exceptions from system entry points. | |
| virtual void | catch_function (Catch_Function)=0 |
| Catch exceptions from system entry points. | |
| virtual void | add_handler (components::dimn::Motion_Handler &)=0 |
| Add a motion handler. | |
| virtual void | remove_handler (components::dimn::Motion_Handler &)=0 |
| Remove a motion handler. | |
| virtual void | add_handler (kernel::Handler &)=0 |
| Add a regular handler. | |
| virtual void | remove_handler (kernel::Handler &)=0 |
| Remove a regular handler. | |
| virtual Catch_Function | catch_function () const =0 |
| Catch exceptions from system entry points. | |
| virtual void | catch_function (Catch_Function)=0 |
| Catch exceptions from system entry points. | |
Static Protected Attributes | |
| const real | PI |
| const real | TWO_PI |
| const real | PI_2 |
| const real | PI_4 |
| const real | SQRT2 |
| const real | SQRT1_2 |
| const real | E |
| const real | LOG2E |
| const real | LOG10E |
| const real | LN2 |
| const real | LN10 |
| const real | MAX_REAL |
| const real | MIN_REAL |
1.3.4