public final class InstantTrackerConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static float |
TRACKING_PLANE_ORIENTATION_HORIZONTAL
Constant for an horizontal instant tracking initialisation plane orientation.
|
static float |
TRACKING_PLANE_ORIENTATION_VERTICAL
Constant for a vertical instant tracking initialisation plane orientation.
|
Constructor and Description |
---|
InstantTrackerConfiguration()
Creates default configurations for Instant Trackers.
|
Modifier and Type | Method and Description |
---|---|
float |
getDeviceHeightAboveGround()
Returns the estimated height at which the device is currently above the ground.
|
float |
getTrackingPlaneOrientation()
Returns the initial orientation at which the instant tracking plane should be displayed.
|
void |
setDeviceHeightAboveGround(float height)
Sets the estimated height at which the device is currently above the ground.
|
void |
setTrackingPlaneOrientation(float orientation)
Sets the initial orientation at which the instant tracking plane should be displayed.
|
public static final float TRACKING_PLANE_ORIENTATION_HORIZONTAL
public static final float TRACKING_PLANE_ORIENTATION_VERTICAL
public InstantTrackerConfiguration()
public float getDeviceHeightAboveGround()
public void setDeviceHeightAboveGround(float height)
height
- estimated height in meterspublic float getTrackingPlaneOrientation()
public void setTrackingPlaneOrientation(float orientation)
orientation
- angle in degree