geosolution/math~ProjectImage3DModel(options)

地理解决方案数学模型-三维视频投影,注意:相同类型只能创建一个。

Deprecated:
  • 废弃,请参考geosolution/view~ImageProjector

Summary

Methods:
addMathCell

添加裁剪投影要素

removeMathCellById

根据id移除裁剪盒子要素

updateVideoSource

更新视频源时独立使用,

Constructor

new ProjectImage3DModel(options)

构造函数

Parameters:
Name Type Description
options Object

初始化可选项

Example
let model=new hmap.geosolution.math.ProjectImage3DModel({});
Deprecated:
  • 废弃,请参考geosolution/view~ImageProjector

Methods

addMathCell(projectImage)

添加裁剪投影要素

Parameters:
Name Type Description
projectImage module:geosolution/cell~ProjectImage3D
Example
clipBoxModel.addMathCell(clipbox);

removeMathCellById(id)

根据id移除裁剪盒子要素

Parameters:
Name Type Description
id
Example
clipBoxModel.removeMathCellById(id);

updateVideoSource()

更新视频源时独立使用,