13#ifndef SO_VIEWER_PROXY_H
14#define SO_VIEWER_PROXY_H
19#include <ThirdPartyWarningsDisable.h>
20#include <Inventor/SbBasic.h>
21#include <ThirdPartyWarningsRestore.h>
198 int = -1,
int = -1,
int = -1) {
return -1; }
#define INVENTORWRAPPER_API
Library initialization and export macros for platform independecy of project.
void setDevicePixelRatio(double scaleFactor)
SoResolutionIndependentViewerProxy()
Constructor.
~SoResolutionIndependentViewerProxy() override
Destructor.
double _devicePixelRatio
Device pixel ratio.
SoViewerProxy()
Protected constructor. Class must be derived to be adapted to actual viewer.
virtual int defineCursor(const char *, int=-1, int=-1, int=-1)
virtual bool getCurrentCursorPosition(int &x, int &y)
@ PREDEFINED_CURSOR_COUNT
virtual bool isHighQualityOffscreenRendering() const
Returns true if high quality offscreen rendering (e.g., for OffscreenRenderer) is desired.
virtual ~SoViewerProxy()
Destructor.
virtual void setCursor(int)
virtual bool hasShape(int shapeID)
Returns true if the cursor shape has already been defined.
static const char *const * cursorShapeNames()
static int getPredefinedCursorCount()
static const ml::EnumValues< cursorShapeEnum > & getCursorShapeEnumValues()
Returns enum values record for use with ml::TypedEnumField.
virtual bool isInitialRendering() const
Returns true if the viewer does the initial rendering after it became visible.
static int getNextFreeShapeID()
Returns the next free ID for defining custom cursor shape.
virtual bool isUserInterationEventInQueue() const
virtual SoMetaInformationMap * getMetaInformationMap()
virtual void setForceCursor(int shapeID)
double getDevicePixelRatio() override
virtual double getDevicePixelRatio()