|
Omnidome
Fulldome Mapping Software Toolkit
|
Mixin which calculates transformed screen rectangles Used in export output preview and screen setup widgets. More...
#include <TransformedRect.h>
Public Types | |
| typedef WIDGET | widget_type |
Public Member Functions | |
| TransformedRect (widget_type *_widget) | |
| virtual QRect | desktopRect () const =0 |
| Pure virtual method which returns overall desktop rect. More... | |
| float | scalingFactor () const |
| Returns the scaling factor which is needed so that desktopRect_. More... | |
| QRectF | transformedRect () const |
| Returns transformed bounding rect which fits into window and keeps. More... | |
| QRectF | transformedRect (QRectF const &_rect) const |
| Returns Transformed copy of the rect, based on transformed desktop. More... | |
| float | zoom () const |
| Return zoom factor. More... | |
| void | setZoom (float _zoom) |
| Set zoom factor. More... | |
Private Attributes | |
| widget_type * | widget_ = nullptr |
| float | zoom_ = 0.9 |
Mixin which calculates transformed screen rectangles Used in export output preview and screen setup widgets.
| typedef WIDGET omni::ui::mixin::TransformedRect< WIDGET >::widget_type |
|
inline |
|
pure virtual |
Pure virtual method which returns overall desktop rect.
Implemented in omni::ui::ScreenSetup, and omni::ui::OutputPreview.
|
inline |
Returns the scaling factor which is needed so that desktopRect_.
|
inline |
Set zoom factor.
|
inline |
Returns transformed bounding rect which fits into window and keeps.
|
inline |
Returns Transformed copy of the rect, based on transformed desktop.
Transformed desktop rect
|
inline |
Return zoom factor.
|
private |
|
private |
1.8.6