com.supermap.realspace.spatialanalyst
类 ObliquePhotogrammetry3DModel

java.lang.Object
  继承者 com.supermap.realspace.spatialanalyst.ObliquePhotogrammetry3DModel

public class ObliquePhotogrammetry3DModel
extends java.lang.Object

倾斜摄影模型输出影像图类。该类提供了倾斜摄影模型生成DSM(数字表面模型)、DOM(数字正射影像)的方法。


构造方法摘要
ObliquePhotogrammetry3DModel(Scene scene)
          根据指定的参数构造一个ObliquePhotogrammetry3DModel的新对象。
 
方法摘要
 void addSteppedListener(SteppedListener l)
          添加一个用于接收进度条事件(SteppedEvent)的监听器。
 void dispose()
          释放对象所占资源。
 java.util.ArrayList<Point3D> geometryMatch(java.util.ArrayList<LookAt> lookAts)
          根据输入点位置、方位角、俯仰角计算点云位置
 boolean modelToDOM(java.lang.String strPicPath, Rectangle2D bounds, double dResolution, double camHeight)
          倾斜摄影模型生成DOM(Digital Orthophoto Map,数字正射影像),结果数据为 *.tiff 影像数据。
 boolean modelToDOMDSM(Datasource targetDatasource, java.lang.String dtName, java.lang.String strPicPath, Rectangle2D bounds, double dResolution, double camHeight, double additionalHeight)
          倾斜摄影模型生成DSM,输出倾斜摄影高程图到数据集。
 java.lang.String modelToDSM(Dataset targetDataset, Rectangle2D bounds, double camHeight)
          倾斜摄影模型生成DSM,输出倾斜摄影高程图镶嵌到已有数据集中。
 java.lang.String modelToDSM(Datasource targetDatasource, java.lang.String dtName, Rectangle2D bounds, double dResolution, double camHeight)
          倾斜摄影模型生成DSM((Digital Surface Model,数字表面模型),DSM为包含了地表建筑物、桥梁、数目等要素的地表高程模型。
 boolean output25DMap(java.lang.String path, boolean bGenerateVectorPlane, Rectangle2D bounds, double resolution, double heading, double tilt, double minHeight, double maxHeight)
          生成2.5D地图
 GeoRegion output25DRegion(Geometry geo, Rectangle2D bounds, double heading, double tilt, double minHeight, double maxHeight)
          2.5D出图获取矢量图。
 boolean outputStreetFacade(java.lang.String path, GeoLine3D geoLine3D, double resolution, double farDist, double minHeight, double maxHeight)
          生成立面图。
 void removeSteppedListener(SteppedListener l)
          移除一个用于接收进度条事件(SteppedEvent)的监听器。
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ObliquePhotogrammetry3DModel

public ObliquePhotogrammetry3DModel(Scene scene)
根据指定的参数构造一个ObliquePhotogrammetry3DModel的新对象。

参数:
scene - 指定的三维平面场景。
方法详细信息

modelToDSM

public java.lang.String modelToDSM(Datasource targetDatasource,
                                   java.lang.String dtName,
                                   Rectangle2D bounds,
                                   double dResolution,
                                   double camHeight)
倾斜摄影模型生成DSM((Digital Surface Model,数字表面模型),DSM为包含了地表建筑物、桥梁、数目等要素的地表高程模型。

参数:
targetDatasource - 指定用于存储结果DSM数据集的数据源。
dtName - 指定结果DSM数据集名称。
bounds - 指定生成DSM数据集的范围。
dResolution - 指定生成DSM数据集的分辨率。
camHeight - 指定出图时相机高度,相机高度越低看到的建筑物越细致,默认为50米。
返回:
保存的数据集名称,如果为空表示出图失败。

modelToDSM

public java.lang.String modelToDSM(Dataset targetDataset,
                                   Rectangle2D bounds,
                                   double camHeight)
倾斜摄影模型生成DSM,输出倾斜摄影高程图镶嵌到已有数据集中。

参数:
targetDataset - 指定用于被镶嵌的DEM数据集。
bounds - 指定生成DSM数据集的范围。
camHeight - 指定出图时相机高度,相机高度越低看到的建筑物越细致,默认为50米。
返回:
保存的数据集名称,如果为空表示出图失败。

modelToDOM

public boolean modelToDOM(java.lang.String strPicPath,
                          Rectangle2D bounds,
                          double dResolution,
                          double camHeight)
倾斜摄影模型生成DOM(Digital Orthophoto Map,数字正射影像),结果数据为 *.tiff 影像数据。

参数:
strPicPath - 指定用于存储结果图像TIFF文件路径。
bounds - 指定输出结果数据的范围。
dResolution - 指定结果影像的分辨率。
camHeight - 指定出图时相机高度,相机高度越低看到的建筑物越细致,默认为50米。
返回:
保存影像文件是否成功,true表示出图成功,否则为false。

modelToDOMDSM

public boolean modelToDOMDSM(Datasource targetDatasource,
                             java.lang.String dtName,
                             java.lang.String strPicPath,
                             Rectangle2D bounds,
                             double dResolution,
                             double camHeight,
                             double additionalHeight)
倾斜摄影模型生成DSM,输出倾斜摄影高程图到数据集。 DSM为包含了地表建筑物、桥梁、数目等要素的地表高程模型。

参数:
targetDatasource - 指定用于存储结果DSM数据集的数据源。
dtName - 指定结果DSM数据集名称。
strPicPath - 指定用于存储结果图像TIFF文件路径及名称。
bounds - 指定生成DSM数据集的范围。
dResolution - 指定生成DSM数据集的分辨率。
camHeight - 指定出图时相机高度,相机高度越低看到的建筑物越细致,默认为50米。
additionalHeight - 指定结果数据集自定义附加高度。可设置正负值,负值表示结果数据的高度比地表高程模型低;反之,则高。单位:米。
返回:

output25DMap

public boolean output25DMap(java.lang.String path,
                            boolean bGenerateVectorPlane,
                            Rectangle2D bounds,
                            double resolution,
                            double heading,
                            double tilt,
                            double minHeight,
                            double maxHeight)
生成2.5D地图

参数:
path - 地图存放路径
bGenerateVectorPlane - 是否同时生成矢量面
bounds - 出图范围
resolution - 地图分辨率
heading - 旋转角度
tilt - 倾斜角度
minHeight - 当前场景的基准高度
maxHeight - 当前场景的最大高度
返回:
是否完成出图。

output25DRegion

public GeoRegion output25DRegion(Geometry geo,
                                 Rectangle2D bounds,
                                 double heading,
                                 double tilt,
                                 double minHeight,
                                 double maxHeight)
2.5D出图获取矢量图。

参数:
geo - 用于2.5D出图的模型对象。
bounds - 出图范围
heading - 旋转角度
tilt - 倾斜角度
minHeight - 前场景的基准高度
maxHeight - 当前场景的最大高度
返回:
成功则能获取到指定范围内模型的二维投影面。

outputStreetFacade

public boolean outputStreetFacade(java.lang.String path,
                                  GeoLine3D geoLine3D,
                                  double resolution,
                                  double farDist,
                                  double minHeight,
                                  double maxHeight)
生成立面图。支持生成TIFF格式的图片。

参数:
path - 立面图输出的全路径。
geoLine3D - 出图轨迹线。
resolution - 立面图分辨率。
farDist - 立面图场景的最大可见距离。
minHeight - 当前场景的基准高度。
maxHeight - 当前场景的最大高度。
返回:
是否完成出图。成功会在指定路径下生成一张TIFF格式的图片。

addSteppedListener

public void addSteppedListener(SteppedListener l)
添加一个用于接收进度条事件(SteppedEvent)的监听器。

参数:
l - 一个用于接收进度条事件的监听器。

removeSteppedListener

public void removeSteppedListener(SteppedListener l)
移除一个用于接收进度条事件(SteppedEvent)的监听器。

参数:
l - 一个用于接收进度条事件的监听器。

dispose

public void dispose()
释放对象所占资源。


geometryMatch

public java.util.ArrayList<Point3D> geometryMatch(java.util.ArrayList<LookAt> lookAts)
根据输入点位置、方位角、俯仰角计算点云位置