MeVisLab Toolbox Reference
|
#include <SoViewerProxy.h>
Public Member Functions | |
SoResolutionIndependentViewerProxy () | |
Constructor. | |
~SoResolutionIndependentViewerProxy () override | |
Destructor. | |
double | getDevicePixelRatio () override |
Returns the ratio between physical pixels and device-independent pixels for the viewer. | |
void | setDevicePixelRatio (double scaleFactor) |
Public Member Functions inherited from SoViewerProxy | |
virtual | ~SoViewerProxy () |
Destructor. | |
virtual void | setCursor (int) |
Set cursor of viewer to pre- or user-defined shape, invalid values will set cursor to default shape. | |
virtual bool | hasShape (int shapeID) |
return true if the cursor shape has already been defined | |
virtual int | defineCursor (const char *, int=-1, int=-1, int=-1) |
Define new cursor shape - successful operation is only guaranteed with PNG-Images with size 32x32, containing only black, white and transparent pixels. | |
virtual bool | getCurrentCursorPosition (int &x, int &y) |
Get current cursor position relative to the viewing window. | |
virtual bool | isInitialRendering () const |
returns true if the viewer does the initial rendering after it became visible | |
virtual bool | isHighQualityOffscreenRendering () const |
returns true if high quality offscreen rendering (e.g. for OffscreenRenderer) is desired | |
virtual bool | isUserInterationEventInQueue () const |
returns if a user interaction event is the the GUI event queue (or in a remote rendering scenario in the incoming message queue). | |
virtual SoMetaInformationMap * | getMetaInformationMap () |
returns the current SoMetaInformationMap, which allows storing of the current meta information / render state as key/value pairs. | |
virtual void | setForceCursor (int shapeID) |
Enforce setting the cursor, even from mouseOverUpdates. | |
Protected Attributes | |
double | _devicePixelRatio |
device pixel ratio | |
Definition at line 232 of file SoViewerProxy.h.
SoResolutionIndependentViewerProxy::SoResolutionIndependentViewerProxy | ( | ) |
Constructor.
|
inlineoverride |
Destructor.
Definition at line 238 of file SoViewerProxy.h.
|
protected |
device pixel ratio
Definition at line 249 of file SoViewerProxy.h.