Tracking anchor that is used to control references like the visualization model and WorkSpaces for different anchors in multi model tracking. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.
More...
Inherits Visometry.VisionLib.SDK.Core.TrackingManagerReference.
|
void | AnchorAddModel (string modelName, string modelURI, bool enabled=true, bool occluder=false) |
|
async Task | AnchorAddModelAsync (string modelName, string modelURI, bool enabled, bool occluder) |
|
void | AnchorResetHardAnchor () |
| Resets the tracking for this anchor. More...
|
|
async Task | AnchorResetHardAsync () |
|
void | AnchorSetAttribute (string attributeName, string value) |
| Sets an attribute to the given value for this anchor More...
|
|
async Task | AnchorSetAttributeAsync (string attributeName, string value) |
|
void | AnchorSetModelPropertyEnabled (string name, bool state) |
| Enables/Disables a specific model for this anchor More...
|
|
async Task | AnchorSetModelPropertyEnabledAsync (string name, bool state) |
|
void | AnchorSetModelPropertyOccluder (string name, bool state) |
| Sets a specific model as occluder for this anchor More...
|
|
async Task | AnchorSetModelPropertyOccluderAsync (string name, bool state) |
|
void | AnchorSetModelPropertyURI (string name, string uri) |
| Loads a specific model for this anchor, which is specified by an uri. All other models will be removed from this anchor. More...
|
|
async Task | AnchorSetModelPropertyURIAsync (string name, string uri) |
|
async Task< ModelTransform > | GetInitPoseAsync () |
|
void | SetGlobalInitPose () |
|
async Task | SetGlobalInitPoseAsync () |
|
void | SetInitPose () |
|
async Task | SetInitPoseAsync () |
|
void | SetInitPoseRelativeToCamera (Camera usedCamera) |
|
async Task | SetInitPoseRelativeToCameraAsync (Camera usedCamera) |
|
|
string | anchorName |
| Unique name that represents the tracking anchors name in the vl file.
|
|
GameObject | augmentation |
| Reference to the model that should be used for augmenting the tracking target.
|
|
float | smoothTime = 0f |
| Interpolation time to apply updates to the augmentation Transform. More...
|
|
WorkSpace[] | workSpaces |
| List of WorkSpaces that are used to initialize the tracking target.
|
|
Tracking anchor that is used to control references like the visualization model and WorkSpaces for different anchors in multi model tracking. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.
◆ AnchorResetHardAnchor()
void Visometry.VisionLib.SDK.Core.TrackingAnchor.AnchorResetHardAnchor |
( |
| ) |
|
|
inline |
Resets the tracking for this anchor.
This function will be performed asynchronously.
◆ AnchorSetAttribute()
void Visometry.VisionLib.SDK.Core.TrackingAnchor.AnchorSetAttribute |
( |
string |
attributeName, |
|
|
string |
value |
|
) |
| |
|
inline |
Sets an attribute to the given value for this anchor
This function will be performed asynchronously.
- Parameters
-
attributeName | Name of the attribute |
value | New value for this attribute |
◆ AnchorSetModelPropertyEnabled()
void Visometry.VisionLib.SDK.Core.TrackingAnchor.AnchorSetModelPropertyEnabled |
( |
string |
name, |
|
|
bool |
state |
|
) |
| |
|
inline |
Enables/Disables a specific model for this anchor
This function will be performed asynchronously.
- Parameters
-
name | Name of the model |
state | Enabled (true/false) |
◆ AnchorSetModelPropertyOccluder()
void Visometry.VisionLib.SDK.Core.TrackingAnchor.AnchorSetModelPropertyOccluder |
( |
string |
name, |
|
|
bool |
state |
|
) |
| |
|
inline |
Sets a specific model as occluder for this anchor
This function will be performed asynchronously.
- Parameters
-
name | Name of the model |
state | Occluder (true/false) |
◆ AnchorSetModelPropertyURI()
void Visometry.VisionLib.SDK.Core.TrackingAnchor.AnchorSetModelPropertyURI |
( |
string |
name, |
|
|
string |
uri |
|
) |
| |
|
inline |
Loads a specific model for this anchor, which is specified by an uri. All other models will be removed from this anchor.
This function will be performed asynchronously.
- Parameters
-
name | Name of the model |
uri | Path to the model file |
◆ smoothTime
float Visometry.VisionLib.SDK.Core.TrackingAnchor.smoothTime = 0f |
Interpolation time to apply updates to the augmentation Transform.
Set to 0 to directly apply tracking results without smoothing.