|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.data.processing.GovernanceParameters
public class GovernanceParameters
倾斜数据检查参数
倾斜数据预处理检查项包括检查数据损坏、移除损坏文件、修复包围盒异常、修复三角网异常、移除冗余纹理、限制纹理大小。
构造方法摘要 | |
---|---|
GovernanceParameters()
默认构造一个新的 GovernanceParameters 对象。 |
方法摘要 | |
---|---|
void |
dispose()
释放对象所占资源。 |
CacheLimitTextureSize |
getCacheLimitTextureSize()
获取纹理限制尺寸大小,大于这个值才会提示,默认值为8192。 |
boolean |
isCheckFileIntegrity()
获取是否检查文件的完整性,默认值为true。 |
boolean |
isRemoveErrorFile()
是否移除损坏的文件 默认值为false。 |
boolean |
isRemoveRedundantTexture()
获取是否移除冗余的纹理,默认为false。 |
boolean |
isRepairErrorBoundingBox()
获取是否修复错误的包围盒,默认值为false。 |
boolean |
isRepairErrorGeometry()
是否修复错误的几何信息,默认值为false。 |
boolean |
isScaleTexture()
是否缩放纹理,默认值为false。 |
void |
setCacheLimitTextureSize(CacheLimitTextureSize cacheLimitTextureSize)
设置纹理限制尺寸大小,大于这个值才会提示,默认值为8192。 |
void |
setCheckFileIntegrity(boolean isCheckFileIntegrity)
设置是否检查文件的完整性。 |
void |
setRemoveErrorFile(boolean isRemoveErrorFile)
设置是否移除损坏的文件 |
void |
setRemoveRedundantTexture(boolean isRemoveRedundantTexture)
设置是否移除冗余的纹理,默认为false。 |
void |
setRepairErrorBoundingBox(boolean isRepairErrorBoundingBox)
设置是否修复错误的包围盒,默认值为false。 |
void |
setRepairErrorGeometry(boolean isRepairErrorGeometry)
设置是否修复错误的几何信息 |
void |
setScaleTexture(boolean isScaleTexture)
设置是否缩放纹理 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public GovernanceParameters()
方法详细信息 |
---|
public void dispose()
public boolean isCheckFileIntegrity()
public void setCheckFileIntegrity(boolean isCheckFileIntegrity)
isCheckFileIntegrity
- 一个bool值,设置true表示检查文件的完整性,设置false表示不检查文件的完整性。public boolean isRemoveErrorFile()
public void setRemoveErrorFile(boolean isRemoveErrorFile)
isRemoveErrorFile
- 一个bool值,设置true表示移除损坏的文件,会将原始已损坏的osgb文件删除,所以需要备份下原始倾斜数据,慎用。
设置false表示不移除损坏的文件,可以根据log.txt文件里的提示信息,将损坏的数据修复后再使用。public boolean isRepairErrorGeometry()
public void setRepairErrorGeometry(boolean isRepairErrorGeometry)
isRepairErrorGeometry
- 一个bool值,设置true表示修复错误的几何信息,设置false表示不修复。public boolean isScaleTexture()
public void setScaleTexture(boolean isScaleTexture)
isScaleTexture
- 一个bool值,设置true表示即要检查是否缩放纹理,可根据设置的纹理尺寸大小进行缩放处理;设置false表示不缩放纹理,同时也不能对纹理进行限制尺寸大小的修复。public CacheLimitTextureSize getCacheLimitTextureSize()
public void setCacheLimitTextureSize(CacheLimitTextureSize cacheLimitTextureSize)
当setScaleTexture设置为true时,即会检查是否纹理尺寸的大小,也会根据限制的纹理尺寸大小进行修复处理。
cacheLimitTextureSize
- 纹理尺寸大小public boolean isRemoveRedundantTexture()
public void setRemoveRedundantTexture(boolean isRemoveRedundantTexture)
isRemoveRedundantTexture
- 一个bool值,设置true表示移除冗余纹理,设置false表示不移除。public boolean isRepairErrorBoundingBox()
public void setRepairErrorBoundingBox(boolean isRepairErrorBoundingBox)
isRepairErrorBoundingBox
- 一个bool值,设置true表示修复错误的包围盒,设置false表示不修复错误的包围盒。
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |