C++ Java Unity
C++ Reference
EyewearDevice Class Referenceabstract

Detailed Description

A type of Device which is used when Vuforia runs on dedicated eyewear.

Inheritance diagram for EyewearDevice:
Device NonCopyable

Public Types

enum  ORIENTATION {
  ORIENTATION_UNDEFINED = 0,
  ORIENTATION_PORTRAIT,
  ORIENTATION_LANDSCAPE_LEFT,
  ORIENTATION_LANDSCAPE_RIGHT
}
 Device orientation. More...
 

Public Member Functions

virtual bool isSeeThru () const =0
 Get whether this eyewear device has a see-through display. More...
 
virtual ORIENTATION getScreenOrientation () const =0
 Get the screen orientation that should be used when rendering for this device. More...
 
virtual EyewearUserCalibratorgetUserCalibrator ()=0
 Get the calibrator used for creating custom user calibration experiences. (DEPRECATED) More...
 
- Public Member Functions inherited from Device
virtual Type getType () const =0
 Get the Type of this instance (may be a subclass of Device). More...
 
virtual bool isOfType (Type type) const =0
 Get whether this Device instance's type equals or has been derived from the given type. More...
 
virtual void setConfigurationChanged ()=0
 Tell Vuforia that the configuration has changed, so new RenderingPrimitives need to be generated. More...
 
virtual const RenderingPrimitives getRenderingPrimitives ()=0
 Get a copy of the RenderingPrimitives for the current configuration. More...
 

Static Public Member Functions

static Type getClassType ()
 Get the Type for class 'EyewearDevice'. More...
 
- Static Public Member Functions inherited from Device
static DevicegetInstance ()
 Get the singleton instance. More...
 
static Type getClassType ()
 Get the Type for class "Device". More...
 

Member Enumeration Documentation

Device orientation.

Enumerator
ORIENTATION_UNDEFINED 

The device's orientation is undefined.

ORIENTATION_PORTRAIT 

The device orientation is portrait.

ORIENTATION_LANDSCAPE_LEFT 

The device orientation is landscape, rotated left from portrait

ORIENTATION_LANDSCAPE_RIGHT 

The device orientation is landscape, rotated right from portrait

Member Function Documentation

static Type getClassType ( )
static

Get the Type for class 'EyewearDevice'.

virtual bool isSeeThru ( ) const
pure virtual

Get whether this eyewear device has a see-through display.

virtual ORIENTATION getScreenOrientation ( ) const
pure virtual

Get the screen orientation that should be used when rendering for this device.

virtual EyewearUserCalibrator& getUserCalibrator ( )
pure virtual

Get the calibrator used for creating custom user calibration experiences. (DEPRECATED)

Deprecated:
This method has been deprecated. It will be removed in an upcoming Vuforia release.
Note
This calibration is only relevant for see-through eyewear devices.