RealTimeCoordinateTransform Class

Constructor

Create RealTimeCoordinateTransform object.

C

void easyar_RealTimeCoordinateTransform__ctor(easyar_RealTimeCoordinateTransform * * Return)

C++17

RealTimeCoordinateTransform()

C++03(Deprecated)

RealTimeCoordinateTransform()

Java

public RealTimeCoordinateTransform()

Kotlin

constructor()

Objective-C

+ (easyar_RealTimeCoordinateTransform *) create

Swift

public convenience init()

C#

public RealTimeCoordinateTransform()

setBufferSize

Set buffer size,the unit of capacity is seconds. The data within capacity seconds from now will be saved.

BufferSize represents the capacity of the buffer. If there is more than capacity seconds of data in the buffer, the latest data will be input to the buffer and the oldest frame of data will be released.

C

void easyar_RealTimeCoordinateTransform_setBufferSize(easyar_RealTimeCoordinateTransform * This, int capacity)

C++17

void setBufferSize(int capacity)

C++03(Deprecated)

void setBufferSize(int capacity)

Java

public void setBufferSize(int capacity)

Kotlin

fun setBufferSize(capacity: Int): Unit

Objective-C

- (void)setBufferSize:(int)capacity

Swift

public func setBufferSize(_ capacity: Int32) -> Void

C#

public virtual void setBufferSize(int capacity)

getBufferSize

Get buffer capacity. The default is 15 seconds. The data within 15 seconds from now will be saved.

C

int easyar_RealTimeCoordinateTransform_getBufferSize(const easyar_RealTimeCoordinateTransform * This)

C++17

int getBufferSize()

C++03(Deprecated)

int getBufferSize()

Java

public int getBufferSize()

Kotlin

fun getBufferSize(): Int

Objective-C

- (int)getBufferSize

Swift

public func getBufferSize() -> Int32

C#

public virtual int getBufferSize()

insertData

Input data to the cache, the data includes localTwc and mapTcw at the time timestamp. localTwc means camera pose at local coordinates, mapTcw means the camera pose at the localized map coordinates.

C

bool easyar_RealTimeCoordinateTransform_insertData(easyar_RealTimeCoordinateTransform * This, double timestamp, easyar_Matrix44F localTwc, easyar_Matrix44F mapTcw)

C++17

bool insertData(double timestamp, Matrix44F localTwc, Matrix44F mapTcw)

C++03(Deprecated)

bool insertData(double timestamp, Matrix44F localTwc, Matrix44F mapTcw)

Java

public boolean insertData(double timestamp, @Nonnull Matrix44F localTwc, @Nonnull Matrix44F mapTcw)

Kotlin

fun insertData(timestamp: Double, localTwc: Matrix44F, mapTcw: Matrix44F): Boolean

Objective-C

- (bool)insertData:(double)timestamp localTwc:(easyar_Matrix44F *)localTwc mapTcw:(easyar_Matrix44F *)mapTcw

Swift

public func insertData(_ timestamp: Double, _ localTwc: Matrix44F, _ mapTcw: Matrix44F) -> Bool

C#

public virtual bool insertData(double timestamp, Matrix44F localTwc, Matrix44F mapTcw)

getPoseInMap

Returns the camera pose in the localized map after insert motionTracking status and localTwc at the time timestamp. localTwc means camera pose at local coordinates.

C

easyar_Matrix44F easyar_RealTimeCoordinateTransform_getPoseInMap(easyar_RealTimeCoordinateTransform * This, double timestamp, easyar_MotionTrackingStatus status, easyar_Matrix44F localTwc)

C++17

Matrix44F getPoseInMap(double timestamp, MotionTrackingStatus status, Matrix44F localTwc)

C++03(Deprecated)

Matrix44F getPoseInMap(double timestamp, MotionTrackingStatus status, Matrix44F localTwc)

Java

public @Nonnull Matrix44F getPoseInMap(double timestamp, int status, @Nonnull Matrix44F localTwc)

Kotlin

fun getPoseInMap(timestamp: Double, status: Int, localTwc: Matrix44F): Matrix44F

Objective-C

- (easyar_Matrix44F *)getPoseInMap:(double)timestamp status:(easyar_MotionTrackingStatus)status localTwc:(easyar_Matrix44F *)localTwc

Swift

public func getPoseInMap(_ timestamp: Double, _ status: MotionTrackingStatus, _ localTwc: Matrix44F) -> Matrix44F

C#

public virtual Matrix44F getPoseInMap(double timestamp, MotionTrackingStatus status, Matrix44F localTwc)