![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Describes all interfaces for controlling visualization. More...
#include <base/inc/base_types.h>#include <base/inc/sdk_component_interface.h>#include <base/inc/interfaces/properties/properties_interface.h>#include <base/inc/interfaces/parameters/parameters_interface.h>#include <base/inc/interfaces/enum/enum_interface.h>#include <base/inc/geometry/geometry_base_types.h>#include <geometry/inc/geometry/geometry.h>#include <geometry/inc/coordinate_systems/crs_projection.h>#include <datalayer/inc/geodatabase/gdb_const.h>#include <datalayer/inc/geodatabase/gdb_dataset.h>#include <datalayer/inc/geodatabase/gdb_workspace.h>#include <datalayer/inc/geodatabase/gdb_feature.h>#include <visualizationlayer/inc/vis_const.h>#include <visualizationlayer/inc/visman/scene_manager_base_interface.h>#include <visualizationlayer/inc/visman/scene_control_base_interface.h>#include <visualizationlayer/inc/visman/scene_highlight_base_interface.h>#include <visualizationlayer/inc/vismangl/data_sources_manager_interface.h>#include <visualizationlayer/inc/vismangl/scene_layers_manager_gl_interface.h>#include <visualizationlayer/inc/gl2d/gl2d_texture_interface.h>Go to the source code of this file.
Data Structures | |
| class | ISceneManagerGL |
| Interface for scene manager setup. More... | |
| class | ISceneControlGL |
| Interface for scene manager control. More... | |
| class | ISceneManagerGLCallback |
| Scene manager callback interface. More... | |
| class | IDatasetSelectionCallbackGL |
| Scene manager dataset selection callback interface. More... | |
| class | ISelectedDatasetsListGL |
| Dataset list interface used with IDatasetSelectionCallbackGL. More... | |
Describes all interfaces for controlling visualization.
Copyright © The Navtor SDK 2011-2018. All Rights Reserved.
Initialization parameters for the SceneManagerGL (used with ISceneManagerGLInitialParameters).
| Enumerator | |
|---|---|
| kSceneManagerGLInitialParameter_Name | Name of the scene manager. |
| kSceneManagerGLInitialParameter_SceneWidth | Scene width. |
| kSceneManagerGLInitialParameter_SceneHeight | Scene height. |
| kSceneManagerGLInitialParameter_ResolutionDPM | Scene resolution DPM. |
| kSceneManagerGLInitialParameter_Flags | Flags. |
| kSceneManagerGLInitialParameter_LayerSetName | Starting layers set. |
| kSceneManagerGLInitialParameter_GLType | see SceneManagerGLType. |
| kSceneManagerGLInitialParameter_SharableContext | Platform specific reference to an exiting GL context to share with. |
| kSceneManagerGLInitialParameter_ExtCtx_GL2DThread | Own implementation of IGL2DThread interface to execute tasks in GL thread. |
| kSceneManagerGLInitialParameter_ExtCtx_xxxGetGlProcAddr | Pointer to appropriate xxxGetProcAddress method (wglGetProcAddress/eglGetProcAddress/glXGetProcAddressARB/OSMesaGetProcAddress/etc) |
| kSceneManagerGLInitialParameter_ExtCtx_GlLibHandle | Handle to appropriate OpenGL library (::GetModuleHandleA("opengl32.dll") for Windows, can be NULL for Linux) |
| kSceneManagerGLInitialParameter_ExtCreatedGlContext | Own implementation of IGL2DExtCreatedGlCtx to create GL context by using external application API. |
| kSceneManagerGLInitialParameter_SceneManagerGL | Earlier created scene manager GL instance. |
| kSceneManagerGLInitialParameter_TextureFormat | Format of the scene texture. |
| kSceneManagerGLInitialParameter_Projection | Data projection. |
| kSceneManagerGLInitialParameter_RootShadersFolder | Root shaders folder. |
| kSceneManagerGLInitialParameter_GLDataCache_On | GL data cache on and off. |
| kSceneManagerGLInitialParameter_GLDataCache_RootFolder | Root folder for the GL data cache. |
| kSceneManagerGLInitialParameter_GLDataCache_MaxSizeMb | GL data cache maximum size. |
| kSceneManagerGLInitialParameter_GLDataCache_ClearThreshold | GL data cache clear threshold from max size. |
| kSceneManagerGLInitialParameter_GLDataCache_ClearMinRatio | GL data cache clear min ratio from max size. |
| kSceneManagerGLInitialParameter_GLDataCache_Type | GL data cache storage type (enum GLDataCacheType). |
| kSceneManagerGLInitialParameter_TextsBlurringOn | Switches on/off text blurring mode. |
| kSceneManagerGLInitialParameter_UpdateDisplayMode | Switches specified display mode (enum UpdateDisplayMode). |
| kSceneManagerGLInitialParameter_BufferedDisplay_ExtendPercents | Specifies the size to extend buffered scene image in percents of the scene size (each side will get half of this value). |
| kSceneManagerGLInitialParameter_BufferedDisplay_ExtendPixels | Specifies the size in pixels to extend buffered scene image (each side will get half of this value). |
| enum SceneManagerGLType |
| enum GLDataCacheType |
| enum UpdateDisplayMode |
Scene Manager properties.
| Enumerator | |
|---|---|
| kSceneManagerGLProperty_Name | Name of the scene manager. |
| kSceneManagerGLProperty_MinScale | Smallest scale limit. Default 300'000'000. |
| kSceneManagerGLProperty_MaxScale | Largest scale limit. Default 10. |
| kSceneManagerGLProperty_SceneWidth | Width of the scene in pixels. |
| kSceneManagerGLProperty_SceneHeight | Height of the scene in pixels. |
| kSceneManagerGLProperty_SceneExtendPercents | Expands scene covering area, in percents. |
| kSceneManagerGLProperty_BackgroundColorARGB | Scene background color in ARGB format. |
| kSceneManagerGLProperty_Projection | Scene projection. |
| kSceneManagerGLProperty_Canvas | Used canvas (sdk::gl2d::IGL2DCanvas) |
| kSceneManagerGLProperty_SymbolCatalog | Used symbol catalog (sdk::glsymb::IGLSymbCatalog) |
| kSceneManagerGLProperty_SymbolTypeFilter | Provides a set of 2^glsymb::GLSymbolType flags to only leave the specified set of symbols. |
| kSceneManagerGLProperty_CollectBuildStat | Switches on collecting of build statistics (can be retrieved through ISceneInformation). |
| kSceneManagerGLProperty_SceneBuildFlags | Controls the way how building algorithms work. (see SceneBuildFlags enum). |
| kSceneManagerGLProperty_SceneDisplayFlags | Controls the way how scene picture is painted. (see SceneDisplayFlags enum). |
| kSceneManagerGLProperty_LatLimitMin | Minimal scene latitude limit. |
| kSceneManagerGLProperty_LatLimitMax | Maximal scene latitude limit. |
| kSceneManagerGLProperty_GraphicCache_On | Turns graphic containers cache on and off. |
| kSceneManagerGLProperty_GraphicCache_MaxAppMemoryMb | Maximum app memory to start clearing cached graphic containers. |
| kSceneManagerGLProperty_GraphicCache_MaxDatasets | Maximum number of graphic containers in memory (used when MaxAppMemoryMb = 0) |
| kSceneManagerGLProperty_GLDataCache_On | Turns GL data cache on and off. |
| kSceneManagerGLProperty_GLDataCache_Path | Gets GL data cache path. |
| kSceneManagerGLProperty_GLDataCache_MaxSizeMb | Sets new or gets current GL data cache maximum size. |
| kSceneManagerGLProperty_GLDataCache_Type | Gets the type of the used GL data cache storage (enum GLDataCacheType). |
| kSceneManagerGLProperty_DisplayMode | Display mode set at initialization (enum DisplayMode) (Read-only). |
| kSceneManagerGLProperty_BufferedDisplay_ExtendPercents | Specifies the size to extend buffered scene image in percents of the scene size (each side will get half of this value). |
| kSceneManagerGLProperty_BufferedDisplay_ExtendPixels | Specifies the size in pixels to extend buffered scene image (each side will get half of this value). |
| kSceneManagerGLProperty_WaitRenderingTimeoutMs | StartRendering timeout (when kSceneGLRenderingFlag_WaitRendering flag is used). |
| kSceneManagerGLProperty_LocalScaleLongitude | Specifies the longitude which should be used when kPP_UseLocalScaleForChartsSelection_SceneProperty is set. |
| kSceneManagerGLProperty_LocalScaleLatitude | Specifies the latitude which should be used when kPP_UseLocalScaleForChartsSelection_SceneProperty is set. |
| kSceneManagerGLProperty_ProjectionCentralLongitude | Specifies central longitude for the projection (By default it is equal 0). |
| kSceneManagerGLProperty_ProjectionCentralLatitude | Specifies central latitude for the projection (By default it is equal 0). |
| kSceneManagerGLProperty_ProjectionCentralPointChangeMode | Specifies automatic projection central point change mode (By default it is off, see ProjectionCentralPointChangeMode). |
| kSceneManagerGLProperty_ProjectionCentralPointChangeMinScale | Specifies minimal scale when automatic projection central point change is peformed (By default it is equal 1 mln). |
| kSceneManagerGLProperty_ProjectionCentralLongitudeMaxDiff | Specifies max diffrence of projection central longitude from the current position (In degrees, by default the value is 0.0 degree). |
| kSceneManagerGLProperty_ProjectionCentralLatitudeMaxDiff | Specifies max diffrence of projection central latitude from the current position (In degrees, by default the value is 1.0 degree). |
| kSceneManagerGLProperty_DonotCoverInPaint | Suppresses covering the scene by cached data while rendering is in progress (needed when user data selection is used). |
| kSceneManagerGLProperty_PutObjectsAboveRadar | Overrides objects symbols radar flag - places them over radar. Specifies a list of object class codes. |
| kSceneManagerGLProperty_User | Offset for user properties which SceneManager may contain. |
| enum SceneBuildFlags |
| enum SceneDisplayFlags |
Scene highlight parameters.
| Enumerator | |
|---|---|
| kSceneHighlightParameters_Feature | A feature to highlight. |
| kSceneHighlightParameters_Geometry | A geometry to highlight. |
| kSceneHighlightParameters_FullFeatureID | ObjectID of target feature. |
| kSceneHighlightParameters_DatasourceName | Name of the data source containing target feature. |
| kSceneHighlightParameters_DatasetName | Name of the dataset containing target feature. |
| kSceneHighlightParameters_DatasetID | ID of the dataset containing target feature. |
| kSceneHighlightParameters_FeatureOID | Target feature OID. |
| kSceneHighlightParameters_PointIndex | Index of specific point of the Multipoint or Grid feature. |
| kSceneHighlightParameters_PointSymbolType | Point symbol type (see SceneGLHighlightPointSymbolType) |
| kSceneGLHighlightParameters_Feature | A feature to highlight. |
| kSceneGLHighlightParameters_Geometry | A geometry to highlight. |
| kSceneGLHighlightParameters_FullFeatureID | ObjectID of target feature. |
| kSceneGLHighlightParameters_DatasourceName | Name of the data source containing target feature. |
| kSceneGLHighlightParameters_DatasetName | Name of the dataset containing target feature. |
| kSceneGLHighlightParameters_DatasetID | ID of the dataset containing target feature. |
| kSceneGLHighlightParameters_FeatureOID | Target feature OID. |
| kSceneGLHighlightParameters_PointIndex | Index of specific point of the Multipoint or Grid feature. |
| kSceneGLHighlightParameters_PointSymbolType | Point symbol type (see SceneGLHighlightPointSymbolType) |
| kSceneGLHighlightParameters_IsViewportData | Maybe used together with 'Geometry' param, tells that geometry is projected to the viewport. |
Scene projection central point automatic change modes.
| enum SceneGLParameter |
Scene parameters.
Update display flags.
| enum SceneGLResetFlags |
Reset scene flags (specifies which cached data to release).
| enum SceneGLInfoFlags |
| enum SceneManagerGLEvent |
Scene manager event IDs.
Scene manager SceneLayersUpdated event parameters.
Scene manager SceneManagerGLEvent event flags.
Scene manager SceneManagerGLEvent SceneUpdated states.
Possible answers to 'NewPortrayalsFound' scene control event.
Parameters which can be read for each selected dataset.
Properties of a selected dataset.
| Enumerator | |
|---|---|
| kSelectedDatasetPropertyGL_DataSourceReference | Returns IDataSource, if possible. |
| kSelectedDatasetPropertyGL_DataSourceName | DataSource name. |
| kSelectedDatasetPropertyGL_DatasetReference | Reference to gdb::IDataset. |
| kSelectedDatasetPropertyGL_Priority | Sort criteria. |
| kSelectedDatasetPropertyGL_DataSourcePriority | DataSource priority. |
| kSelectedDatasetPropertyGL_InternalRef | For internal use. |
| kSelectedDatasetPropertyGL_InternalSubRef | For internal use. |