documentation

Visometry.VisionLib.SDK.Core.PlaneConstrainedMode Class Reference

If your model is located on a flat surface and will never be titled relative to the worlds horizon, you can improve the tracking results in some cases by using the plane constrained mode. More...

Inherits Visometry.VisionLib.SDK.Core.TrackingManagerReference.

Data Fields

Vector3 modelCenter = new Vector3(0, 0, 0)
 
Vector3 modelUpVector = new Vector3(0, 1, 0)
 
Vector3 worldUpVector = new Vector3(0, 1, 0)
 

Additional Inherited Members

- Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
virtual bool InitWorkerReference ()
 Initializes the trackingManager and Worker member variables. More...
 
virtual void ResetReference ()
 
- Properties inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
TrackingManager trackingManager [get]
 Reference to used TrackingManager. More...
 
Worker worker [get]
 

Detailed Description

If your model is located on a flat surface and will never be titled relative to the worlds horizon, you can improve the tracking results in some cases by using the plane constrained mode.

As long as this is enabled, the model tracker will only try to find poses that align the models up vector with the worlds up vector.

Only works with ARCore, ARKit, ARFoundation, HoloLens or other external SLAM sources. Extendible tracking has to be turned on. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.