ObjectTrackerResult Class

Inherits: TargetTrackerResult

Description

ObjectTracker 的结果。

targetInstances

返回当前结果中包含的 TargetInstance 列表。

C

void easyar_ObjectTrackerResult_targetInstances(const easyar_ObjectTrackerResult * This, easyar_ListOfTargetInstance * * Return)

C++17

std::vector<std::shared_ptr<TargetInstance>> targetInstances()

C++03

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)

C++17

void setTargetInstances(std::vector<std::shared_ptr<TargetInstance>> instances)

C++03

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)