|
MeVisLab Resolution Independence API
|
This class implements access to the state of the SoOffscreenRenderer viewer. More...
#include <SoOffscreenViewerProxy.h>
Public Member Functions | |
| SoOffscreenViewerProxy (ml::OffscreenRenderer *offscreenRenderer=nullptr) | |
| Constructor. | |
| ~SoOffscreenViewerProxy () override | |
| Destructor. | |
| bool | isHighQualityOffscreenRendering () const override |
Returns true if high quality offscreen rendering (e.g., for OffscreenRenderer) is desired. | |
| Public Member Functions inherited from SoResolutionIndependentViewerProxy | |
| SoResolutionIndependentViewerProxy () | |
| Constructor. | |
| ~SoResolutionIndependentViewerProxy () override | |
| Destructor. | |
| double | getDevicePixelRatio () override |
| void | setDevicePixelRatio (double scaleFactor) |
| Public Member Functions inherited from SoViewerProxy | |
| virtual | ~SoViewerProxy () |
| Destructor. | |
| virtual void | setCursor (int) |
| virtual bool | hasShape (int shapeID) |
Returns true if the cursor shape has already been defined. | |
| virtual int | defineCursor (const char *, int=-1, int=-1, int=-1) |
| virtual bool | getCurrentCursorPosition (int &x, int &y) |
| virtual bool | isInitialRendering () const |
Returns true if the viewer does the initial rendering after it became visible. | |
| virtual bool | isUserInterationEventInQueue () const |
| virtual SoMetaInformationMap * | getMetaInformationMap () |
| virtual void | setForceCursor (int shapeID) |
Protected Attributes | |
| ml::OffscreenRenderer * | _offscreenRenderer |
| Pointer to the actual viewer. | |
| Protected Attributes inherited from SoResolutionIndependentViewerProxy | |
| double | _devicePixelRatio |
| Device pixel ratio. | |
This class implements access to the state of the SoOffscreenRenderer viewer.
Definition at line 28 of file SoOffscreenViewerProxy.h.
| SoOffscreenViewerProxy::SoOffscreenViewerProxy | ( | ml::OffscreenRenderer * | offscreenRenderer = nullptr | ) |
Constructor.
|
inlineoverride |
Destructor.
Definition at line 34 of file SoOffscreenViewerProxy.h.
|
inlineoverridevirtual |
Returns true if high quality offscreen rendering (e.g., for OffscreenRenderer) is desired.
Reimplemented from SoViewerProxy.
Definition at line 36 of file SoOffscreenViewerProxy.h.
|
protected |
Pointer to the actual viewer.
Definition at line 40 of file SoOffscreenViewerProxy.h.