SurfaceTrackerResult Class¶
Inherits: FrameFilterResult
Description¶
SurfaceTracker 的结果。
transform¶
Camera相对于世界坐标的变换。其中Camera坐标系与世界坐标系均为右手坐标系。Camera坐标系的原点为相机光心,x轴正方向为右,y轴正方向为上,z轴正方向为光线进入相机的方向。(其中的右和上,在移动设备上指设备自然方向的右和上。)世界坐标系的y轴向上(重力方向相反)。数据的排列方式为row-major,与OpenGL的column-major相反。
- C: easyar_Matrix44F easyar_SurfaceTrackerResult_transform(const easyar_SurfaceTrackerResult * This)¶
- C++17: Matrix44F transform()¶
- Traditional C++: Matrix44F transform()¶
- Java: public @Nonnull Matrix44F transform()¶
- Kotlin: fun transform(): Matrix44F¶
- Objective-C: - (easyar_Matrix44F *)transform¶
- Swift: public func transform() -> Matrix44F¶
- C#: public virtual Matrix44F transform()¶
status¶
(until 3.0.1)
获取当前跟踪状态。
- C: easyar_SurfaceTrackingStatus easyar_SurfaceTrackerResult_status(const easyar_SurfaceTrackerResult * This)¶
- C++17: SurfaceTrackingStatus status()¶
- Traditional C++: SurfaceTrackingStatus status()¶
- Java: public int status()¶
- Kotlin: fun status(): Int¶
- Objective-C: - (easyar_SurfaceTrackingStatus)status¶
- Swift: public func status() -> SurfaceTrackingStatus¶
- C#: public virtual SurfaceTrackingStatus status()¶