22# ifdef COMPILING_DLL_SimulatedRealityDisplays
23# define DIMENCOSR_API __declspec(dllexport)
25# define DIMENCOSR_API __declspec(dllimport)
40 const int resolutionHeight = 1440;
41 const int resolutionWidth = 2560;
44 const int physicalResolutionHeight = 1440;
45 const int physicalResolutionWidth = 2560;
47 const float dotPitch_cm = 0.0233f;
48 const float physicalSizeHeight = 40;
49 const float physicalSizeWidth = 70;
69 Screen(
int resolutionHeight,
int resolutionWidth,
int physicalResolutionHeight,
int physicalResolutionWidth,
float pixelSize);
Maintains WorldObject and Sense objects during the application lifetime.
Definition: srcontext.h:80
Class of WorldObject representing the screen in real space.
Definition: screen.h:39
const float getPhysicalSizeHeight()
Get the physical height of the screen.
const int getResolutionHeight()
Get the vertical resolution that is accepted by the display.
const float getPhysicalSizeWidth()
Get the physical width of the screen.
Screen(int resolutionHeight, int resolutionWidth, int physicalResolutionHeight, int physicalResolutionWidth, float pixelSize)
Screen Class constructor.
const float getDotPitch()
Get the dot pitch (pixel size)
const int getPhysicalResolutionWidth()
Get the horizontal native resolution of the physical screen itself.
static Screen * create(SRContext &context)
Creates an instance of a Screen class.
const int getPhysicalResolutionHeight()
Get the vertical native resolution of the physical screen itself.
const int getResolutionWidth()
Get the horizontal resolution that is accepted by the display.
Class representing both real and virtual objects as nodes in the World tree.
Definition: worldobject.h:35
Namespace containing all C++ Simulated Reality classes.
Definition: srconfiguration.h:25
#define DIMENCOSR_API
Definition: screen.h:28