Astra SDK  v2.1.3
Public 成员函数 | 所有成员列表
Astra.CoordinateMapper类 参考

Public 成员函数

 CoordinateMapper (int resolutionX, int resolutionY, float hFov, float vFov)
 
Vector3D MapDepthPointToWorldSpace (Vector3D depthPoint)
 
Vector3D MapWorldPointToDepthSpace (Vector3D worldPoint)
 

详细描述

The type Coordinate mapper. get world position from depth or get depth position from world.

The type CoordinateMapper.

构造及析构函数说明

◆ CoordinateMapper()

Astra.CoordinateMapper.CoordinateMapper ( int  resolutionX,
int  resolutionY,
float  hFov,
float  vFov 
)
inline

Instantiates a new Coordinate mapper.

参数
resolutionXthe resolution x
resolutionYthe resolution y
hFovthe h fov
vFovthe v fov

成员函数说明

◆ MapDepthPointToWorldSpace()

Vector3D Astra.CoordinateMapper.MapDepthPointToWorldSpace ( Vector3D  depthPoint)
inline

Map depth point to world space vector3d.

参数
depthPointthe depth point
返回
the vector 3 d

◆ MapWorldPointToDepthSpace()

Vector3D Astra.CoordinateMapper.MapWorldPointToDepthSpace ( Vector3D  worldPoint)
inline

Map world point to depth space vector3d.

参数
worldPointthe world point
返回
the vector 3 d

该类的文档由以下文件生成: