ObjectTrackerResult Class¶
Inherits: TargetTrackerResult
Description¶
ObjectTracker 的结果。
targetInstances¶
返回当前结果中包含的 TargetInstance 列表。
- C: void easyar_ObjectTrackerResult_targetInstances(const easyar_ObjectTrackerResult * This, easyar_ListOfTargetInstance * * Return)¶
- Traditional C++: void targetInstances(ListOfTargetInstance * * Return)¶
- Java: public java.util.@Nonnull ArrayList<@Nonnull TargetInstance> targetInstances()¶
- Kotlin: fun targetInstances(): ArrayList<TargetInstance>¶
- Objective-C: - (NSArray<easyar_TargetInstance *> *)targetInstances¶
- Swift: public override func targetInstances() -> [TargetInstance]¶
- C#: public override List<TargetInstance> targetInstances()¶
setTargetInstances¶
设置当前结果中包含的 TargetInstance 列表。
- C: void easyar_ObjectTrackerResult_setTargetInstances(easyar_ObjectTrackerResult * This, easyar_ListOfTargetInstance * instances)¶
- Traditional C++: void setTargetInstances(ListOfTargetInstance * instances)¶
- Java: public void setTargetInstances(java.util.@Nonnull ArrayList<@Nonnull TargetInstance> instances)¶
- Kotlin: fun setTargetInstances(instances: ArrayList<TargetInstance>): Unit¶
- Objective-C: - (void)setTargetInstances:(NSArray<easyar_TargetInstance *> *)instances¶
- Swift: public override func setTargetInstances(_ instances: [TargetInstance]) -> Void¶
- C#: public override void setTargetInstances(List<TargetInstance> instances)¶