com.supermap.data.processing
类 BIMCacheBuilder

java.lang.Object
  继承者 com.supermap.data.processing.BIMCacheBuilder

public class BIMCacheBuilder
extends java.lang.Object

BIM数据生成缓存


构造方法摘要
BIMCacheBuilder()
           
 
方法摘要
 boolean append(UpdateType updateType, boolean bCreateConfigFile)
          根据局部更新方式,生成模型缓存
 boolean build()
          BIM数据生成缓存
 boolean buildWithoutConfigFile()
          生成缓存,但是不生成配置文件
 java.lang.String getAssociateMaterialFile()
          获取材质关联文件
 AttributeExtentType getAttributeExtentType()
          获取属性存储类型
 Rectangle2D getBounds()
          获取覆盖范围
 java.lang.String getCacheName()
          获取缓存名称
 java.lang.String getCategoryField()
          获取特征值字段
 CompressedTextureType getCompressedTextureType()
          获取纹理压缩方式
 TileStorageConnection getConnectionInfo()
          获取MongoDB数据库连接信息
 DatasetVector getDataset()
          获取数据集
 java.util.ArrayList<DatasetSetting> getDatasetSettingArray()
          获取builder的数据集信息(批量)
 PrjCoordSysType getDynamicPrjCoordSysType()
          获取投影类型
 java.lang.String[] getFieldsNames()
          获取设置的所有字段值
 CacheFileType getFileType()
          获取缓存类型
 CacheLimitTextureSize getLimitTextureSize()
          获取纹理大小
 int getLODSize()
          获取LOD层级
 MaterialType getMaterialType()
          获取材质类型
 int getMipmapCount()
          获取mipmap层级
 MultiTextureMode getMultiTextureMode()
          纹理设置,包括单重纹理和多重纹理
 double getObjectFiltrateThreshold()
          获取过滤阈值
 java.lang.String getOutputFolder()
          获取缓存保存路径
 Point3D getPosition()
          获取中心点坐标
 int getProcessThreadsCount()
          获取线程数
 ProcessFileType getProcessType()
          获取缓存生成方式
 Recordset getRecordset()
          获取生成缓存的记录集
 SecondTextureType getSecondTextureType()
          获取第二重纹理类型
 java.util.HashMap<java.lang.Integer,java.lang.Double> getSimplifyPercent()
          获取简化率
 StorageType getStorageType()
          获取存储类型
 java.util.ArrayList<Rectangle2D> getTileBounds()
          获取瓦片范围
 double getTileHeight()
          获取瓦片的高度
 java.util.ArrayList<TileInfos> getTileInfosArray()
          获取瓦片信息
 PyramidSplitType getTilePyramidSplitType()
          获取金字塔剖分类型
 double getTileWidth()
          获取瓦片边长
 java.lang.String getUserIDField()
          获取对象ID字段
 VertexOptimizationType getVertexOptimizationType()
          获取顶点优化方式
 VertexWeightMode getVertexWeightMode()
          获取顶点权重模式
 boolean isCalNormal()
          获取是否生成法线
 boolean isCalTangentAndBinormal()
          是否重新计算切线、副切线
 boolean isHasOutLine()
          数据集生成缓存是否带四边形边框线
 boolean isInstance()
          获取是否实例化
 boolean isRemoveNormal()
          获取是否移除法线
 void setAssociateMaterialFile(java.lang.String assocaiateFile)
          设置材质关联文件
 void setAttributeExtentType(AttributeExtentType type)
          设置属性存储类型
 void setBounds(Rectangle2D value)
          设置缓存地理范围
 void setCacheName(java.lang.String name)
          设置缓存名称
 void setCacheVersion(S3MVersion version)
          设置缓存S3M版本
 void setCalTangentAndBinormal(boolean isCalTangentAndBinormal)
          设置是否重新计算切线、副切线
 void setCategoryField(java.lang.String categoryFieldName)
          设置特征值字段
 void setCompressedTextureType(CompressedTextureType value)
          设置纹理压缩格式
 void setConnectionInfo(TileStorageConnection connInfo)
          设置MongoDB数据库连接信息
 void setDataset(DatasetVector value)
          设置数据集
 void setDatasetArray(DatasetVector[] arrDataset)
          设置数据集(批量)
 void setDatasetSettingArray(java.util.ArrayList<DatasetSetting> datasetSettings)
          设置待缓存对象属性,包括数据集对象,userIDField,fieldNames
 void setDynamicPrjCoordSysType(PrjCoordSysType prjType)
          设置投影类型
 void setFieldsNames(java.lang.String[] fieldsNames)
          设置所有字段值
 void setFileType(CacheFileType fileType)
          设置缓存类型
 void setGlobeType(GlobeType globeType)
          设置球体类型
 void setHasOutLine(boolean value)
          设置数据集生成缓存是否带四边形边框线
 void setIsCalNormal(boolean value)
          设置是否计算法线
 void setIsInstance(boolean bInstance)
          设置是否实例化
 void setIsRemoveNormal(boolean value)
          设置是否移除法线
 void setLimitTextureSize(CacheLimitTextureSize value)
          设置纹理大小
 void setLODSize(int value)
          设置LOD层级
 void setMaterialType(MaterialType materialType)
          设置材质类型
 void setMipmapCount(int value)
          设置mipmap层级
 void setMultiTextureMode(MultiTextureMode mode)
          获取纹理设置内容
 void setObjectFiltrateThreshold(double dbValue)
          设置过滤阈值
 void setOutputFolder(java.lang.String name)
          设置缓存路径
 void setPosition(Point3D value)
          设置中心点坐标
 void setProcessThreadsCount(int value)
          设置线程数
 void setProcessType(ProcessFileType value)
          设置缓存生成方式
 void setRecordset(Recordset value)
          设置生成缓存的记录集
 void setSecondTextureType(SecondTextureType secondTextureType)
          设置第二重纹理类型
 void setSimplifyPercent(java.util.HashMap<java.lang.Integer,java.lang.Double> mapPercent)
          设置简化率
 void setStorageType(StorageType storageType)
          设置存储类型
 void setTileHeight(double setTileHeight)
          设置瓦片的高度
 void setTilePyramidSplitType(PyramidSplitType value)
          设置金字塔剖分类型
 void setTileWidth(double tileWidth)
          设置瓦片边长
 void setUserIDField(java.lang.String userIDName)
          设置对象ID字段
 void setVertexOptimizationType(VertexOptimizationType vertexOptimizationType)
          设置顶点优化方式
 void setVertexWeightMode(VertexWeightMode modeType)
          设置顶点权重模式
 boolean toConfigAndIndexFile(java.lang.String path)
          生成配置文件和索引文件
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BIMCacheBuilder

