API interface
The product provides API interfaces as follows:
namespace | namespace description | taxon | class description | port | parameter | effect |
SuperMapSDK :: UnrealEngine :: ControlUE | Scene control module, initialize scene, update rendering, main camera call, etc. | RealspaceView | interface main class | void SetMainCameraActor (ACameraActor* pMainCamera) | pMainCamera: Camera object | Set up CameraActor |
ACameraActor* GetMainCameraActor() | Get CameraActor | |||||
bool IsOwner(ACameraActor* pMainCamera) | pMainCamera: Camera object | Determine if CameraActor is the current owner | ||||
void DestroySingleton() | Clear RealspaceView | |||||
void Render() | Call render every frame | |||||
void Destroy() | End rendering | |||||
void Initialize() | initialize | |||||
bool IsInitialized() | Is it initialized? | |||||
SuperMapSDK::UnrealEngine::Core::SceneControl* GetSceneControl() | Get scene control | |||||
void SetPosition(FVector & vPosition) | [in] vPosition: 3D point vector, set to insertion point of world origin | Set world origin insertion point | ||||
CameraControl* GetCameraControl() | Get CameraControl | |||||
void SetGeoreferenceOrigin(double dLongitude, double dLatitude, double dAltitude = 0.0) | dLongitude: longitude dLatitude: Latitude dAltitude: Height |
Set geographic origin | ||||
Vector3d GetGeoreferenceOrigin() | Get geographic origin | |||||
EWorldType::Type GetWorldType() | Get Edit Mode | |||||
UWorld* GetWorld() | Get the current world scene manager | |||||
AActor* GetSelectedActor() | Get the selected Actor of the scene | |||||
void SetEnableCollision(Gamebool bEnable) | Turn on collision detection | |||||
SuperMapSDK:: UnrealEngine:: Core | This module contains basic functions, including data loading, attribute information query and other functions. | Analyst3D | 3D Analysis Enumeration Class | AnalyzeMode GetAnalyzeMode() | Get Analysis Type | |
void Build() | perform analysis | |||||
void Clear() | clear analysis | |||||
enum AnalyzeMode { View_Shed = 1, Sight_Line = 2, Projection_Image = 3, View_Dome = 4, Cluster_Analyze = 5, Facade_Analyze = 6 Profile_Analyze = 7, Multi_ViewShed3D = 8 } |
View_Shed: View analysis Sight_Line: Cross-vision analysis Projection_Image View_Dome: Open Cluster_Analyze: Point aggregation analysis Facade_Analyze: elevation analysis Profile_Analyze: Profile Analysis Multi_ViewShed3D: Multiview Analysis |
Analysis type enumeration | ||||
AttributeFields | Attribute field information | std::vector<FString> GetFieldInfos() | Get attribute fields | |||
void SetFieldInfos(std::vector<FString> & vecFieldInfos) | vecFieldInfos: attribute fields | Set attribute fields | ||||
std::vector<FString> GetFieldValues() | Get attribute value information | |||||
void SetFieldValues(std::vector<FString> & vecFieldValues) | vecFieldValues: Attribute Values | Set attribute value information | ||||
std::vector<FString> GetCaptions() | Get foreign key information | |||||
void SetCaptions(std::vector<FString> & vecCaptions) | Set foreign key information | |||||
void SetFields(std::vector<FString> & vecFieldInfos, std::vector<FString> & vecFieldValues) | vecFieldInfos: attribute fields vecFieldValues: Attribute Values |
set attributes | ||||
int32 GetID() | Get Object ID | |||||
void SetID(int32 nID) | [in] nID: Object ID | Set Object ID | ||||
int32 FieldInfoCount() | Number of attribute fields | |||||
int32 FieldValueCount() | Number of attribute values | |||||
CameraState | camera pitch angle class | void SetUGCameraState(Gamedouble dLongitude, Gamedouble dLatitude, Gamedouble dAltitude, Gamedouble dPitch, Gamedouble dHeading, Gamedouble dRoll) | dLongitude: camera longitude dLatitude: camera latitude dAltitude: Height dPitch: pitch angle dHeading: horizontal angle dRoll: roll angle |
Set camera flight position | ||
void SetUGCameraState(Vector3d vCameraLocation, FRotator vCameraRotator) | vCameraLocation: Camera coordinates vCameraRotor: camera rotation angle |
Set camera flight position | ||||
Gamedouble GetUGCameraHeading() | Get UGC horizontal angle | |||||
Gamedouble GetUGCameraTilt() | Get UGC pitch angle | |||||
Gamedouble GetUGCameraRoll() | Get UGC rotation angle | |||||
Gamedouble GetUGCameraLongitude() | Get UGC Longitude | |||||
Gamedouble GetUGCameraLatitude() | Get UGC latitude | |||||
Gamedouble GetUGCameraAltitude() | Get UGC altitude | |||||
void SetUGCameraViewMatrix(FMatrix ueViewMatrix) | Set View Matrix for View UGC | |||||
void SyncMainCam(CameraControl* pCameraControl) | Camera Master Camera Sync | |||||
void SetRotationOfCameraFixed(Gamebool bSet) | Set fixed angle of view status (in flight management, fixed angle of view status is false to free pitch, tilt and other angle of view operations) | |||||
Gamebool IsRotationOfCameraFixed() | Get Fixed View Status | |||||
Selection3D | 3D Selection Set class, which handles objects selected on 3D scenes. | Layer3D* GetLayer() | Get associated layers | |||
Gameint GetID(Gameint nIndex) | Get selection set ID based on index | |||||
Gameint GetCount() | Gets the number of objects in the selection set | |||||
Gameint Add(Gameint nID) | add ID | |||||
Gamebool FindID(Gameint nID) | Find ID | |||||
void Clear() | Clear ID | |||||
Gamebool FindID(Gameint nID) | Find ID | |||||
ClipMode | Clip Type Class | enum SUPERMAP_API BoxClipPart { ClipNothing = 0, ClipOuter = 1, ClipInner = 2, } |
ClipNothing does not crop ClipOuter cuts out the outside of the box ClipInner cuts out the inside of the box |
Box clipping enumeration | ||
FlyManager | Flight Route Management | enum FlyTurningMode { Smoothly = 0, Directly = 1 } |
Smoothly = 0, smooth turn Directly = 1 right angle turn |
flight turning mode | ||
enum FlyStatus { Stop = 0, Pause = 1, Play = 2 } |
Stop = 0, the current flight status is already stopped Pause = 1, current flight status is paused Play = 2 The current flight status is in flight. You can set the flight status type to Play after pausing. |
in flight | ||||
void SetDuration(Gamedouble dDuration) | Duration: Total time | Sets the total time in seconds required for this flight (i.e., the entire current route). | ||||
Gamedouble GetDuration() | Gets the total time, in seconds, required for this flight (i.e., the entire current route). | |||||
void SetPlayRate(Gamedouble dPlayRate) | dPlayRate: Rate | Set playback rate. This attribute value ranges from 0 to 100, with values greater than 1.0 indicating fast flight along the flight path and values less than 1.0 indicating slow flight along the flight path | ||||
Gamedouble GetPlayRate() | Gets the playback rate. This attribute value ranges from 0 to 100, with values greater than 1.0 indicating fast flight along the flight path and values less than 1.0 indicating slow flight along the flight path | |||||
void SetTurningMode(FlyTurningMode eFlyTurningMode) | eFlyTurningMode: Mode Settings | Set the flight turning mode. Support right angle and smooth turns | ||||
FlyTurningMode GetTurningMode() | Get the flight turn method. Support right angle and smooth turns | |||||
Routes* GetRoutes() | Get Route Collection | |||||
FlyStatus GetStatus() | Get current flight status (stopped, paused, in flight) | |||||
void Play() | Start the flight according to the route specified by the return route set (Routes), or continue the interrupted flight | |||||
void Stop() | Stop current flight | |||||
void Pause() | Suspend current flight | |||||
void Update() | Update internal calculations for flight management. | |||||
Gameint GetCurrentStopIndex() | Get current site index | |||||
void SetCurrentStopIndex(Gameint nIndex) | nIndex: Current site index | Set current site | ||||
Gamebool GetArriedStatus() | Determine whether the flight has arrived at the station | |||||
void SetOriginalPosition(Vector3d vOriginalPos) | vOriginalPos: coordinate value of insertion point | set the insertion point | ||||
Gamedouble GetCurrentProgress() | Get Flight Progress | |||||
GlobalImage | terrain class | Gameint AddExcavationRegion(Geometry* pGeometry, FString strTag) | pGeometry: crop region strTag: crop region tag |
Set Terrain Clipping Area | ||
Gamevoid ClearExcavationRegion() | Clear Terrain Crop Area | |||||
FString GetExcavationRegionTag(Gameint nIndex) | nIndex: crop region index value | Get Terrain Crop Region Label | ||||
Gameint IndexOfExcavationRegion(FString strTag) | strTag: crop region tag | Get Terrain Clipping Region Subscript | ||||
Gamebool RemoveExcavationRegion(Gameint nIndex) | nIndex: crop region index value | Delete Terrain Crop Region | ||||
Gamebool SetExcavationRegionTag(Gameint nIndex, FString strTag) | nIndex: crop region index value strTag: crop region tag |
Set Terrain Crop Region Label | ||||
HypsometricSetting | hypsometric | enum DisplayMode { NONE = 0, Face = 1, Line = 2, Face_And_Line = 3, } |
NONENone Face Fill Texture Line contour Face_And_Line Mixed Mode |
Display mode enumeration | ||
enum AnalysisMode { AM_CONTOUR_MAP = 0, AM_GUIDES = 2, } |
AM_CONTOUR_MAP Height Analysis AM_GUIDES Guides |
Analysis mode enumeration | ||||
void SetDisplayMode(DisplayMode mode) | mode mode | Sets whether line fills are displayed | ||||
DisplayMode GetDisplayMode() | Get the display mode of the line | |||||
void SetAnalysisMode(AnalysisMode mode) | mode mode | Set Yes Analysis Mode | ||||
AnalysisMode GetAnalysisMode() | Acquisition analysis mode | |||||
void SetLinesInterval(double dLinesInterval) | dLinesInterval spacing value | arrangement pitch | ||||
double GetLinesInterval() | Get Pitch | |||||
void SetLineColor(FColor color) | color Color Value | Set line color | ||||
FColor GetLineColor() | Get Line Color | |||||
void SetColorTableMaxKey(double dMaxKey) | dMaxKey Maximum | Set color table maximum value | ||||
double GetColorTableMaxKey() | Get the highest value of the color table | |||||
void SetColorTableMinKey(double dMinKey) | dMinKey Minimum | Set color table minimum value | ||||
double GetColorTableMinKey() | Get the lowest value of the color table | |||||
void SetMinVisibleValue(double minValue) | minValue Minimum visible value | Set minimum visible value | ||||
double GetMinVisibleValue() | Get the minimum visible value | |||||
void SetMaxVisibleValue(double maxValue) | maxValue Maximum visible value | Set maximum visibility | ||||
double GetMaxVisibleValue() | Get the minimum visible value | |||||
void SetColorTableFile(FString strFilePath) | strFilePath File path | Set color table file path | ||||
FString GetColorTableFile() | Get color table file path | |||||
void SetColorTableTexture(UTexture2D* colorTableTexture) | colorTableTexture | Set color table | ||||
UTexture2D* GetColorTableTexture() | Get Color Table | |||||
UEAssetStyle | Vector data beautification class | enum SUPERMAP_API Mode { ASSET_MESH = 0, ASSET_MATERIAL = 1, ASSET_LOFT = 2 } |
ASSET_MESH: Plug-in sketch ASSET_MATERIAL: Style Style ASSET_LOFT: Asset lofting |
Vector data usage enumeration | ||
void SetAssetStyles(TMap<FString, AssetStyle*> mapAssetStyles) | Set Material Replacement Data | |||||
TMap<FString, AssetStyle*> GetAssetStyles() | Get Material Replacement Data | |||||
UEAssetStyle::Mode GetMode() | Get Style Type | |||||
void SetMode(UEAssetStyle::Mode type) | Set Style Type | |||||
Layer3D | 3D layer class. This class provides a series of attributes for 3D map management, such as 3D layer display control. | FName Name() | Get layer name | |||
FName DataName() | Get layer data name | |||||
FName NodeName() | Get layer node name | |||||
Gamelong NodeNameHashCode() | Gets the hashcode value of the layer node name | |||||
Layer3DType Type() | layer types | |||||
OSGBType DataType() | OST Data Type | |||||
bool GetIsVisible() | Get visibility | |||||
void SetIsVisible(bool bVisible) | [in] bVisible: If true then visible | set visibility | ||||
void SetOriginalPosition(FVector vPos, int32 nSceneType) | [in]vPos: Insertion Point [in]nSceneType: SceneType |
Set Layer Insertion Point | ||||
Selection3D* GetSelection3D() | Get Selection Set | |||||
Rectangle2D GetBounds() | Returns the bounds value | |||||
int32 GetLayerID() | [out]: Layer ID | Get Layer ID | ||||
void SetLayerID(int32 nLayerID) | [in] nLayerID: Layer ID | Set Layer ID | ||||
Layer3DMaterialInfo& GetMaterialInfo() | Get layer material information | |||||
void SetMaterialInfo(Layer3DMaterialInfo& info) | info: Material information | Set layer material information | ||||
ObjectMaterialInfo& GetObjectMaterialInfo() | Get Layer Object Material Information | |||||
void SetObjectMaterialInfo(ObjectMaterialInfo& info) | info: Material information | Set Layer Object Material Information | ||||
void ClipByBox(GeoBox* pGeoBox, BoxClipPart ePlaneClipMode) | pGeoBox: crop box ePlaneClipMode: Crop Mode |
Set up a box to crop renderable parts of a layer | ||||
GeoBox* GetClipBox() | Get crop box | |||||
BoxClipPart GetBoxClipPart() | Get Box crop mode | |||||
void SetClipLineColor(Vector4d vClipLineColor) | vClipLineColor: color value | Set the color of the edge line of the crop polygon | ||||
Vector4d GetClipLineColor() | Gets the color of the edge line of the clipping surface | |||||
void ClearCustomClipPlane() | Clear custom crop surfaces | |||||
void SetSwipeEnabled(Gamebool bSwipe) | bSwipe: Yes or No | Set whether to roll | ||||
Gamebool GetSwipeEnabled() | Get whether to roll | |||||
void SetSwipeRegion(Rectangle2D rcBox) | rcBox: Rolling Range | Set the length and width of the roller shutter | ||||
Rectangle2D GetSwipeRegion() | Get Roll Width | |||||
JsonFile* LayerToJson() | Save Json | |||||
void SetViewportEnabled(Gamebool bViewport) | bViewport: Yes or No | Set whether to split screen | ||||
void UpdateData() | update a layer | |||||
void SetVisibleInViewport(Gameint nIndex, Gamebool visible) | nIndex: Screen index visible: whether it is visible |
Set split screen visibility | ||||
Gamebool GetVisibleInViewport(Gameint nIndex) | nIndex: Screen index | Get split screen visibility | ||||
void AddSelectedID(Gameint nID) | nID: Object ID | Add Selected Objects | ||||
void ReleaseSelection() | Clear the selection | |||||
void SetSelectStyle(Style3D* pStyle3D) | Set Layer Selected Style | |||||
Style3D* GetSelectStyle() | Get Layer Selected Style | |||||
Gamebool IsMarkerLayer() | Enable mask texture | |||||
void SetMarkerLayer(bool bIsMarkerLayer) | Sets whether the image is a mask texture | |||||
UEAssetStyle* GetUEAssetStyle() | Get Layer Beautification Style | |||||
void SetStyle(Style3D* pStyle) | pStyle: Style | Set Layer Style | ||||
Style3D* GetStyle() | Get Layer Style | |||||
void SetMaxObjectVisibleDistance(Gamedouble dValue) | Set the farthest visibility distance for a layer | |||||
Layer3DDatasetModel | 3D dataset class | void SetDataset(Dataset* pDataset) | pDataset [in] dataset | Set Data Set | ||
Dataset* GetDataset() | Acquiring Model Datasets | |||||
Layer3DDatasetVector | Vector Layer Base Class | void SetAssetStyle(AssetStyle* pAssetStyle) | pAssetStyle: Resource Object | Set Resource Style | ||
AssetStyle* GetAssetStyle() | Get Resource Style | |||||
void SetAssetStyleField(FString strAssetStyleField) | strAssetStyleField: | Set Style Field | ||||
FString GetAssetStyleField() | Get Style field | |||||
Data::Geometry* GetGeometry(int32 nIndex) | nIndex: aggregate index | Get the data of the aggregate according to the subscript | ||||
void SetDataset(Data::Dataset* pDataset) | ||||||
void SetGeometrys(const TArray<Data::Geometry*>& arrGeometrys) | Add Geometry for a dataset | |||||
TArray<Data::Geometry*> GetGeometrys() const | Get the geometry of the dataset | |||||
void SetGeoAttributes(const TArray<TMap<FString, FString>>& mapGeoAttributes) | Add attributes to a dataset | |||||
TArray<TMap<FString, FString >> GetGeoAttributes() const | Get dataset properties | |||||
ObjectsColorDictionary | Set Object Style | void SetObjectsColor(TArray<Gameint> ids, FVector4 color) | Set object color | |||
TMap<Gameint, FVector4> GetObjectsColor() | Get Object Color | |||||
void RemoveObjectsColor(TArray<Gameint> ids) | Reset Object Color | |||||
void ResetObjectsColor() | Reset all object colors | |||||
Layer3DS3MFile | 3D tile layer class. It has the advantage of dynamically loading massive multi-source heterogeneous three-dimensional spatial data. Support oblique photography model, BIM, pipeline, precision model data and other types of data. | enum SUPERMAP_API ModifyRegionMode { ClipInside, ClipOutside, Mosaic, Flatten, Modify_None } |
ClipInside: Crop Inside ClipOutside: crop outside Mosaic: Flatten: flattening Modify_None: No modification |
polygon mode | ||
enum SUPERMAP_API LoadingPriorityEnum { Root_Priority, Child_Priority, UsePagedLodInfo, Child_Priority_NonLinear } |
Root_Priority, breadth priority Child_Priority, Depth Priority UsePagedLodInfo, index first Child_Priority_NonLinear depth-priority nonlinear switching |
update policy | ||||
std::vector<FString> GetFieldInfos() | Get all attribute field information for the current layer | |||||
std::vector<FString> GetAllFieldValues(int32 nID) | [in] nID: Object ID | Gets the current attribute field name | ||||
Gamedouble GetMaxHeight() | Get maximum layer height | |||||
Gamedouble GetMinHeight() | Get Layer Low Elevation | |||||
void SetLODRangeScale(int nLayerID, float values) | nLayerID Layer ID values lod |
Set LOD level for current layer | ||||
float GetLODRangeScale(int nLayerID) | [in] nLayerID: Layer ID | Get LOD level of current layer | ||||
void AddFlattenRegion(GeoRegion3D* pGeoRegion3D, FString strTag) | Add flattened vectors (vector faces released by layer) | |||||
void ClearFlattenRegion() | Clear Flattening Vector Surface | |||||
S3MEffectShaderParamters GetFlattenParam() | Get the parameters needed for flattening | |||||
void SetHypsometricSetting(HypsometricSetting* pHypsometricSetting) | Set up layered coloring classes | |||||
HypsometricSetting* GetHypsometricSetting() | Get layered tinting classes | |||||
void ClearHypsometricSetting() | Clear Layer Tint | |||||
void SetConstantPolygonOffset(double dOffset) | Set polygon offset | |||||
double GetConstantPolygonOffset() | Get polygon offset | |||||
void SetObjectsVisible(TArray<Gameint> ids, Gamebool bVisible) | ids: ID data of the object bVisible: Is it visible? |
Set visibility of objects in ID list | ||||
void SetObjectsTranslate(TArray<Gameint> ids, Vector3d translate) | ids: Array of object IDs translate: value of XYZ offset |
Set object offset in ID list | ||||
double GetMaxDataValue() | Get maximum layer height | |||||
double GetMinDataValue() | Get minimum layer height | |||||
AttributeFields GetAttributeFields() | Get layer attribute information | |||||
void SetModifyRegions(TArray<GeoRegion3D*> pGeoRegion3Ds, ModifyRegionMode type) | model inclined excavation | |||||
void ClearModifyRegions() | Clear Excavation Results | |||||
void SetDecodeMeshopt(Gamebool value) | Sets whether Meshopt data is CPU dequantized | |||||
Gamebool IsDecodeMeshopt() | Get Meshopt Data CPU Dequantization | |||||
void ExportUEMaterialToJson(FString LayerInfoPath, FString ScpFilePath) | Export the S3M layer associative material and add the export path as a new field to the scp file | |||||
void AddRelatedPathToScpFile(FString LayerInfoPath, FString ScpFilePath) | LayerInfoPath: Associative Material Path Scp FilePath: scp file path |
Add associative material path to scp file | ||||
ObjectsColorDictionary* GetObjectsColorDictionary() | Gets a pointer to set the color of an object | |||||
void SetLoadingPriority(LoadingPriorityEnum type) | type: Mode type | Set Load Data Mode | ||||
LoadingPriorityEnum GetLoadingPriority() | Get Load Data Mode | |||||
void SetIsClampVector(Gamebool bValue) | bValue: Yes or No | Whether to support paste object | ||||
Layer3Ds | 3D layer collection class. This class manages all 3D layers in a 3D scene. | void Clear() | Clear layer | |||
int32 Count() | Get the number of layers | |||||
Layer3D* GetAt(int32 index) | [in] index: Specify the index of the layer | Gets the layer at the specified index | ||||
Layer3D* GetAt(FName strLayerName) | [in] strLayerName: Specifies the name of the layer | Gets the layer with the specified name | ||||
bool GetIsVisible() | Gets whether the layer is visible | |||||
void SetIsVisible(bool bVisible) | [in] bVisible: If true then visible | Set whether a layer is visible | ||||
Layer3D* Add(FString strDataName, Layer3DType eLayerType, bool bAddToHead,FString strLayerName) | [in] strDataName: Local layer name [in]eLayerType: layer type [in]bAddToHead: Put the layer on top |
Add a local layer | ||||
Layer3D* Add(FString strUrl, Layer3DType eLayerType, FString strLayerName, bool bAddToHead) | [in] strUrl:iServer link [in]eLayerType: Layer type [in]strLayerName: layer name [in]bAddToHead: Put the layer on top |
Add an online layer | ||||
Layer3D* Add(FString strStdLayerName, Layer3DType layerType, FString strStdUserName, FString strStdPassWord) | [in] strStdLayerName: layer name [in]layerType: Layer type [in]strStdUserName: Account [in]strStdPassWord: Password |
Add OpenStreetMap, BingMaps and more | ||||
Layer3D* Add(FString strUrl, FString strLayerName, Layer3DType eLayerType, bool bAddToHead) | [in] strUrl: Url address [in]strLayerName: layer name [in]eLayerType: Service Type [in]bAddToHead: Put the layer on top |
Add Other Rest Services | ||||
Layer3D* Add(FString strURL, FString strLayerName, FString strDataName, float fDPI, ImageFormatType eImageType, bool addToHead) | [in]strURL: link address [in]strLayerName: layer name [in]strDataName: Data Name fDPI: DPI value [in]eImageType: Image Type [in]addToHead |
Add Sky Map Image | ||||
Layer3D* Add(FString strDataName,DatasetType eDatasetType) | strDataName: Vector layer name eDatasetType: Vector layer type |
Add a vector dataset layer | ||||
Layer3D* Add(FString strXMLFile, FString strRootPath, FString strName, FString strKeyWord = "") | [in]strXMLFile xml file [in]strRootPath osgb root node directory [in]strKeyWord osgb Keyword |
Loading osgb format tilt | ||||
bool Remove(FString layerName) | [in]: layerName | Remove specified layers | ||||
Layer3D* FindLayerByNodeName(Gamelong nNodeName) | Get layers by layer name | |||||
Layer3DType | 3D layer type enumeration class | enum SUPERMAP_API Layer3DType { ImageFile = 1, KML= 2, Map = 9, WMS = 11, WMTS = 12, DatasetVector = 14, S3M = 15, DatasetModel = 16, BingMaps = 22, OpenStreetMaps = 24, DatasetVectorPoint = 26, ArcgisMaps = 34, } |
ImageFile: Image layer KML: KML layer Map: Map Services WMS: WMS Services WMTS: WMTS Services DatasetVector: Vector dataset S3M: Model tile layer DatasetModel: Model dataset BingMaps: BingMaps data online OpenStreetMaps: Online OpenStreetMap data DatasetVectorPoint: Point dataset Arcgis Maps: arcgis maps |
Layer enumeration type | ||
enum ImageFormatType { none = 0, BMP = 121, JPG = 122, JPG_PNG = 147, } |
none: do not specify the picture type BMP: BMP format picture JPG: Image in JPG format JPG_PNG: Images in JPG_PNG format |
Day Map Picture Type Enumeration | ||||
enum TerrainLayerType { STK = 2, TIANDITU = 3, } |
STK: STK terrain TIANDITU: Terrain map of the sky |
Terrain type enumeration | ||||
enum SUPERMAP_API OSGBType { ObliquePhotogrammetry3DModel = 0, NormalCacheFile = 1, Volume = 2, IconPoint = 3, ClampGroundLine = 4, ClampObjectLine = 5, ClampGroundRegion = 6, ClampObjectRegion = 7, ExtendClampRegoin = 8, Terrain = 9, Text = 10, PointCloud = 11, PolylineEffect = 13, RegionEffect = 14, RealtimeRaster = 16, } |
ObliquePhotogrammetry3DModel Oblique Photographic Model NormalCacheFile Volume data IconPoint icon type ClampGroundLine ground vector ClampObjectLine Sticker Object Line Vector ClampGroundRegion Sticking to the ground vector ClampObjectRegion Sticker Object Face Vector ExtendClampRegoin Face vector of paste object with stretch height Terrain = 9Terrain Text = 10 Text PointCloud PolylineEffect line symbol RegionEffectPolyfill RealtimeRaster paste ground vector tile |
OS-type | ||||
Query3D | spatial query class | enum PositionMode { Disjoint3D = 0, Intersects3D = 1, Contains3D = 2, }; |
Disjoint3DSeparation Intersects3DIntersects Contain 3D Contain |
|||
void SetQueryGeometry(Geometry3D* pGeometry3D) | Set Spatial Query Geometry Objects | |||||
void SetPickRect(Vector3d vStart, Vector3d vEnd); | Set Selected Area | |||||
void SetPositionMode(Query3D::PositionMode nMode) | Set the positional relationship of geometric query | |||||
Query3D::PositionMode GetPositionMode(); | Get the positional relationship of geometric query | |||||
void AddLayerID(Gameint nLayerID) | Set association layer | |||||
void UpdateRectSelect() | Update Selected Region | |||||
TMap<Gameint, TArray<Gameint> > GetQueryIDs() | Get all IDs selected | |||||
void RemoveLayerID(Gameint nLayerId) | Remove Spatial Query Layer ID | |||||
void Realse() | Spatial query ends | |||||
RouteStop | Flight site class, controls camera attitude, flight time for each site | FString GetName() | Get site name | |||
void SetName(FString Name) | Name: Site name | Set Site Name | ||||
Gamedouble GetDuration() | Gets the duration of the flight from a stop departure to the next stop. The default value is 0 in seconds. | |||||
void SetDuration(Gamedouble dDutation) | dDutation: Duration | Sets the duration of the flight from a stop departure to the next stop. The default value is 0 in seconds. | ||||
void SetCamera(CameraState* state) | state: camera object pose | Get camera pose for site | ||||
CameraState* GetCameraState() | Set camera pose for site | |||||
void* GetHandler() | get site | |||||
Route | Flightline class to manage stops in a flightline | FString GetName() | Get Route Name | |||
void SetName(FString Name) | Name: Route name | Set Route Name | ||||
void SetIsFlyingLoop(Gamebool bIsFlyingLoop) | bIsFlyingLoop: Yes No | Set up flight loop playback | ||||
Gamebool GetIsFlyingLoop() | Get whether to play in flight loop | |||||
Gameint Count() | Get Route Number of Stations | |||||
Gameint IndexOf(FString strStopName) | strStopName: Site name | Get Site Index | ||||
RouteStop GetStop(Gameint nIndex) | nIndex: Site Index | get site | ||||
Gamebool Insert(RouteStop stop, Gameint nIndex) | stop: Site object nIndex: Site Index |
insertion site | ||||
Gamebool Contains(FString StopName) | StopName: Site name | Determine if it contains a site | ||||
bool Add(RouteStop* stop) | stop: Site object | new sites | ||||
bool Remove(int nIndex) | nIndex: Site Number | delete site | ||||
void SetHeadingFixed(bool bSet) | bSet: Yes No | Set whether to lock tilt angle | ||||
Gamebool IsHeadingFixed() | Acquire lock tilt angle | |||||
void SetTiltFixed(bool bSet) | bSet: Yes No | Set whether to lock tilt angle | ||||
Gamebool IsTiltFixed() | Get whether to lock tilt angle | |||||
Routes | Flight Route Set Class | Gameint Count() | ||||
Gamebool SetCurrentRouteIndex(Gameint nIndex) | nIndex: Route index | Set the current route. The default is-1 when there is no Route | ||||
Gameint GetCurrentRouteIndex() | Get the current route | |||||
Route* GetRoute(Gameint nIndex) | nIndex: Route index | Get the index route | ||||
Gameint IndexOf(FString strRouteName) | Route name: Route name | Gets the index of the line name | ||||
Gamebool FromFile(FString file) | file: fpf file | Imports an alignment collection object from a specified file | ||||
Gamebool ToFile(FString file) | file: fpf file | Export route collection to local file | ||||
Gamebool Create(FString RouteName) | RouteName: Route name | New flight path | ||||
Gamebool Remove(Gameint nIndex) | nIndex: Route index | Delete routes for specified indexes | ||||
Scene | 3D scene class. 3D data is added to the 3D scene based on geospatial reference information. | enum SUPERMAP_API PixelToGlobeMode { TerrainAndModel = 0, Sphere = 1 } |
TerrainAndModel: Both terrain and model participate in intersection Sphere: Intersect only with the surface |
Intersection mode switching | ||
enum MultiViewportMode { None = 0, Horizontal = 1, } |
None: Restore split screen Horizontal: Left and right split screen |
Split screen mode switching | ||||
void SetIsVisible(Gamebool bIsVisible) | Set whether to turn on underground mode | |||||
GlobalImage* GetGlobalImage() | Get topographic images | |||||
void SetCameraControl(SuperMapSDK::UnrealEngine::ControlUE::CameraControl* pCamerControl) | Set camera operation class | |||||
CameraControl* GetCameraControl() | Get camera operation class | |||||
void SetWorld(UWorld* pWorld) | [in] pWorld: UE's world class | Set UE world scene class | ||||
UWorld* GetWorld() | Get world scene class | |||||
SceneType GetSceneType() | Get scene type | |||||
void SetSceneType(SceneType eSceneType) | [in] eSceneType: Scene type, planar or spherical | Set scene type | ||||
Query3D* GetQuery3D() | Get Query3D | |||||
Layer3Ds* GetLayer3Ds() | Return to 3D Layer Collection | |||||
TerrainLayers* GetTerrainLayers() | Return to Terrain Layer Collection | |||||
TrackingLayer* GetTrackingLayer() | Get Tracking Layer | |||||
void SetCamera(Gamefloat* matView, Gamefloat fNearDist, Gamefloat fFarDist, Gamefloat fFov, Gamefloat fAspect) | matView: View matrix fNearDist: Near clipping plane fFarDist: Far crop face fFov: Fov field of view opening fAspect: Direction angle |
set the camera | ||||
void SetCameraFov(Gamedouble dFov) | dFov: Camera Fov angle of view | Set camera Fov angle of view | ||||
Gamedouble GetCameraFov() | Get camera Fov perspective | |||||
void EnsureVisible(FSlateRect& rect2D) | rect2D: bounds range | The camera flies to the boundaries. | ||||
void Clear() | Clear layer | |||||
Vector3d PixelToCartesian(Vector3d vMouse) | vMouse: mouse coordinates on screen | Returns the Cartesian coordinate system in pixel UE space | ||||
Vector3d PixelToGlobe(Vector3d vMouse, PixelToGlobeMode mode = TerrainAndModel) | vMouse: mouse coordinates on screen | Returns the true geographic coordinates of the pixel | ||||
std::map<FName, Analyst3D*>& GetAnalyst3DList() | Get a list of analysis features | |||||
Gamebool GetCreateSkirt() | skirt setting | |||||
void SetCreateSkirt(bool bCreatesSkirt) | bCreatesSkirt: Start Skirt | skirt setting | ||||
void SetSkirtHeight(float fHeight) | fHeight: Height value | Set skirt height | ||||
void ToJson(FString strPath) | strPath: File save path | Save Json | ||||
void SetMultiViewportMode(MultiViewportMode mode) | mode: mode | Set split screen mode | ||||
MultiViewportMode GetMultiViewportMode() | Get split screen mode | |||||
void ToXML(FString strFileAdress) | strFileAdress: xml file path | output xml file | ||||
FTransform LongitudeLatitudeToUE(FVector vLonLat) | vLonLat: latitude and longitude value | Obtaining spatial coordinates and model rotation angle by specifying longitude and latitude | ||||
void SetShowInvalidation(bool bShow) | bShow: whether to display | Scene Settings Invalid Area | ||||
void SetHandler(void* pScene) | Create Scene Pointer | |||||
void* GetHandler() | Get scene pointer | |||||
FlyManager* GetFlyManager() | Get flight management class | |||||
void Fly(CameraState* pCameraState, Gameint milliseconds) | pCameraState: camera state milliseconds: time spent |
Set up flight fix | ||||
void FlyCircle(Geometry* geometry, Gamedouble speedRatio, Gamebool isCycle = false) | geometry: speedRatio: rotational speed isCycle: Cycle or not |
orbited flight | ||||
void StopFlyCircle() | Stop flying around the point | |||||
void SetTerrainExaggeration(Gamedouble dValue) | dValue: The value of the Terrain Hyperbole setting | Set Terrain Hyperbole | ||||
Gamedouble GetTerrainExaggeration() | Get terrain exaggeration values | |||||
SelectedInfo GetSelectedInfo() | Get material information of selected object | |||||
CameraState* GetCameraState() | Get main camera status | |||||
void InitializeFlyCallbackHandle() | Initialize flight callback events | |||||
void GlobalRefreshRaster(Rectangle2D rec) | local terrain refresh | |||||
SceneControl | 3D map controls. A 3D scene window (SceneControl) corresponds to a 3D scene (Scene), that is, only one 3D scene can be displayed in a 3D scene window | Scene* GetScene() | the scene is acquired | |||
bool InitializeScene(int32 width, int32 height) | [in]width: Scene width [in]height: Scene height |
Initialize the scene | ||||
void Render() | scene scheduling | |||||
ShutDown() | Stop Running Scenes | |||||
void SetTerrainPosition(float x, float y, float z) | [in]x:x coordinates [in]y:y coordinates [in]z:z coordinates |
Set Terrain Insertion Point | ||||
FVector GetTerrainPosition() | Get insertion point of terrain | |||||
SceneEditorWnd* GetSceneEditorWnd() | Get Scene Editing Class | |||||
Workspace* GetWorkspace() | Get workspace | |||||
void SetMultiTexture(Gamebool bSet) | ||||||
SceneEditorWnd | Scene Operation Unified Management Class | enum SUPERMAP_API Action3D { Null = 0, Pan = 1, PointSelect = 10, Edit = 21, MeasureDistance = 31, MeasureArea = 32, MeasureHeight = 33, MeasureTerrainDistance = 37, MeasureTerrainArea = 38, MeasureHorizontalDistance = 39, PanSelect = 105, RectSelect = 11 } |
Null No operation Pan translation PointSelect Edit Edit Edit MeasureDistance MeasureArea MeasureHeight MeasureTerrainDistance MeasureTerrainArea MeasureHorizontalDistance PanSelect panning selection RectSelect |
Action enumeration | ||
enum SUPERMAP_API UserAction { RoObjectSelect = 0, SubObjectSelect = 1 } |
SubObjectSelect sub-object selection | User Action enumeration | ||||
void SetAction(Action3D eAction) | Set operation type | |||||
void SetUserAction(UserAction eAction) | Set player action type | |||||
void Release() | bring to rest | |||||
Action3D GetAction() | Get operation type | |||||
MeasureHandler* GetMeasureHandler() | Get Measurement Class | |||||
MaterialInfo GetSelectMaterialInfo() | Update selected information | |||||
SceneType | Scene Type Enumeration Class | enum SUPERMAP_API SceneType { Flat = 0, Ellipsoid_WGS84 = 2 } |
Flat: Flat Ellipsoid_WGS84: Sphere (ellipsoid) |
Scene enumeration | ||
SlopeSetting | Slope Aspect Analysis Class | enum DisplayMode { NONE = 0, FACE = 1, ARROW = 2, FACE_AND_ARROW = 3 } |
NONE does not use display mode FACE Display Fill ARROW Display Aspect FACE_AND_ARROW Show fill and aspect |
Display mode enumeration | ||
void SetDisplaySytle(SlopeSetting::DisplayMode mode) | Sets whether line fills are displayed | |||||
SlopeSetting::DisplayMode GetDisplaySytle() | Get the display mode of the line | |||||
void SetColorTableMaxKey(double dMaxKey) | dMaxKey: Maximum value | Set color table maximum value | ||||
double GetColorTableMaxKey() | Get the highest value of the color table | |||||
void SetColorTableMinKey(double dMinKey) | dMinKey: Minimum | Set color table minimum value | ||||
double GetColorTableMinKey() | Get the lowest value of the color table | |||||
void SetMinVisibleValue(double minValue) | minValue: Minimum Value | Set the minimum visible value | ||||
double GetMinVisibleValue() | Get the minimum visible value | |||||
void SetMaxVisibleValue(double maxValue) | maxValue: Maximum Value | Set maximum visibility | ||||
double GetMaxVisibleValue() | Get maximum visibility | |||||
void SetColorTableTexture(UTexture2D* colorTableTexture) | colorTableTexture: color table | Set color table | ||||
UTexture2D* GetColorTableTexture() | Get Color Table | |||||
void SeArrowTexture(UTexture2D* arrowTexture) | arrowTexture | Set aspect arrow texture | ||||
UTexture2D* GetArrowTexture() | Get Aspect Arrow Texture | |||||
void SetArrowMove(bool isMove) | isMove: whether to move | Set whether the aspect arrow moves | ||||
bool IsArrowMove() | Gets whether the aspect arrow moves | |||||
Style3D | Style category | enum AltitudeMode { ClampToGround = 0, Absolute = 2, ClampToObject = 6, } |
ClampToGround Absolute height ClampToObject |
Height pattern of style | ||
enum FillMode3D { FillMode3D_Fill = 1, FillMode3D_Line = 2, FillMode3D_LineAndFill = 3 } |
FillMode3D_Fill fill FillMode3D_Line Profile FillMode3D_LineAndFill Fill and Contour |
fill mode | ||||
void* GetHandler() | ||||||
void SetAltitudeMode(AltitudeMode mode) | Set Height Mode | |||||
AltitudeMode GetAltitudeMode() | Get altitude mode | |||||
void SetBottomAltitude(Gamedouble dAltitude) | Set bottom elevation | |||||
Gamedouble GetBottomAltitude() | Get bottom elevation | |||||
void SetExtendHeight(Gamedouble dHeight) | Set Stretch Height | |||||
Gamedouble GetExtendHeight() | Get Stretch Height | |||||
void SetFillColor(FVector4 fillColor) | Set Fill Color | |||||
FVector4 GetFillColor() | Get Fill Color | |||||
void SetFill3DMode(FillMode3D mode) | Set Fill Mode | |||||
FillMode3D GetFill3DMode() | Get Fill Pattern | |||||
void SetLineColor3D(FVector4 lineColor3D) | Set line fill color | |||||
FVector4 GetLineColor3D() | Get Line Fill Color | |||||
void SetLineWidth(Gamedouble dLineWidth) | set line weights | |||||
Gamedouble GetLineWidth() | Get linewidth | |||||
void SetMarker3DScale(FVector vScale) | Set scaling parameters | |||||
FVector GetMarker3DScale() | Get zoom parameters | |||||
void SetMarker3DRotate(FVector vRotate) | Set rotation parameters | |||||
FVector GetMarker3DRotate() | Get rotation parameters | |||||
void SetMarker3DTranslation(FVector vTranslation) | Set translation parameters | |||||
FVector GetMarker3DTranslation() | Get Translation Parameters | |||||
void SetTopTexture(FString filePath) | Set Top Texture | |||||
void SetSideTexture(FString filePath) | Get top texture path | |||||
void SetTilingU(double dTilingU) | Set Texture UV | |||||
void SetTilingV(double dTilingV) | Get UV scaling values | |||||
void SetTopTilingU(double dU) | Set Top Texture UV Scale | |||||
void SetTopTilingV(double dV) | Get Top Texture UV Zoom | |||||
TerrainLayer | Terrain layer class. This class contains attribute information about terrain layer objects | float GetMinHeight() | Get minimum height | |||
float GetMaxHeight() | Get Maximum Height | |||||
FSlateRect GetBounds() | Get boundaries | |||||
FName GetName() | Get Terrain Layer Name | |||||
void SetIsVisible(bool bVisible) | [in] bVisible: If true then visible | Set whether terrain is visible | ||||
bool GetIsVisible() | Get whether visible | |||||
void SetShowInvalidation(bool bShow) | [in] bShow: If true, see | Set whether invalid areas are displayed | ||||
bool GetShowInvalidation() | Gets whether invalid regions are visible | |||||
void SetLODRangeScale(float values) | values:LOD values | Set LOD level for current layer | ||||
float GetLODRangeScale() | Get LOD level of current layer | |||||
void Render() | rendering data | |||||
Gamedouble GetHeight(Vector3d vLonLat) | Get the altitude corresponding to latitude and longitude | |||||
void ToJson(JsonFile& jsonLayerFile) | Save Json | |||||
TerrainLayers | Terrain layer collection class. Add and remove terrain layers by setting this class. | int Count() | Number of layers | |||
TerrainLayer* Add(FString strIServerUrl, FString strLayerName) | [in]strIServerUrl:iServer Publishing Link [in]strLayerName: Layer Name |
Add an iServer terrain layer | ||||
TerrainLayer* Add(FString strFile, bool bAddToHead) | [in]strFile: Terrain layer file [in]bAddToHead: whether to top |
Add a local terrain layer | ||||
TerrainLayer* Add(FString strUrl, FString strLayerName, TerrainLayerType eLayerType) | [in]strUrl: Public Terrain Service Link [in]strLayerName: Layer Name [in]eLayerType: Common Service Type |
Add a common service terrain layer | ||||
TerrainLayer* GetAt(int32 index) | [in] index: index | Gets the terrain for the specified subscript | ||||
TerrainLayer* GetAt(FName strLayerName) | [in] strLayerName: Terrain Name | Gets the terrain with the specified name | ||||
bool Remove(int Index = 0) | Index: 0 or 1 | Remove terrain layer | ||||
void SetHypsometricSetting(HypsometricSetting* pHypsometricSetting) | Set layered color class | |||||
HypsometricSetting* GetHypsometricSetting() | Get layered tinting classes | |||||
void ClearHypsometricSetting() | Clear Layer Tint | |||||
void SetSlopeSetting(SlopeSetting* pSlopeSetting) | Set Slope Aspect Class | |||||
SlopeSetting* GetSlopeSetting() | Get Slope Aspect Class | |||||
void ClearSlopeSetting() | Clear Slope Aspect | |||||
void Clear() | Clear terrain layer | |||||
TrackingLayer | Track Layer Class | int32 AddGeometry(Geometry* pGeometry, FString strTag) | Add Geometry geometry objects | |||
bool Remove(int32 nIndex) | nIndex: index value | Remove objects with specified ordinal numbers from a layer | ||||
Geometry* Get(int32 nIndex) | nIndex: index value | Returns the geometry of the specified ordinal number in the layer | ||||
FString GetTag(int32 nIndex) | nIndex: index value | Gets the tag name of the specified ordinal object | ||||
void Clear() | Sets the label name of an object with a specified ordinal number in the layer | |||||
int32 IndexOf(FString strTag) | strTag: tag name | Returns the sequence number of the object with the specified label name | ||||
int32 GetCount() | Number of objects in the layer | |||||
MeasureHandler | measurement class | enum MeasureAction { MeasureDistance = 0, MeasureHorizontalDistance = 1, MeasureArea = 2, MeasureHeight = 3, MeasureTerrainArea = 4, MeasureTerrainDistance = 5 } |
MeasureDistance MeasureHorizontalDistance MeasureArea MeasureHeight Height MeasureTerrainArea MeasureTerrainDistance |
Measurement type | ||
double GetArea() | finding area | |||||
double GetHeight() | Get altitude | |||||
TArray<double> GetCurLength() | Get Length | |||||
SuperMapSDK:: UnrealEngine:: SpatialAnalyst3D | analysis classes | ProjectionImage | Video Delivery | void SetViewerPosition(Vector3d pos) | pos viewpoint position | Set viewpoint position |
Vector3d GetViewerPosition() | Acquire viewpoint position | |||||
void SetHeading(double dDir) | dDir Direction Angle | Set eye direction | ||||
double GetHeading() | Get eye direction | |||||
void SetPitch(double dPitch) | dPitch tilt angle | Set tilt angle | ||||
double GetPitch() | Get tilt angle | |||||
void SetAffineMatrix(Vector3d v3X, Vector3d v3Y) | Set Same Name Registration Point | |||||
void GetAffineMatrix(Vector3d &v3X, Vector3d &v3Y) | Acquiring registration points with the same name | |||||
void SetIsHomnymyPoints(bool bUsed) | bUsed: whether to use | Set whether to use registration points with the same name | ||||
bool IsHomnymyPoints() | Gets whether to use a registration point with the same name | |||||
bool ProjectionToXML(FString strFileName) | strFileName File name | Save delivery information | ||||
bool ProjectionFromXML(FString strFileName) | strFileName File name | Read drop information | ||||
void SetImageData(UTexture2D* pImage) | Set Projection Picture | |||||
void SetHintLineLength(Gamedouble dLength) | set depth | |||||
Sightline | intervision analysis class | void SetViewerPosition(FVector vPos) | vPos Target Observation Point Location | Set target observation point | ||
FVector GetViewerPosition() | Acquire target observation point | |||||
void SetVisibleColor(FLinearColor color) | color Color Value | Set visible colors | ||||
FLinearColor GetVisibleColor() | Get visible colors | |||||
void SetHiddenColor(FLinearColor color) | color Color Value | Set visible colors | ||||
FLinearColor GetHiddenColor() | Get visible colors | |||||
void AddTargetPoint(FVector vPoint) | vPoint Location | Add target point | ||||
void SetTargetPoint(int32 nIndex, FVector vPoint) | Set target point | |||||
FVector GetTargetPoint(int32 nIndex) | Acquire target point | |||||
void RemoveTargetPoint(int32 nIndex) | nIndex Target Point Index | Remove specified target points | ||||
void RemoveAllTargetPoints() | Remove all target points | |||||
Gameint GetTargetPointCount() | Get the number of target points | |||||
SightlineResult GetSightlineResult(Gameint nIndex) | Get the results of intervision | |||||
Skyline | Skyline class | void SetViewerDirection(const double direction) | direction The angle value of the horizontal direction of the line of sight | Set the horizontal direction of the line of sight to 0 for north | ||
double GetViewerDirection() | Get the horizontal direction of the line of sight, north is 0 | |||||
void SetViewerPitch(const double pitch) | pitch angle value of sight pitch | Set the pitch angle of the line of sight to 0 horizontally | ||||
double GetViewerPitch() | Get the pitch angle of the line of sight, horizontal direction is 0 | |||||
void SetRadius(double dRadius) | dRadius Radius Value | Set Skyline Radius | ||||
double GetRadius() | Get Skyline Radius | |||||
void SetSkylineColor(const FColor& color) | color Color Value | Set Skyline Color | ||||
FColor GetSkylineColor() const | Get Skyline Color | |||||
void SetViewerPosition(Vector3d vPos) | vPos Observation Point Location | Set observer position | ||||
Vector3d GetViewerPosition() | Obtaining observer position | |||||
GeoLine* GetSkyline2D() | Get a 2D skyline | |||||
GeoLine3D* GetSkyline(double dRadius) | dRadius Radius Value | Get Skyline | ||||
Cluster | point aggregation class | void SetPixelRange(Gameint pixelRange) | cluster pixel range | |||
void SetMinimumClusterSize(Gameint minimumClusterSize) | minimum clusterable number | |||||
void IsEnable(Gamebool bEnable) | Do you want to cluster | |||||
void SetGeoPositions(const TArray<Vector3d>& vGeoPos) | Set the geographic coordinate point set for clustering (sphere is latitude and longitude) | |||||
void SetClusterEventFunc(void* pActor, ClusterEvent infoEvent) | dispensing event | |||||
Façade | elevation | void SetOutputPath(FString strOutputPath) | Set output file path | |||
FString GetOutputPath() | Get output file path | |||||
void SetViewLine(GeoLine3D* pGeoLine3D) | Set observation line | |||||
void SetResolution(Gamedouble dResolution) | Set plot parameters | |||||
void SetVisibleHeight(Gamedouble dMin, Gamedouble dMax) | Set plot parameters | |||||
void SetVisibleFarDistance(Gamedouble dFar) | Set plot parameters | |||||
Gamedouble GetResolution() | Obtain drawing parameters | |||||
void GetVisibleHeight(Gamedouble &dMin, Gamedouble &dMax) | Obtain drawing parameters | |||||
Gamedouble GetVisibleFarDistance() | Obtain drawing parameters | |||||
ViewDome | open degree | enum DisplayMode { LINE, FACE, FACELINE, } |
LINE FACE FACELINE line-and-plane mode |
Display mode enumeration | ||
enum DomeType { VisibleDome, HiddenDome, } |
VisibleDome Hidden Dome |
closure type | ||||
FVector4 GetViewDomeColor() | Get Color Properties | |||||
void SetViewDomeColor(const FVector4& color) | Set color properties | |||||
FVector4 GetViewDomeLineColor() | Get Wireframe Color Properties | |||||
void SetViewDomeLineColor(const FVector4& color) | Set Wireframe Color Properties | |||||
void SetViewerPosition(FVector pos) | Set viewpoint position | |||||
FVector GetViewerPosition() const | Acquire viewpoint position | |||||
Gamedouble GetViewDomeDistance() | Get Visible Distance Properties | |||||
void SetViewDomeDistance(Gamedouble viewDistance) | Set visible distance properties | |||||
ViewDome::DomeType GetDomeType() | Get the result type of openness (visible, invisible) | |||||
void SetDomeType(ViewDome::DomeType modeType) | Set the result type of openness | |||||
ViewDome::DisplayMode GetViewDomeDisplayStyle() | Get the display mode of openness (line, fill, close) | |||||
void SetViewDomeDisplayStyle(ViewDome::DisplayMode displayStyle) | Set the display mode of openness | |||||
Gamedouble GetViewDomeRatio() | Get Open Degree Analysis Scale | |||||
ViewShed | Viewshed Analysis Class | void SetVisibleAreaColor(const FVector4& color) | Set visible area color | |||
FVector4 GetVisibleAreaColor() | Get Visible Region Color | |||||
void SetHiddenAreaColor(const FVector4& color) | Set hidden area color | |||||
FVector4 GetHiddenAreaColor() | Get hidden area color | |||||
void SetViewerPosition(FVector pos) | pos observation point position | Set viewpoint position | ||||
FVector GetViewerPosition() const | Acquire viewpoint position | |||||
void SetDirection(double dir) | dir Direction of sight | Set eye direction | ||||
double GetDirection() | Get eye direction | |||||
void SetPitch(double pitch) | Angle of pitch inclination | Set tilt angle | ||||
double GetPitch() | Get tilt angle | |||||
void SetHorizontalFov(double fov) | fov horizontal angle of view | Set horizontal viewing angle | ||||
double GetHorizontalFov() | Get a horizontal view | |||||
void SetVerticalFov(double fov) | fov vertical viewing angle | Set vertical viewing angle | ||||
double GetVerticalFov() | Get a vertical view | |||||
void SetDistance(double dist) | dist distance value | Set visual distance | ||||
double GetDistance() | Get visibility distance | |||||
void SetDistDirByPoint(const FVector& point) | Analyze camera orientation and distance with auxiliary point settings | |||||
GeoModel3D* GetViewShedVisibleBody() | Get Visible Region Volume | |||||
GeoModel3D* GetViewShedHiddenBody() | Get invisible region volume | |||||
TArray<Vector3d> GetBarrierPoints() | Obstacles acquired | |||||
void SetName(FString name) | Set Name | |||||
FString GetName() | Get Name | |||||
MultiViewShed3D | Multi-visibility class | void AddViewShed(ViewShed* pViewShed) | Add a single viewshed analysis | |||
void RemoveViewShed(ViewShed* pViewShed) | Remove a single viewshed analysis | |||||
FacilityAnalyst |
Burst analysis, optimal path analysis |
enum SUPERMAP_API FacilityAnalystMode { Bursttube_Analyst, Connectivity_Analyst } |
Bursttube_Analyst: Burst tube analysis Connectivity_Analyst: Best Path Analysis |
analytic enumeration | ||
enum FacilityType { Facility_Edge, Facility_Node, } |
Facility_Edge: arc segment Facility_Node: Node |
Such as the type of pipeline equipment, including arc segment, node | ||||
void FindCommonAncestorsFromEdges(Gameint id) | id: segment ID | According to the given arc ID, find the common upstream arc segment of these arc segments, return the arc ID array, and realize the explosion analysis query. | ||||
void FindCommonAncestorsFromNodes(Gameint id) | id: Node ID | According to the given node ID, find the common upstream arc segment of these nodes, return the arc segment ID array, and implement pipe burst analysis query. | ||||
void InquireConnected(Gameint id1, Gameint id2) | id1, id2: IDs of two nodes to query | Best Path Analysis by Node ID Array | ||||
void InquireConnected(Vector3d v1, Vector3d v2) | v1, v2: coordinates of two nodes to query | Optimal path analysis by nodal coordinates | ||||
void SetUrlPath(FString strUrlPath, FString weightName, Gamebool isUncertainDirectionValid) | strUrlPath URL weightName Weight field isUntainDirectionValid |
Set iserver address | ||||
TArray GetLinkId() | Get associated pipe id array | |||||
TArray GetConnectivityNodeIDs() | Get connected node id array | |||||
TArray GetConnectivityNodeIDs() | Get connected arc id array | |||||
Gamebool IsConnected() | for continuity | |||||
Geometrist3D | 3D buffer analysis | enum BufferEndType { Buffer_Round = 1, Buffer_Flat = 2, } |
Buffer_Round: Round Buffer Buffer_Flat: Flat buffer |
Buffer endpoint type enumeration | ||
static GeoModel3D* CreateBuffer(Geometry3D* geometry,BufferAnalyst3DParameter bufferAnalyst3DParameter, PrjCoordSys* prjCoordSys) | geometry bufferAnalyst3DParameter prjCoordSys |
create buffers | ||||
LongitudinalSectionAnalyst | cross-sectional analysis | TArray<IntersectionInfo> QueryIntersectionInfo(Vector3d drawPoint1, Vector3d drawPoint2) | drawPoint1: The starting point of the segment drawPoint2: The position of the end of the segment |
Query information about lines that intersect segments | ||
Profile | profile analysis | void SetExtendHeight(double height) | height height value | Sets the height of the profile in meters | ||
double GetExtendHeight() | Gets the height of the profile in meters | |||||
void SetStartPoint3D(Vector3d vPoint) | Set the starting point for section line analysis | |||||
Vector3d GetStartPoint3D() | Gets the starting point for profile analysis | |||||
void SetEndPoint3D(Vector3d vPoint) | Set the end point of the section line analysis | |||||
Vector3d GetEndPoint3D() | Gets the end point of the profile analysis | |||||
Vector3d GetLeftTopPosition() | Gets the three-dimensional position of the upper-left point of the profile texture | |||||
Vector3d GetRightBottomPosition() | Gets the 3D position of the lower right point of the profile texture | |||||
UTexture2D* GetImageData() | Get profile | |||||
CalculationTerrain | Mass Cut Analysis | Gamebool CutFill(GeoRegion* pGeoRegion, Gamedouble dperPixel, Gamedouble baseAltitude) | pGeoRegion Filling and excavation aspects dperPixel resolution baseAltitude |
Get Mass Cut Volume Area | ||
Gamedouble GetFillVolume() | Get Fill Volume | |||||
Gamedouble GetCutVolume() | Get Cut Volume | |||||
Gamedouble GetFillArea() | Get Fill Area | |||||
Gamedouble GetCutArea() | Get Cut Area | |||||
Gamedouble GetNoChangeArea() | Get Unfilled | |||||
SuperMapSDK:: UnrealEngine:: Data | Provide comprehensive operation and processing of spatial data and its attributes, including creation, management, access and query functions. | Dataset | dataset class | enum SUPERMAP_API DatasetType { DT_UnKnown = -1 DT_POINT, DT_LINE, DT_REGION, DT_Model, } |
DT_Unknown Other types DT_POINT DT_LINE line DT_REGION face DT_Model |
dataset type |
FString GetName() | return Data Set Name | Get dataset name | ||||
TArray<Geometry*> Query() | geometry | Query dataset geometry | ||||
TArray<Geometry*> QueryBySql(FString strSQL) | strSQL [in] SQL command return Geometry |
Query datasets via SQL | ||||
TArray<FString> QueryField(FString strFieldName) | strFieldName [in] Property field return attribute value |
Query Attribute Field Attribute Value | ||||
TArray<FString> QueryAttributeById(int32 nID) | nID [in] Object ID return attribute value |
Query properties by ID | ||||
PrjCoordSys* GetPrjcoordsys() | Acquiring a dataset projection coordinate system | |||||
void GetFieldInfos(TArray<FieldInfo>& arrFieldInfo) | arrFieldInfo [out] Field information | Get field information | ||||
FSlateRect GetBounds() | return Data Set Bound | Get Data Set Bound | ||||
DatasetType GetType() | return Data Set Type | Return data set type | ||||
DataSource* GetDataSource() | return Data Source | Get the data source | ||||
DataSource | data source class | bool Open(FString strDataSourceName) | strDataSourceName [in] DataSourceName | open the data source | ||
bool Close() | close the data source | |||||
Dataset* GetDataset(FString strDatasetName) | strDataSetName [in] DataSetName return data set |
Get data sets by name | ||||
Dataset* GetDataset(int nIndex) | nIndex [in] DataSet Index return data set |
Get data sets by indexing subscripts | ||||
FString GetName() | return Data Source Name | Gets the data source name | ||||
std::vector<Dataset*> GetDatasetList() | return Data Set Collection | Go back to data set collection | ||||
int32 GetDatasetCount() | return Number of data sets | Get the number of datasets | ||||
void* GetHandler() | Return UGC handle | |||||
DataSources | Data Source Collection Class | DataSource* GetAt(int nIndex) | open the data source | |||
DataSource* GetAt(FString strAlias) | strAlias: Data source name | open the data source | ||||
FieldInfo | Field information class. Stores information about the name, type, default value, and length of the field | enum SUPERMAP_API FieldType { FT_UnKnown = 0, FT_Boolean = 1, FT_Byte = 2, FT_INT16 = 3, FT_INT32 = 4, FT_INT64 = 16, FT_Float = 6, FT_Double = 7, FT_Date = 8, FT_Binary = 9, FT_Text = 10, FT_LongBinary = 11, FT_Char = 18, FT_Time = 22, FT_TimeStamp = 23, FT_NText = 127, FT_Geometry = 128, FT_JsonB = 129 } |
FT_Unknown Invalid field type. FT_Boolean, single byte, TRUE,FALSE. FT_Byte unsigned single character plum, 0-255. FT_INT16 Short integer, 2 bytes. FT_INT32 Long integer, 4 bytes. FT_INT64 Long, 8 bytes. FT_Float Single precision float, 4 bytes. FT_Double, 8 bytes. FT_Date Date type, year, month, day, without time. FT_Binary Fixed length binary, length needs to be specified. FT_Text variable length string type. FT_LongBinary Variable length binary type. FT_Char Fixed length string type, length needs to be specified. FT_Time time type, hours, minutes, seconds, without date. FT_TimeStamp Timestamp type, year, month, day, hour, minute, second. FT_NText Wide Byte Variable Length String Type. FT_Geometry geometry data type. FT_JsonB used as Jsonb field type in Pg |
field type | ||
GeoJsonParsing | Read geojson files | void JsonToGeometry(FString strPath, TArray<Geometry*>& pGeometrys) | strPath: geojson file path pGeometry: geometry of output |
Read geojson under path | ||
GeoBox | void SetWidth(double dWidth) | set the width | ||||
double GetWidth() | Get Width | |||||
void SetLength(double dLength) | set the length | |||||
double GetLength() | Get Length | |||||
void SetHeight(double dHeight) | set the height | |||||
double GetHeight() | Get altitude | |||||
void SetColor(FVector4 color) | Set crop box color | |||||
FVector4 GetColor() | Get crop box color | |||||
Vector3d GetCenter() | Get Insertion Point | |||||
GeoLine3D | 3D line class | void GetPoints(TArray<Vector3d>& arrPoints) | arrPoints: All point groups | Get all the points. | ||
void GetPoints(TArray<FVector>& arrPoints) | arrPoints: All point groups | Get all the points. | ||||
int32 GetPointCount() | Gets the sum of the number of points of all child objects | |||||
int32 GetSubCount() | Get the number of all child objects | |||||
void GetPolyCounts(TArray<int32>& arrPolyCounts) | arrPolyCounts: Partial point groups | Find the number of points of a child object | ||||
void SetPoints(TArray<FVector> arrPoints) | arrPoints: All point groups | |||||
Geometry3D | 3D Geometry Base Class | void SetPosition(Vector3d vPos) | Set center point | |||
Vector3d GetPosition() | Get Center Point | |||||
void SetRotation(double dRotateX, double dRotateY, double dRotateZ) | set the rotation | |||||
Vector3d GetRotation() | acquire the rotation | |||||
void SetScale(double dScaleX, double dScaleY, double dScaleZ) | set the Zoom | |||||
Vector3d GetScale() | Get Zoom | |||||
GeometryType | geometry types | enum SUPERMAP_API GeometryType { GT_None = 0, GT_GeoPoint = 1, GT_GeoLine = 3, GT_GeoRegion = 5, GT_GeoPoint3D = 101, GT_GeoLine3D = 103, GT_GeoRegion3D = 105, GT_GeoModel3D = 1218 } |
GT_None Empty Type GT_GeoPoint Point Type GT_GeoLine Line Type GT_GeoRegion polygon type GT_GeoPoint3D GT_GeoLine3D GT_GeoRegion3D GT_GeoModel3D Model |
dataset type | ||
GeoPoint3D | 3D point class | GeometryType GetType() | return type | |||
void SetPoint3D(FVector vPoint3D) | vPoint3D: Coordinates | set point | ||||
FVector GetPoint3D() | acquisition point | |||||
GeoRegion3D | three-dimensional surface class | void GetPoints(TArray<Vector3d>& arrPoints) | arrPoints: All point groups | Get all the points. | ||
void GetPoints(TArray<FVector>& arrPoints) | arrPoints: All point groups | Get all the points. | ||||
void GetPoints(double* &pData , int32 &nCount) | Get all the points. | |||||
void GetSubdivisionPoints(TArray<FVector>& arrLocations, float fDistance) | Subdivision interpolation points | |||||
int32 GetPointCount() | Gets the sum of the number of points of all child objects | |||||
int32 GetSubCount() | Get the number of all child objects | |||||
void GetPolyCounts(TArray<int32>& arrPolyCounts) | arrPolyCounts: Partial point groups | Find the number of points of a child object | ||||
void GetTriangleIndices(TArray<int32> & indicesArray) | the triangulated | |||||
void SetPoints(TArray<FVector> arrPoints) | Add all points | |||||
bool IsEmpty() | is empty | |||||
void Clear() | Clear all points | |||||
int AddPart(TArray<Vector3d> points) | add point | |||||
bool InsertPart(int index, TArray<Vector3d> points) | insertion point | |||||
bool RemovePart(int index) | index: index value of the specified point | Remove specified point |