|
Omnidome
Fulldome Mapping Software Toolkit
|
An input preview for display a test image input. More...
#include <TestInputPreview.h>


Public Member Functions | |
| TestInputPreview (QWidget *=nullptr) | |
| TestInputPreview (input::TestImage *, QWidget *=nullptr) | |
| ~TestInputPreview () | |
Public Member Functions inherited from omni::ui::InputPreview | |
| InputPreview (QWidget *=nullptr) | |
| InputPreview (input::Interface *_input, QWidget *=nullptr) | |
| ~InputPreview () | |
| float | border () const |
| Return relative border value. More... | |
| input::Interface * | input () |
| Return pointer to input. More... | |
| input::Interface const * | input () const |
| Return pointer to input (const version) More... | |
| void | setInput (input::Interface *) |
| Set pointer to input. More... | |
| QPointF | screenPos (QPointF const &_pos) const |
| Transforms mouse position on widget to normalized position on input Position in range (0.0,0.0) and (1.0,1.0) More... | |
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... | |
Protected Member Functions | |
| void | mouseMoveEvent (QMouseEvent *event) |
| void | mousePressEvent (QMouseEvent *event) |
| Mouse press event sets mouse position. More... | |
| void | mouseReleaseEvent (QMouseEvent *event) |
Protected Member Functions inherited from omni::ui::InputPreview | |
| void | paintGL () |
| Paint GL routine. More... | |
| void | showEvent (QShowEvent *) |
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... | |
| void | timerEvent (QTimerEvent *) |
| void | paintGLReady () |
Private Member Functions | |
| void | setRulerPos (QPointF const &) |
| Set ruler position of input from widget coordinates. More... | |
Additional Inherited Members | |
Public Slots inherited from omni::ui::InputPreview | |
| void | setBorder (float) |
| Set relative border distance. More... | |
Public Slots inherited from omni::ui::GLView | |
| void | triggerUpdate () |
| void | paintGLDone () |
Signals inherited from omni::ui::InputPreview | |
| void | inputChanged () |
Protected Attributes inherited from omni::ui::GLView | |
| bool | updateTriggered_ = false |
| QPointF | mousePosition_ |
| Mouse position stored. More... | |
An input preview for display a test image input.
| omni::ui::TestInputPreview::TestInputPreview | ( | QWidget * | _widget = nullptr | ) |
| omni::ui::TestInputPreview::TestInputPreview | ( | input::TestImage * | _input, |
| QWidget * | _widget = nullptr |
||
| ) |
|
protected |
|
protectedvirtual |
Mouse press event sets mouse position.
Reimplemented from omni::ui::GLView.
|
protected |
|
private |
Set ruler position of input from widget coordinates.
1.8.6