ImageTargetParameters Class

Description

ImageTargetParameters represents the parameters to create a ImageTarget .

Constructor

C

void easyar_ImageTargetParameters__ctor(easyar_ImageTargetParameters * * Return)

C++17

ImageTargetParameters()

C++03

ImageTargetParameters()

Java

public ImageTargetParameters()

Kotlin

constructor()

Objective-C

+ (easyar_ImageTargetParameters *) create

Swift

public convenience init()

C#

public ImageTargetParameters()

image

Gets image.

C

void easyar_ImageTargetParameters_image(easyar_ImageTargetParameters * This, easyar_Image * * Return)

C++17

std::shared_ptr<Image> image()

C++03

void image(Image * * Return)

Java

public @Nonnull Image image()

Kotlin

fun image(): Image

Objective-C

- (easyar_Image *)image

Swift

public func image() -> Image

C#

public virtual Image image()

setImage

Sets image.

C

void easyar_ImageTargetParameters_setImage(easyar_ImageTargetParameters * This, easyar_Image * image)

C++17

void setImage(std::shared_ptr<Image> image)

C++03

void setImage(Image * image)

Java

public void setImage(@Nonnull Image image)

Kotlin

fun setImage(image: Image): Unit

Objective-C

- (void)setImage:(easyar_Image *)image

Swift

public func setImage(_ image: Image) -> Void

C#

public virtual void setImage(Image image)

name

Gets target name. It can be used to distinguish targets.

C

void easyar_ImageTargetParameters_name(easyar_ImageTargetParameters * This, easyar_String * * Return)

C++17

std::string name()

C++03

void name(String * * Return)

Java

public java.lang.@Nonnull String name()

Kotlin

fun name(): String

Objective-C

- (NSString *)name

Swift

public func name() -> String

C#

public virtual string name()

setName

Sets target name.

C

void easyar_ImageTargetParameters_setName(easyar_ImageTargetParameters * This, easyar_String * name)

C++17

void setName(std::string name)

C++03

void setName(String * name)

Java

public void setName(java.lang.@Nonnull String name)

Kotlin

fun setName(name: String): Unit

Objective-C

- (void)setName:(NSString *)name

Swift

public func setName(_ name: String) -> Void

C#

public virtual void setName(string name)

uid

Gets the target uid. A target uid is useful in cloud based algorithms. If no cloud is used, you can set this uid in the json config as an alternative method to distinguish from targets.

C

void easyar_ImageTargetParameters_uid(easyar_ImageTargetParameters * This, easyar_String * * Return)

C++17

std::string uid()

C++03

void uid(String * * Return)

Java

public java.lang.@Nonnull String uid()

Kotlin

fun uid(): String

Objective-C

- (NSString *)uid

Swift

public func uid() -> String

C#

public virtual string uid()

setUid

Sets target uid.

C

void easyar_ImageTargetParameters_setUid(easyar_ImageTargetParameters * This, easyar_String * uid)

C++17

void setUid(std::string uid)

C++03

void setUid(String * uid)

Java

public void setUid(java.lang.@Nonnull String uid)

Kotlin

fun setUid(uid: String): Unit

Objective-C

- (void)setUid:(NSString *)uid

Swift

public func setUid(_ uid: String) -> Void

C#

public virtual void setUid(string uid)

meta

Gets meta data.

C

void easyar_ImageTargetParameters_meta(easyar_ImageTargetParameters * This, easyar_String * * Return)

C++17

std::string meta()

C++03

void meta(String * * Return)

Java

public java.lang.@Nonnull String meta()

Kotlin

fun meta(): String

Objective-C

- (NSString *)meta

Swift

public func meta() -> String

C#

public virtual string meta()

setMeta

Sets meta data。

C

void easyar_ImageTargetParameters_setMeta(easyar_ImageTargetParameters * This, easyar_String * meta)

C++17

void setMeta(std::string meta)

C++03

void setMeta(String * meta)

Java

public void setMeta(java.lang.@Nonnull String meta)

Kotlin

fun setMeta(meta: String): Unit

Objective-C

- (void)setMeta:(NSString *)meta

Swift

public func setMeta(_ meta: String) -> Void

C#

public virtual void setMeta(string meta)

scale

Gets the scale of image. The value is the physical image width divided by 1 meter. The default value is 1.

C

float easyar_ImageTargetParameters_scale(easyar_ImageTargetParameters * This)

C++17

float scale()

C++03

float scale()

Java

public float scale()

Kotlin

fun scale(): Float

Objective-C

- (float)scale

Swift

public func scale() -> Float

C#

public virtual float scale()

setScale

Sets the scale of image. The value is the physical image width divided by 1 meter. The default value is 1.

It is needed to set the model scale in rendering engine separately.

C

void easyar_ImageTargetParameters_setScale(easyar_ImageTargetParameters * This, float scale)

C++17

void setScale(float scale)

C++03

void setScale(float scale)

Java

public void setScale(float scale)

Kotlin

fun setScale(scale: Float): Unit

Objective-C

- (void)setScale:(float)scale

Swift

public func setScale(_ scale: Float) -> Void

C#

public virtual void setScale(float scale)