public BIMCacheBuilder()
方法详细信息

getRecordset

public Recordset getRecordset()
获取生成缓存的记录集


setRecordset

public void setRecordset(Recordset value)
设置生成缓存的记录集


getDataset

public DatasetVector getDataset()
获取数据集


setDataset

public void setDataset(DatasetVector value)
设置数据集


getFieldsNames

public java.lang.String[] getFieldsNames()
获取设置的所有字段值


setFieldsNames

public void setFieldsNames(java.lang.String[] fieldsNames)
设置所有字段值


getBounds

public Rectangle2D getBounds()
获取覆盖范围


setBounds

public void setBounds(Rectangle2D value)
设置缓存地理范围


getCacheName

public java.lang.String getCacheName()
获取缓存名称


setCacheName

public void setCacheName(java.lang.String name)
设置缓存名称


getOutputFolder

public java.lang.String getOutputFolder()
获取缓存保存路径


setOutputFolder

public void setOutputFolder(java.lang.String name)
设置缓存路径


build

public boolean build()
BIM数据生成缓存


getDynamicPrjCoordSysType

public PrjCoordSysType getDynamicPrjCoordSysType()
获取投影类型


setDynamicPrjCoordSysType

public void setDynamicPrjCoordSysType(PrjCoordSysType prjType)
设置投影类型


getTileWidth

public double getTileWidth()
获取瓦片边长


setTileWidth

public void setTileWidth(double tileWidth)
设置瓦片边长


getTileHeight

public double getTileHeight()
获取瓦片的高度


setTileHeight

public void setTileHeight(double setTileHeight)
设置瓦片的高度


getLODSize

public int getLODSize()
获取LOD层级


setLODSize

public void setLODSize(int value)
设置LOD层级


getStorageType

public StorageType getStorageType()
获取存储类型


setStorageType

public void setStorageType(StorageType storageType)
设置存储类型


getConnectionInfo

public TileStorageConnection getConnectionInfo()
获取MongoDB数据库连接信息


setConnectionInfo

public void setConnectionInfo(TileStorageConnection connInfo)
设置MongoDB数据库连接信息


getSimplifyPercent

public java.util.HashMap<java.lang.Integer,java.lang.Double> getSimplifyPercent()
获取简化率


setSimplifyPercent

public void setSimplifyPercent(java.util.HashMap<java.lang.Integer,java.lang.Double> mapPercent)
设置简化率


getTilePyramidSplitType

public PyramidSplitType getTilePyramidSplitType()
获取金字塔剖分类型


setTilePyramidSplitType

public void setTilePyramidSplitType(PyramidSplitType value)
设置金字塔剖分类型


isInstance

public boolean isInstance()
获取是否实例化


setIsInstance

public void setIsInstance(boolean bInstance)
设置是否实例化


getMipmapCount

public int getMipmapCount()
获取mipmap层级


setMipmapCount

public void setMipmapCount(int value)
设置mipmap层级


getFileType

public CacheFileType getFileType()
获取缓存类型


setFileType

public void setFileType(CacheFileType fileType)
设置缓存类型


getProcessType

