Device Orientation
Providing additional information about the device orientation can enhance the tracking performance.
By default, the framework assumes that the device is in LANDSCAPE_LEFT
mode.
The device orientation can be accessed or changed using the following methods:
// e.g. set device orientation to portrait
trackingFramework.setDeviceOrientation(VIRNECT::DeviceOrientation::PORTRAIT);
// get the current device orientation
auto deviceOrientation = trackingFramework.getDeviceOrientation();
The framework specifies the device orientation in VIRNECT::DeviceOrientation
as follows: