The following commands can be executed, if a tracking configuration with a modelTracker pipeline is loaded:
CommandName | Parameter | Result |
---|---|---|
resetSoft | ||
The | ||
resetHard | ||
The | ||
getInitPose | {
"q": float[4],
"t": float[3]
}
| |
The | ||
setInitPose | {
"q": float[4],
"t": float[3]
}
| |
The | ||
setGlobalObjectPose | {
"q": float[4],
"t": float[3]
}
| |
The | ||
setModelProperties | {
"name": string,
?"uri": string,
?"enabled": bool,
?"occluder": bool,
"transform" :
{
?"t": float[3],
?"q": float[4],
?"s": float[3]
}
}
| |
The | ||
setMultipleModelProperties | {
"models": PartialNamedModelDefinition[]
}
| |
The | ||
setModelPropertiesForAll | {
?"uri": string,
?"enabled": bool,
?"occluder": bool,
"transform" :
{
?"t": float[3],
?"q": float[4],
?"s": float[3]
}
}
| |
The | ||
getModelProperties | {
"info": NamedModelProperties[]
}
| |
The | ||
addModel | {
"name": string,
?"uri": string,
?"enabled": bool,
?"occluder": bool,
"transform" :
{
?"t": float[3],
?"q": float[4],
?"s": float[3]
}
}
| {
"addedModel": string
}
|
The | ||
removeModel | {
"modelName": string
}
| |
The | ||
removeAllModel | ||
The | ||
set1DRotationConstraint | {
"upWorld":
{
"x": float,
"y": float,
"z": float
},
"up_model":
{
"x": float,
"y": float,
"z": float
},
"center_model":
{
"x": float,
"y": float,
"z": float
},
}
| |
The | ||
disableConstraints | ||
The | ||
setWorkSpaces | WorkspaceConfiguration
| |
The | ||
setWorkSpacesFromFile | {
"uri": string
}
| |
The | ||
writeInitData | {
"uri": string
}
| |
The | ||
readInitData | {
"uri": string
}
| |
The | ||
resetInitData | ||
The |
The following JsonAndBinary commands can be executed, if a tracking configuration with a modelTracker pipeline is loaded:
CommandName | Parameter | BinaryData | Result |
---|---|---|---|
addModelData | {
"models": ModelDescription[]
}
| ModelData | {
"addedModels": NameLicenseFeaturePair[]
}
|
The addModelData command deserializes the ModelData to a model for tracking and adds this data to the current ModelTracker. It returns an array of objects containing a model name and the license feature array corresponding to that model: {
"name": string,
"licenseFeatures": string[]
}
|