public ProcessFileType getProcessType()
获取缓存生成方式


setProcessType

public void setProcessType(ProcessFileType value)
设置缓存生成方式


getAttributeExtentType

public AttributeExtentType getAttributeExtentType()
获取属性存储类型


setAttributeExtentType

public void setAttributeExtentType(AttributeExtentType type)
设置属性存储类型


setCacheVersion

public void setCacheVersion(S3MVersion version)
设置缓存S3M版本


getAssociateMaterialFile

public java.lang.String getAssociateMaterialFile()
获取材质关联文件


setAssociateMaterialFile

public void setAssociateMaterialFile(java.lang.String assocaiateFile)
设置材质关联文件


getSecondTextureType

public SecondTextureType getSecondTextureType()
获取第二重纹理类型


setSecondTextureType

public void setSecondTextureType(SecondTextureType secondTextureType)
设置第二重纹理类型


getMaterialType

public MaterialType getMaterialType()
获取材质类型


setMaterialType

public void setMaterialType(MaterialType materialType)
设置材质类型


setGlobeType

public void setGlobeType(GlobeType globeType)
设置球体类型


getObjectFiltrateThreshold

public double getObjectFiltrateThreshold()
获取过滤阈值


setObjectFiltrateThreshold

public void setObjectFiltrateThreshold(double dbValue)
设置过滤阈值


getTileBounds

public java.util.ArrayList<Rectangle2D> getTileBounds()
获取瓦片范围


setDatasetArray

public void setDatasetArray(DatasetVector[] arrDataset)
设置数据集(批量)


getTileInfosArray

public java.util.ArrayList<TileInfos> getTileInfosArray()
获取瓦片信息


setIsCalNormal

public void setIsCalNormal(boolean value)
设置是否计算法线


isCalNormal

public boolean isCalNormal()
获取是否生成法线


isRemoveNormal

public boolean isRemoveNormal()
获取是否移除法线


setIsRemoveNormal

public void setIsRemoveNormal(boolean value)
设置是否移除法线


getVertexOptimizationType

public VertexOptimizationType getVertexOptimizationType()
获取顶点优化方式


setVertexOptimizationType

public void setVertexOptimizationType(VertexOptimizationType vertexOptimizationType)
设置顶点优化方式


getUserIDField

public java.lang.String getUserIDField()
获取对象ID字段


setUserIDField

public void setUserIDField(java.lang.String userIDName)
设置对象ID字段


getCategoryField

public java.lang.String getCategoryField()
获取特征值字段


setCategoryField

public void setCategoryField(java.lang.String categoryFieldName)
设置特征值字段


getVertexWeightMode

public VertexWeightMode getVertexWeightMode()
获取顶点权重模式


setVertexWeightMode

public void setVertexWeightMode(VertexWeightMode modeType)
设置顶点权重模式


getProcessThreadsCount

public int getProcessThreadsCount()
获取线程数


setProcessThreadsCount

public void setProcessThreadsCount(int value)
设置线程数


getPosition

public Point3D getPosition()
获取中心点坐标


setPosition

public void setPosition(Point3D value)
设置中心点坐标


setLimitTextureSize

public void setLimitTextureSize(CacheLimitTextureSize value)
设置纹理大小


getLimitTextureSize

public CacheLimitTextureSize getLimitTextureSize()
获取纹理大小


isHasOutLine

public boolean isHasOutLine()
数据集生成缓存是否带四边形边框线


setHasOutLine

public void setHasOutLine(boolean value)
设置数据集生成缓存是否带四边形边框线


getMultiTextureMode

public MultiTextureMode getMultiTextureMode()
纹理设置,包括单重纹理和多重纹理


setMultiTextureMode

public void setMultiTextureMode(MultiTextureMode mode)
获取纹理设置内容


append

public boolean append(UpdateType updateType,
                      boolean bCreateConfigFile)
根据局部更新方式,生成模型缓存


buildWithoutConfigFile

public boolean buildWithoutConfigFile()
生成缓存,但是不生成配置文件


toConfigAndIndexFile

public boolean toConfigAndIndexFile(java.lang.String path)
生成配置文件和索引文件


getDatasetSettingArray

public java.util.ArrayList<DatasetSetting> getDatasetSettingArray()
获取builder的数据集信息(批量)


setDatasetSettingArray

public void setDatasetSettingArray(java.util.ArrayList<DatasetSetting> datasetSettings)
设置待缓存对象属性,包括数据集对象,userIDField,fieldNames


isCalTangentAndBinormal

public boolean isCalTangentAndBinormal()
是否重新计算切线、副切线


setCalTangentAndBinormal

public void setCalTangentAndBinormal(boolean isCalTangentAndBinormal)
设置是否重新计算切线、副切线


getCompressedTextureType

public CompressedTextureType getCompressedTextureType()
获取纹理压缩方式


setCompressedTextureType

public void setCompressedTextureType(CompressedTextureType value)
设置纹理压缩格式