|
Omnidome
Fulldome Mapping Software Toolkit
|
An OpenGL view for visualizing the scene of a session. More...
#include <SceneGLView.h>


Public Slots | |
| void | changeZoom (int _value) |
Public Slots inherited from omni::ui::GLView | |
| void | triggerUpdate () |
| void | paintGLDone () |
Signals | |
| void | dataModelChanged () |
Public Member Functions | |
| SceneGLView (QWidget *_parent=nullptr) | |
| ~SceneGLView () | |
Public Member Functions inherited from omni::ui::GLView | |
| GLView (QWidget *_parent=nullptr) | |
| virtual | ~GLView () |
| float | aspect () const |
| Return aspect ratio of widget. More... | |
| QPointF | mousePosition () const |
| Return mouse position. More... | |
| bool | initialized () const |
| Return boolean value if widget has been initialized. More... | |
| float | updateFrequency () const |
| Return update frequency. More... | |
| void | setUpdateFrequency (float _updateFrequency) |
| Return update frequency. More... | |
Public Member Functions inherited from omni::ui::mixin::DataModel< DATAMODEL, SHARED > | |
| DataModel () | |
| void | setDataModel (pointer_type _dataModel) |
| Set new data model. More... | |
| pointer_type | dataModel () |
| Return pointer to data model. More... | |
| const pointer_type | dataModel () const |
| Return pointer to data model (const version) More... | |
| virtual void | updateFrontend () |
| Push data to frontend widgets and all child widgets. More... | |
| virtual void | updateDataModel () |
| Update the data model interface. More... | |
Protected Member Functions | |
| virtual void | paintGL () |
| Paint GL routine. More... | |
| virtual void | wheelEvent (QWheelEvent *event) |
| Change zoom on mouse wheel event. More... | |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| virtual void | showEvent (QShowEvent *event) |
Protected Member Functions inherited from omni::ui::GLView | |
| void | initializeGL () |
| Initialize OpenGL contents. More... | |
| virtual void | resizeGL (int _w, int _h) |
| Resize GL and viewport. More... | |
| virtual void | mousePressEvent (QMouseEvent *) |
| Mouse press event sets mouse position. More... | |
| void | timerEvent (QTimerEvent *) |
| void | paintGLReady () |
Protected Member Functions inherited from omni::ui::mixin::Locked | |
| template<typename F > | |
| void | locked (F f) |
| Lock widget and execute given functor. More... | |
| bool | isLocked () const |
| Return true if widget is locked. More... | |
Private Member Functions | |
| virtual void | dataToFrontend () |
| Pure virtual method which determines how data model is represented in frontend. More... | |
| virtual bool | frontendToData () |
| Return true if data has changed by front end. More... | |
| bool | initialize () |
| Pure virtual function to initialize GL contents. More... | |
Additional Inherited Members | |
Public Types inherited from omni::ui::mixin::DataModel< DATAMODEL, SHARED > | |
| typedef DATAMODEL | data_model_type |
| Data type. More... | |
| typedef DataModel < data_model_type, SHARED > | type |
| This type. More... | |
| typedef detail::PointerType < data_model_type, SHARED > | pointer_type_handler |
| Pointer type handler. More... | |
| typedef pointer_type_handler::type | pointer_type |
| Derived pointer type. More... | |
Protected Attributes inherited from omni::ui::GLView | |
| bool | updateTriggered_ = false |
| QPointF | mousePosition_ |
| Mouse position stored. More... | |
An OpenGL view for visualizing the scene of a session.
| omni::ui::SceneGLView::SceneGLView | ( | QWidget * | _parent = nullptr | ) |
|
slot |
|
signal |
|
privatevirtual |
Pure virtual method which determines how data model is represented in frontend.
Implements omni::ui::mixin::DataModel< DATAMODEL, SHARED >.
|
inlineprivatevirtual |
Return true if data has changed by front end.
Implements omni::ui::mixin::DataModel< DATAMODEL, SHARED >.
|
privatevirtual |
Pure virtual function to initialize GL contents.
Implements omni::ui::GLView.
|
protectedvirtual |
|
protectedvirtual |
Paint GL routine.
Draw auxiliary elements of canvas, like bounding boxes etc
Reimplemented from omni::ui::GLView.
|
protectedvirtual |
|
protectedvirtual |
Change zoom on mouse wheel event.
1.8.6