public class TransformCalibrationResult extends CalibrationResult
校正点
,
通过偏移量校正使用示例
//校正场景
if (arSceneLoader == null){
//若场景未加载
arView.setDeviceLocation(result.getDeviceLocation());
arView.setAzimuth(result.getDeltaAzimuth());
//do sth.(initArScene(this))
}else {
//若场景已加载,取出场景的节点,设置位置偏移量与旋转角度
arSceneLoader.getSceneElement().setPosition(offset);
arSceneLoader.getSceneElement().setRotationAngleNoRepeat(new Quaternion(new Vector3(0,1,0),deltaAzimuth));
}
限定符和类型 | 方法和说明 |
---|---|
Transformation |
getToArTransformation()
获取从地理坐标变换为AR坐标的数据配准类
|
Transformation |
getToGeoTransformation()
获取从AR坐标变换为地理坐标的数据配准类
|
java.util.List<Point3D> |
toArPoint(Point2Ds points)
通过校正结果将地理坐标转换为AR坐标集
|
Point2Ds |
toGeoPoint(java.util.List<Point3D> pointList)
通过校正结果将AR坐标点集转为地理坐标
|
calculate, calculate, getCalibrationPoints, getDeltaAzimuth, getDeviceLocation, getOffset, getScale
public java.util.List<Point3D> toArPoint(Point2Ds points)
points
- public Point2Ds toGeoPoint(java.util.List<Point3D> pointList)
pointList
- public Transformation getToGeoTransformation()
Transformation
public Transformation getToArTransformation()
Transformation