com.supermap.realspace.threeddesigner
类 OperationParameter
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.threeddesigner.OperationParameter
-
- 所有已实现的接口:
- IDisposable
public class OperationParameter extends com.supermap.data.InternalHandleDisposable
倾斜处理参数类
-
-
构造器概要
构造器 构造器和说明 OperationParameter(ProcessType _processType)
构造一个新的倾斜处理对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
dispose()
释放该对象所占用的资源。double
getBottomHeight()
返回底部高度,单位:米。String
getCacheName()
返回目标瓦片名称ClippingType
getClippingType()
返回裁剪类型ConstraintType
getConstraintType()
返回约束条件MosaicQuality
getMosaicQuality()
返回镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度String
getOutputFolder()
获取目标瓦片路径ProcessType
getProcessType()
返回倾斜处理类型Color
getReplaceColor()
返回替换的颜色double
getSlopeWidth()
返回缓坡宽度,单位:米。double
getTopHeight()
返回顶部高度,单位:米。boolean
isCreateHistory()
返回是否创建历史记录,默认为true。boolean
isLimitHeight()
返回是否限制高度范围。void
setBottomHeight(double bottomHeight)
设置底部高度。void
setCacheName(String cacheName)
设置目标瓦片名称void
setClippingType(ClippingType clippingType)
设置裁剪类型void
setConstraintType(ConstraintType constraintType)
设置约束条件,约束条件分为软约束、硬约束。void
setCreateHistory(boolean isCreateHistory)
设置是否创建历史记录。void
setLimitHeight(boolean limitHeight)
设置是否限制高度范围。void
setMosaicQuality(MosaicQuality mosaicQuality)
设置镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度void
setOutputFolder(String outputFolder)
设置目标瓦片路径。void
setReplaceColor(Color replaceColor)
设置替换颜色void
setSlopeWidth(double slopeWidth)
设置缓坡宽度。void
setTopHeight(double topHeight)
设置顶部高度。
-
-
-
构造器详细资料
-
OperationParameter
public OperationParameter(ProcessType _processType)
构造一个新的倾斜处理对象。
-
-
方法详细资料
-
dispose
public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
-
getProcessType
public ProcessType getProcessType()
返回倾斜处理类型- 返回:
- 倾斜处理类型,类型有裁剪、镶嵌、挖洞
-
getBottomHeight
public double getBottomHeight()
返回底部高度,单位:米。
-
setBottomHeight
public void setBottomHeight(double bottomHeight)
设置底部高度。- 参数:
bottomHeight
- 底部高度
-
getTopHeight
public double getTopHeight()
返回顶部高度,单位:米。
-
setTopHeight
public void setTopHeight(double topHeight)
设置顶部高度。- 参数:
topHeight
- 顶部高度
-
isLimitHeight
public boolean isLimitHeight()
返回是否限制高度范围。
-
setLimitHeight
public void setLimitHeight(boolean limitHeight)
设置是否限制高度范围。- 参数:
limitHeight
- true,限制高度范围;false,没有限制高度范围。
-
getReplaceColor
public Color getReplaceColor()
返回替换的颜色
-
setReplaceColor
public void setReplaceColor(Color replaceColor)
设置替换颜色
-
getSlopeWidth
public double getSlopeWidth()
返回缓坡宽度,单位:米。
-
setSlopeWidth
public void setSlopeWidth(double slopeWidth)
设置缓坡宽度。
-
getConstraintType
public ConstraintType getConstraintType()
返回约束条件
-
setConstraintType
public void setConstraintType(ConstraintType constraintType)
设置约束条件,约束条件分为软约束、硬约束。 软约束是指结果边界高程值与原来一致,保持不变。硬约束是指结果边界高程和裁剪面边界高程值一致。- 参数:
constraintType
- 约束条件:软约束、硬约束。
-
getClippingType
public ClippingType getClippingType()
返回裁剪类型
-
setClippingType
public void setClippingType(ClippingType clippingType)
设置裁剪类型- 参数:
clippingType
- 裁剪类型:保留区域内,保留区域外。
-
isCreateHistory
public boolean isCreateHistory()
返回是否创建历史记录,默认为true。
-
setCreateHistory
public void setCreateHistory(boolean isCreateHistory)
设置是否创建历史记录。- 参数:
isCreateHistory
- 设置为true时,创建历史记录,结果数据无法另存;设置为false时,结果数据可以另存文件夹。
-
getOutputFolder
public String getOutputFolder()
获取目标瓦片路径
-
setOutputFolder
public void setOutputFolder(String outputFolder)
设置目标瓦片路径。另存路径时,同时需要设置OperationParameter.setCreateHistory(boolean)
为false才有效果
-
getCacheName
public String getCacheName()
返回目标瓦片名称
-
setCacheName
public void setCacheName(String cacheName)
设置目标瓦片名称
-
getMosaicQuality
public MosaicQuality getMosaicQuality()
返回镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度
-
setMosaicQuality
public void setMosaicQuality(MosaicQuality mosaicQuality)
设置镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度- 参数:
mosaicQuality
- 镶嵌质量
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.