public abstract class CacheProcessor3D extends Object
构造器和说明 |
---|
CacheProcessor3D() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addSteppedListener(SteppedListener l) |
static ArrayList<Geometry3D> |
boolOperationTIN(String sctFile,
ArrayList<Geometry3D> geometryList,
BooleanOperatorType booleanType)
地形与三维面/模型做布尔运算,该接口只支持求差以及求交,不支持求并
|
static boolean |
buildOSGB(DatasetGrid dataSetGrid,
DatasetImage dataSetImage,
int startLevel,
int endLevel,
String cacheName,
String outputFolder,
boolean isDxtCompress,
boolean isLocalType)
地形影像生成OSGB
|
static boolean |
buildPagedLODInfo(String configFile)
已过时。
|
static boolean |
buildPagedLODInfo(String configFile,
int LODCount)
已过时。
|
static boolean |
buildS3M(DatasetGrid dataSetGrid,
DatasetImage dataSetImage,
int startLevel,
int endLevel,
String cacheName,
String outputFolder,
boolean isDxtCompress,
boolean isLocalType)
地形影像生成S3M
|
static boolean |
clip(S3mInfo toInfo,
S3mInfo fromInfo,
String strFileName,
ArrayList<Geometry> clipRegionList,
ClipParameter clipParam) |
static boolean |
clip(String scpFile,
ArrayList<Geometry> clipRegionList,
ClippingType clippingType,
ConstraintType constraintType)
已过时。
|
static boolean |
clip(String scpFile,
ArrayList<Geometry> clipRegionList,
String OutputFolder,
String CacheName,
ClippingType clippingType,
ConstraintType constraintType)
已过时。
|
static boolean |
clipConfigFile(String outpath,
String configPath,
ArrayList<Geometry> clipRegionList,
ClipParameter clipParameter) |
static ArrayList<Geometry3D> |
clipGeometryByS3M(String scpPath,
ArrayList<Geometry3D> geometryList,
double dTolerance)
倾斜分割三维面
|
static boolean |
clipTIN(String sctFile,
ArrayList<Geometry> clipRegionList,
ClippingType clippingType,
ConstraintType constraintType)
Tin地形数据裁剪,结果默认存储到以当前时间命名的文件夹内
|
static boolean |
clipTIN(String sctFile,
ArrayList<Geometry> clipRegionList,
String OutputFolder,
String CacheName,
ClippingType clippingType,
ConstraintType constraintType)
Tin地形数据裁剪,结果输出到指定路径下
|
static boolean |
compTextureAndDiscret(String scpFileName,
String outputFolder,
TextureCompressType type,
DatasetVector pDatasetVector,
String strFieldName,
ModelFileType outputFileType) |
static boolean |
computeDistancesFromPointCloudToModels(String scpFile,
ArrayList<Geometry> modelList,
String outputFolder,
String cacheName)
用于计算点云与实体模型空间有向距离计算
|
static boolean |
cull(String scpFile,
ArrayList<Geometry> cullRegionList,
CullParameter param)
倾斜摄影数据剔除悬浮物
|
static boolean |
cull(String scpFile,
ArrayList<GeoSphere> boundingSphereList)
倾斜摄影数据剔除
|
static boolean |
discretExtremum(String scpFileName,
DatasetVector pDatasetVector,
String bottomName,
String extrudeName)
倾斜摄影单体化数据集添加最值字段,根据矢量面对应的倾斜数据提取高度最值保存到属性字段中
|
static boolean |
eraseTIN(String sctFile,
ArrayList<Geometry3D> geometryList)
Tin地形缓存与模型对象进行布尔运算-求差,输出Tin地形
|
static boolean |
eraseTINSurface(String sctFile,
ArrayList<Geometry3D> geometryList)
TIN表面运算-求差
|
static ArrayList<GeoLine3D> |
extractPowerLinesFromPointCloud(String scpFile,
ExtractPowerLinesParameters parameters)
点云电力线提取为三维矢量线。
|
static GeoModel3D |
extractTINSurface(String sctFile,
int nLevel)
提取Tin地形指定层的表面三角网
|
static ArrayList<Geometry3D> |
geometryIntersection(String scFile,
ArrayList<Geometry3D> geometryList) |
static ArrayList<Geometry3D> |
geometryMatch(String[] scpFiles,
ArrayList<Geometry> geometryList,
MatchParameter matchParam) |
static ArrayList<Geometry3D> |
geometryMatch(String scpFile,
ArrayList<Geometry> geometryList) |
static ArrayList<Geometry3D> |
geometryMatch(String scpFile,
ArrayList<Geometry> geometryList,
double sampleDistance) |
static ArrayList<Geometry3D> |
geometryMatch(String scpFile,
ArrayList<Geometry> geometryList,
MatchParameter matchParam) |
static ArrayList<Geometry3D> |
geometryMatch(String scpFile,
ArrayList<Geometry> geometryList,
PrjCoordSys prjCoordSys,
double granularity) |
static ArrayList<Geometry3D> |
geometryMatchTIN(String sctFile,
ArrayList<Geometry> geometryList) |
static ArrayList<Geometry3D> |
geometryMatchTIN(String sctFile,
ArrayList<Geometry> geometryList,
double sampleDistance) |
static ArrayList<Geometry3D> |
geometryMatchTIN(String sctFile,
ArrayList<Geometry> geometryList,
MatchParameter matchParam) |
static BatchOperator |
getBatchOperator() |
static void |
getHistory(String configFile,
ArrayList<Calendar> times)
获取倾斜摄影数据或Tin数据的处理历史记录
|
static boolean |
getIntersectPointSet(String pointCloudFile,
ArrayList<GeoLine3D> analystLineList,
double radius,
ArrayList<ArrayList<LocationInfo>> outResultPointList)
获取点云与待分析线段缓冲区相交点集
|
static boolean |
hasPagedLODInfo(String configFile)
空间索引是否已经存在
|
static boolean |
hollowTIN(String sctFile,
ArrayList<Geometry> clipRegionList,
ClippingType clippingType,
ConstraintType constraintType)
Tin地形数据镂空处理,结果默认存储到以当前时间命名的文件夹内
|
static boolean |
hollowTIN(String sctFile,
ArrayList<Geometry> clipRegionList,
String OutputFolder,
String CacheName,
ClippingType clippingType,
ConstraintType constraintType)
Tin地形数据镂空处理,结果输出到指定路径下
|
static boolean |
intersect(S3mInfo fromInfo,
byte[] OSGBFileBytes,
ArrayList<Geometry> clipRegionList,
ClipParameter clipParam,
CacheFileType cacheFileType)
判断文件是否和裁剪面相交
|
static boolean |
intersect(S3mInfo fromInfo,
String strFileName,
ArrayList<Geometry> clipRegionList,
ClipParameter clipParam)
判断文件是否和裁剪面相交
|
static boolean |
modelToDSM(String scpPath,
Datasource targetDataSource,
String targetDatasetName,
Rectangle2D rectangle2D,
double dResolution)
模型转换为DSM
|
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList)
已过时。
|
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
ArrayList<Geometry> refOffsettingRegionList) |
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
ArrayList<Geometry> refOffsettingRegionList,
String outputFolder,
String cacheName) |
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
Color replaceColor)
已过时。
|
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
Color replaceColor,
String OutputFolder,
String CacheName)
已过时。
|
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
double slopeWidth)
已过时。
|
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
String OutputFolder,
String CacheName)
已过时。
|
static boolean |
mosaic(String scpFile,
ArrayList<Geometry> mosaicRegionList,
String outputFolder,
String cacheName,
double slopeWidth)
已过时。
|
static boolean |
mosaicTIN(String sctFile,
ArrayList<Geometry> mosaicRegion3DList)
Tin地形数据镶嵌处理,结果默认存储到以当前时间命名的文件夹内
|
static boolean |
mosaicTIN(String sctFile,
ArrayList<Geometry> mosaicRegionList,
ArrayList<Geometry> refOffsettingRegionList) |
static boolean |
mosaicTIN(String sctFile,
ArrayList<Geometry> mosaicRegionList,
ArrayList<Geometry> refOffsettingRegionList,
String outputFolder,
String cacheName) |
static boolean |
mosaicTIN(String sctFile,
ArrayList<Geometry> mosaicRegionList,
double slopeWidth) |
static boolean |
mosaicTIN(String sctFile,
ArrayList<Geometry> mosaicRegion3DList,
String OutputFolder,
String CacheName)
Tin地形数据镶嵌处理,结果输出到指定路径下
|
static boolean |
mosaicTIN(String sctFile,
ArrayList<Geometry> mosaicRegionList,
String outputFolder,
String cacheName,
double slopeWidth) |
static double[] |
pointToSurfaceShortesDistance(String scpFile,
ArrayList<GeoPoint3D> geoPoints,
HashMap<GeoPoint3D,ArrayList<LocationInfo>> outModelInformations)
查询点到模型表面的最短距离并返回点位及模型ID
|
static ArrayList<LocationInfo> |
prepareInfos(int startIndex,
int count,
ArrayList<LocationInfo> totalInfos) |
static boolean |
process(String scpPath,
ArrayList<Geometry> regions,
OperationParameter parameter)
用于Tin缓存以及倾斜处理
|
static boolean |
process(String scpPath,
ArrayList<Geometry> regions,
String outputFolder,
String cacheName,
OperationParameter parameter)
已过时。
|
static boolean |
removePagedLODInfo(String configFile)
删除空间索引
|
static void |
removeSteppedListener(SteppedListener l) |
static boolean |
replaceTextureByColor(String scpFile,
ArrayList<Geometry> regionList,
Color color)
倾斜摄影数据替换纹理颜色处理,结果默认存储到以当前时间命名的文件夹内
|
static void |
rollBack(String scFile,
Calendar time)
历史记录回滚
|
static void |
setBatchOperator(BatchOperator batchOperatorImport) |
static boolean |
subDivideTIN(String sctPath,
int endLevel)
TIN细分
|
static boolean |
unionTIN(String sctFile,
ArrayList<Geometry3D> geometryList)
Tin地形缓存与模型对象进行布尔运算-合并,输出Tin地形
|
static boolean |
unionTINSurface(String sctFile,
ArrayList<Geometry3D> geometryList)
TIN表面运算-合并
|
@Deprecated public static boolean buildPagedLODInfo(String configFile)
configFile
- scp文件路径@Deprecated public static boolean buildPagedLODInfo(String configFile, int LODCount)
configFile
- scp文件路径@Deprecated public static boolean clip(String scpFile, ArrayList<Geometry> clipRegionList, ClippingType clippingType, ConstraintType constraintType)
scpFile
- 倾斜摄影数据scp文件clipRegionList
- 裁剪面集合(必须是地理坐标系数据)clippingType
- constraintType
- @Deprecated public static boolean clip(String scpFile, ArrayList<Geometry> clipRegionList, String OutputFolder, String CacheName, ClippingType clippingType, ConstraintType constraintType)
scpFile
- clipRegionList
- OutputFolder
- CacheName
- clippingType
- constraintType
- public static boolean clipTIN(String sctFile, ArrayList<Geometry> clipRegionList, String OutputFolder, String CacheName, ClippingType clippingType, ConstraintType constraintType)
sctFile
- clipRegionList
- OutputFolder
- CacheName
- clippingType
- constraintType
- public static boolean clipTIN(String sctFile, ArrayList<Geometry> clipRegionList, ClippingType clippingType, ConstraintType constraintType)
sctFile
- clipRegionList
- clippingType
- constraintType
- public static boolean cull(String scpFile, ArrayList<GeoSphere> boundingSphereList)
scpFile
- boundingSphereList
- public static boolean cull(String scpFile, ArrayList<Geometry> cullRegionList, CullParameter param)
scpFile
- cullRegionList
- public static boolean discretExtremum(String scpFileName, DatasetVector pDatasetVector, String bottomName, String extrudeName)
scpFileName
- pDatasetVector
- 面数据集bottomName
- 存储底部高程的属性字段名称extrudeName
- 存储高度的属性字段名称public static boolean eraseTIN(String sctFile, ArrayList<Geometry3D> geometryList)
sctFile
- geometryList
- public static GeoModel3D extractTINSurface(String sctFile, int nLevel)
sctFile
- Tin地形文件sct路径nLevel
- 指定层public static void getHistory(String configFile, ArrayList<Calendar> times)
configFile
- times
- public static boolean hasPagedLODInfo(String configFile)
configFile
- public static boolean hollowTIN(String sctFile, ArrayList<Geometry> clipRegionList, ClippingType clippingType, ConstraintType constraintType)
sctFile
- clipRegionList
- clippingType
- constraintType
- public static boolean hollowTIN(String sctFile, ArrayList<Geometry> clipRegionList, String OutputFolder, String CacheName, ClippingType clippingType, ConstraintType constraintType)
sctFile
- clipRegionList
- OutputFolder
- CacheName
- clippingType
- constraintType
- @Deprecated public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList)
scpFile
- mosaicRegionList
- @Deprecated public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, Color replaceColor)
scpFile
- mosaicRegionList
- @Deprecated public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, Color replaceColor, String OutputFolder, String CacheName)
scpFile
- mosaicRegionList
- @Deprecated public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, String OutputFolder, String CacheName)
scpFile
- mosaicRegionList
- public static boolean mosaicTIN(String sctFile, ArrayList<Geometry> mosaicRegion3DList)
sctFile
- mosaicRegion3DList
- public static boolean mosaicTIN(String sctFile, ArrayList<Geometry> mosaicRegion3DList, String OutputFolder, String CacheName)
sctFile
- mosaicRegion3DList
- OutputFolder
- CacheName
- public static boolean removePagedLODInfo(String configFile)
configFile
- public static boolean replaceTextureByColor(String scpFile, ArrayList<Geometry> regionList, Color color)
scpFile
- regionList
- color
- public static boolean unionTIN(String sctFile, ArrayList<Geometry3D> geometryList)
sctFile
- geometryList
- public static ArrayList<Geometry3D> geometryMatch(String scpFile, ArrayList<Geometry> geometryList)
public static ArrayList<Geometry3D> geometryMatch(String scpFile, ArrayList<Geometry> geometryList, double sampleDistance)
public static ArrayList<Geometry3D> geometryMatch(String scpFile, ArrayList<Geometry> geometryList, MatchParameter matchParam)
public static ArrayList<Geometry3D> geometryIntersection(String scFile, ArrayList<Geometry3D> geometryList)
public static ArrayList<Geometry3D> geometryMatch(String scpFile, ArrayList<Geometry> geometryList, PrjCoordSys prjCoordSys, double granularity)
public static ArrayList<Geometry3D> geometryMatch(String[] scpFiles, ArrayList<Geometry> geometryList, MatchParameter matchParam)
public static ArrayList<Geometry3D> geometryMatchTIN(String sctFile, ArrayList<Geometry> geometryList)
public static ArrayList<Geometry3D> geometryMatchTIN(String sctFile, ArrayList<Geometry> geometryList, double sampleDistance)
public static ArrayList<Geometry3D> geometryMatchTIN(String sctFile, ArrayList<Geometry> geometryList, MatchParameter matchParam)
@Deprecated public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, double slopeWidth)
@Deprecated public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, String outputFolder, String cacheName, double slopeWidth)
public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, ArrayList<Geometry> refOffsettingRegionList)
public static boolean mosaic(String scpFile, ArrayList<Geometry> mosaicRegionList, ArrayList<Geometry> refOffsettingRegionList, String outputFolder, String cacheName)
public static boolean mosaicTIN(String sctFile, ArrayList<Geometry> mosaicRegionList, double slopeWidth)
public static boolean mosaicTIN(String sctFile, ArrayList<Geometry> mosaicRegionList, String outputFolder, String cacheName, double slopeWidth)
public static boolean mosaicTIN(String sctFile, ArrayList<Geometry> mosaicRegionList, ArrayList<Geometry> refOffsettingRegionList)
public static boolean mosaicTIN(String sctFile, ArrayList<Geometry> mosaicRegionList, ArrayList<Geometry> refOffsettingRegionList, String outputFolder, String cacheName)
public static boolean compTextureAndDiscret(String scpFileName, String outputFolder, TextureCompressType type, DatasetVector pDatasetVector, String strFieldName, ModelFileType outputFileType)
public static void addSteppedListener(SteppedListener l)
public static void removeSteppedListener(SteppedListener l)
public static boolean clipConfigFile(String outpath, String configPath, ArrayList<Geometry> clipRegionList, ClipParameter clipParameter)
public static boolean clip(S3mInfo toInfo, S3mInfo fromInfo, String strFileName, ArrayList<Geometry> clipRegionList, ClipParameter clipParam)
public static boolean intersect(S3mInfo fromInfo, byte[] OSGBFileBytes, ArrayList<Geometry> clipRegionList, ClipParameter clipParam, CacheFileType cacheFileType)
fromInfo
- OSGBFileBytes
- clipRegionList
- clipParam
- cacheFileType
- public static boolean intersect(S3mInfo fromInfo, String strFileName, ArrayList<Geometry> clipRegionList, ClipParameter clipParam)
fromInfo
- strFileName
- clipRegionList
- clipParam
- public static BatchOperator getBatchOperator()
public static void setBatchOperator(BatchOperator batchOperatorImport)
public static boolean unionTINSurface(String sctFile, ArrayList<Geometry3D> geometryList)
sctFile
- geometryList
- public static boolean eraseTINSurface(String sctFile, ArrayList<Geometry3D> geometryList)
public static ArrayList<Geometry3D> boolOperationTIN(String sctFile, ArrayList<Geometry3D> geometryList, BooleanOperatorType booleanType)
public static ArrayList<Geometry3D> clipGeometryByS3M(String scpPath, ArrayList<Geometry3D> geometryList, double dTolerance)
scpPath
- 倾斜摄影数据SCP文件路径geometryList
- 待分割的三维面集合dTolerance
- 容差(单位:米),倾斜高程-三维面高程在容差范围内,不处理三维面public static double[] pointToSurfaceShortesDistance(String scpFile, ArrayList<GeoPoint3D> geoPoints, HashMap<GeoPoint3D,ArrayList<LocationInfo>> outModelInformations)
scpFile
- 模型缓存路径geoPoints
- 待查询的点集合outModelInformations
- 输出信息。传入一个new的HashMappublic static boolean getIntersectPointSet(String pointCloudFile, ArrayList<GeoLine3D> analystLineList, double radius, ArrayList<ArrayList<LocationInfo>> outResultPointList)
pointCloudFile
- analystLineList
- radius
- outResultPointList
- public static ArrayList<LocationInfo> prepareInfos(int startIndex, int count, ArrayList<LocationInfo> totalInfos)
public static boolean modelToDSM(String scpPath, Datasource targetDataSource, String targetDatasetName, Rectangle2D rectangle2D, double dResolution)
scpPath
- targetDataSource
- targetDatasetName
- rectangle2D
- dResolution
- @Deprecated public static boolean process(String scpPath, ArrayList<Geometry> regions, String outputFolder, String cacheName, OperationParameter parameter)
scpPath
- regions
- outputFolder
- cacheName
- parameter
- public static boolean process(String scpPath, ArrayList<Geometry> regions, OperationParameter parameter)
scpPath
- regions
- parameter
- public static boolean computeDistancesFromPointCloudToModels(String scpFile, ArrayList<Geometry> modelList, String outputFolder, String cacheName)
scpFile
- modelList
- outputFolder
- cacheName
- public static boolean subDivideTIN(String sctPath, int endLevel)
sctPath
- endLevel
- public static boolean buildOSGB(DatasetGrid dataSetGrid, DatasetImage dataSetImage, int startLevel, int endLevel, String cacheName, String outputFolder, boolean isDxtCompress, boolean isLocalType)
dataSetGrid
- dataSetImage
- startLevel
- endLevel
- cacheName
- outputFolder
- isDxtCompress
- isLocalType
- public static boolean buildS3M(DatasetGrid dataSetGrid, DatasetImage dataSetImage, int startLevel, int endLevel, String cacheName, String outputFolder, boolean isDxtCompress, boolean isLocalType)
dataSetGrid
- dataSetImage
- startLevel
- endLevel
- cacheName
- outputFolder
- isDxtCompress
- isLocalType
- public static ArrayList<GeoLine3D> extractPowerLinesFromPointCloud(String scpFile, ExtractPowerLinesParameters parameters)
scpFile
- 点云缓存。parameters
- 点云电力线参数。Copyright © 2021–2024 SuperMap. All rights reserved.