 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file.
9 #ifndef SDK_PORTRAYAL_PARAMETERS_INTERFACE_H_
10 #define SDK_PORTRAYAL_PARAMETERS_INTERFACE_H_
25 static const SDKUInt32 kPortrayalParameters_OwnShip = 1000UL;
27 static const SDKUInt32 kPortrayalParameters_ARPA = 2000UL;
29 static const SDKUInt32 kPortrayalParameters_AIS = 3000UL;
31 static const SDKUInt32 kPortrayalParameters_AIO = 4000UL;
33 static const SDKUInt32 kPortrayalParameters_Other = 5000UL;
35 static const SDKUInt32 kPortrayalParameters_Internal = 100000UL;
121 "SymbolisedBoundaries",
124 "SymbolsAndTextScale",
125 "DangerInShallowWaters",
127 "TextAntiAliasingMode",
128 "RealLengthLightSectorLegs",
129 "UseLocalScaleForChartsSelection",
130 "UsePeriodicAttributes",
131 "UseScaminScamaxAttributes",
137 "TimeLimitedObjectsStartTime",
138 "TimeLimitedObjectsEndTime",
139 "SafetyContourColor",
140 "OverscaleIndicationScaleFactor",
141 "OverscaleIndicationAlgorithm",
143 "DepthUnitsPosition",
144 "NorthUpArrowPosition",
145 "ScaleIndicatorPosition",
147 "DecorationTextColorName",
148 "DecorationTextHeight",
151 "CentralSymbolsExcludeZone",
152 "CentralSymbolsExcludeVessel",
153 "CentralSymbolsAlgorithm",
157 "Gridlines_Parameters",
160 "DontUseTransparency",
162 "HighlightDateDependentObjects",
163 "UseNationalAttributes",
167 "RealLengthLightLegs_ExtraLightsOn",
168 "RealLengthLightLegs_ActivationScale",
169 "RealLengthLightLegs_ExtendSizeNM",
170 "GroundingCheck_CombineSCAreasHighlight",
171 "Temp_MakeObstructionInUNSAREDangerous",
172 "ShowParallelIndexLinesOnActiveRoute",
173 "ShowPositionReferencesOnActiveRoute",
175 "DetailedNoticeMarks",
211 kPP_OverscaleIndicationAlgorithm_S52 = 0,
262 SDKUInt64 m_position;
270 #if defined(__cplusplus)
271 static inline SDKUInt64 PositionInSceneInit(SDKUInt32 left, SDKUInt32 top)
276 return pos.m_position;
279 #define PositionInSceneInit(left, top) \
280 ((left & 0x00000000FFFFFFFFULL) | \
281 ((static_cast<SDKUInt64>(top) << 32) & 0xFFFFFFFF00000000ULL))
313 static const char kParametersCatalog_DatasetPropertiesKey[] =
314 "dataset_properties";
315 static const char kParametersCatalog_PortrayalParametersKey[] =
316 "portrayal_parameters";
317 static const char kParametersCatalog_Name[] =
"name";
318 static const char kParametersCatalog_Code[] =
"code";
319 static const char kParametersCatalog_DefaultValue[] =
"default_value";
320 static const char kParametersCatalog_MinimumValue[] =
"minimum_value";
321 static const char kParametersCatalog_MaximumValue[] =
"maximum_value";
322 static const char kParametersCatalog_ListedValues[] =
"listed_values";
323 static const char kParametersCatalog_MeasurementType[] =
"measurement_type";
324 static const char kParametersCatalog_DecimalsNumber[] =
"decimals";
326 static const SDKInt32 kParametersCatalog_DecimalsNumber_Undefined = -1;
351 virtual SDKResult Next(SDKParameterID& parameter_id, SDKAny& value)
const throw() = 0;
363 #endif // SDK_PORTRAYAL_PARAMETERS_INTERFACE_H_
@ kPP_Flashing
Flashing on/off period, boolean value.
Definition: portrayal_parameters_interface.h:62
@ kPP_FullLightsInfo
Show full lights description.
Definition: portrayal_parameters_interface.h:92
@ kPP_GridlinesParameters_FixedLatStep
User specified latitude grid step.
Definition: portrayal_parameters_interface.h:238
@ kPP_DangerInShallowWaters
see DangerInShallowWatersEnum.
Definition: portrayal_parameters_interface.h:53
@ kPP_AntiAliasingMode
see sdk::gfx::AntiAliasingMode.
Definition: portrayal_parameters_interface.h:54
@ kPP_GridlinesFlags_LabelsBothSides
Put labels at the both sides.
Definition: portrayal_parameters_interface.h:231
@ kPP_DecorationTextColorName
The decoration text color name.
Definition: portrayal_parameters_interface.h:75
static const char * kPortrayalParameterName[]
List of the portrayal parameters names.
Definition: portrayal_parameters_interface.h:113
@ kPP_RealLengthLightLegs_ExtendSizeNM
Request region is increased by this value for extra light collecting.
Definition: portrayal_parameters_interface.h:97
PortrayalParameterOverscaleIndicationAlgorithmEnum
Overscale indication parameter values.
Definition: portrayal_parameters_interface.h:209
@ kPP_DangerInShallowWaters_Not_Display
Do not display.
Definition: portrayal_parameters_interface.h:186
@ kPP_SymbolsAndTextScale_AidsToNavigation
Aids to navigation symbols.
Definition: portrayal_parameters_interface.h:288
@ kPP_UseLocalScaleForChartsSelection_Off
Turn off this function.
Definition: portrayal_parameters_interface.h:302
@ kPP_GridlinesParameters_BottomBorderShiftPx
Shift from the bottom (in pixels).
Definition: portrayal_parameters_interface.h:245
@ kPP_PlainBoundariesMode
Plain boundaries.
Definition: portrayal_parameters_interface.h:203
@ kPP_HighlightDateDependentObjects
Switches on/off highlight date dependent objects.
Definition: portrayal_parameters_interface.h:90
@ kPP_UsePeriodicAttributes
Using of periodic attributes on/off.
Definition: portrayal_parameters_interface.h:58
@ kPP_CentralSymbolsExcludeVessel
Do not place central symbols near vessel symbol (requires kPP_VesselGeoPosition to be specified).
Definition: portrayal_parameters_interface.h:80
@ kPP_TimeLimitedObjectsStartTime
Start time for showing/using time limited objects.
Definition: portrayal_parameters_interface.h:65
@ kPP_UseLocalScaleForChartsSelection_SceneProperty
Specifies to use the position set by kSceneManager*_LocalScale* properties.
Definition: portrayal_parameters_interface.h:305
@ kPP_ScaleIndicatorPosition
The scale indicator shifts from the left and top scene edges or from the NorthUp arrow if it exists i...
Definition: portrayal_parameters_interface.h:73
@ kPP_ReviewStartTime
Start time for showing manual updates.
Definition: portrayal_parameters_interface.h:93
@ kPP_SymbolsAndTextScale
ISDKParameters expected, see SymbolsAndTextScaleEnum.
Definition: portrayal_parameters_interface.h:52
@ kPP_DangerInShallowWaters_Display
Display.
Definition: portrayal_parameters_interface.h:187
virtual SDKResult Next(SDKParameterID ¶meter_id, SDKAny &value) const =0
Returns next portrayal parameter.
@ kPP_UseScaminScamaxAttributes
Using of SCAMIN & SCAMAX attributes.
Definition: portrayal_parameters_interface.h:59
@ kPP_SafeHazardsShown
Suppress display of hazards greater than safety contour.
Definition: portrayal_parameters_interface.h:77
@ kPP_GridlinesFlags_LabelsAtCenter
Put labels at the center.
Definition: portrayal_parameters_interface.h:230
@ kPP_GridlinesParameters_MinLinesCount
Min grid lines count.
Definition: portrayal_parameters_interface.h:242
@ kPP_SafetyContourColor
The safety contour S-52 color index.
Definition: portrayal_parameters_interface.h:67
@ kPP_ReviewMode
Switches on review mode (See ReviewModeEnum). Highlights the manual updates.
Definition: portrayal_parameters_interface.h:87
@ kPP_WPNumbering
Waypoint numbering on the route WP0/WP1.
Definition: portrayal_parameters_interface.h:102
@ kPP_CentralSymbolsAlgorithm_Complex
Uses region covering scheme.
Definition: portrayal_parameters_interface.h:218
@ kPP_UseLocalScaleForChartsSelection
Use projection local scale for charts selection. See UseLocalScaleForChartsSelectionEnum.
Definition: portrayal_parameters_interface.h:57
@ kPP_DecorationTextHeight
The decoration text height in tenth of millimeter.
Definition: portrayal_parameters_interface.h:76
@ kPP_GridlinesFlags_EqualStepLon
Lon step the same as lat one.
Definition: portrayal_parameters_interface.h:226
@ kPP_UseLocalScaleForChartsSelection_SceneCenter
Specifies to use the scene center as the local scale position.
Definition: portrayal_parameters_interface.h:304
UseLocalScaleForChartsSelectionEnum
Specifies the options of the local scale positions used for charts selection and SCAMIN handling.
Definition: portrayal_parameters_interface.h:300
@ kPP_Temp_MakeObstructionInUNSAREDangerous
Obstructions inside UNSARE considered to be dangerous - missed change from deferred amendment 6 to PL...
Definition: portrayal_parameters_interface.h:99
@ kPP_GridlinesFlags_EqualStepMin
Minimal step is used for lat and lon steps.
Definition: portrayal_parameters_interface.h:227
@ kPP_UseOverRadarFlag
Switches on/off usage of the symbols over-radar flag. Need to be switched on to draw over-radar symbo...
Definition: portrayal_parameters_interface.h:104
@ kPP_GridlinesParameters_BottomBorderShiftTmm
Shift from the bottom (in tenth of millimeters).
Definition: portrayal_parameters_interface.h:246
@ kPP_ShowEventMarkID
Show route event mark ID (CPT 1)
Definition: portrayal_parameters_interface.h:107
@ kPP_ShallowPattern
Shallow pattern on/off.
Definition: portrayal_parameters_interface.h:47
@ kPP_ReviewMode_Off
Review mode is off (default value)
Definition: portrayal_parameters_interface.h:253
Provides access to members for managing a parameter set.
@ kPP_SymbolsAndTextScale_LightDescription
Light description.
Definition: portrayal_parameters_interface.h:289
@ kPP_ReviewMode_DisplayReviewedOnly
Only reviewed highlighting is displayed.
Definition: portrayal_parameters_interface.h:254
@ kPP_RealLengthLightLegs_ActivationScale
Extra lights are collected on scales bigger than this activation scale.
Definition: portrayal_parameters_interface.h:96
@ kPP_ShowPositionReferencesOnActiveRoute
Show position references on active route.
Definition: portrayal_parameters_interface.h:101
ReviewModeEnum
Review mode parameter values.
Definition: portrayal_parameters_interface.h:251
Provides access to members that manage parameters of an object.
Definition: parameters_interface.h:33
@ kPP_TimeLimitedObjectsEndTime
End time for showing/using time limited objects.
Definition: portrayal_parameters_interface.h:66
@ kPP_UseLocalScaleForChartsSelection_UserPosition
Specifies to use the position set manually by the user directly into the projection.
Definition: portrayal_parameters_interface.h:303
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
@ kPP_ColourMode_1Colour
Use 1 color for depth areas coloring.
Definition: portrayal_parameters_interface.h:196
@ kPP_GridlinesFlags_EqualStepLat
Lat step the same as lon one.
Definition: portrayal_parameters_interface.h:225
GridlinesFlagsEnum
Coordinate grid flags values.
Definition: portrayal_parameters_interface.h:223
PortrayalParameterEnum
Parameters list to control the portrayal.
Definition: portrayal_parameters_interface.h:40
@ kPP_DisplayPalette
Display palette.
Definition: portrayal_parameters_interface.h:51
@ kPP_ColourMode_2Colour
Use 2 colors for depth areas coloring.
Definition: portrayal_parameters_interface.h:195
@ kPP_DangerSymbolOn
The hazard's danger symbol on/off.
Definition: portrayal_parameters_interface.h:74
virtual SDKResult Reset()=0
Resets enumeration.
@ kPP_S101_Portrayal
S101 portrayal name.
Definition: portrayal_parameters_interface.h:63
@ kPP_GridlinesParameters_MaxStepInPixels
Max grid step in pixels.
Definition: portrayal_parameters_interface.h:241
Describes the position of a scene decoration element.
Definition: portrayal_parameters_interface.h:260
@ kPP_OverscaleIndicationAlgorithm_Alternative
Suppresses the overscale indication if all datasets covering the scene are overscaled.
Definition: portrayal_parameters_interface.h:212
@ kPP_DepthUnitsPosition
The depth units shifts from the left and bottom scene edges in tenth of millimeter.
Definition: portrayal_parameters_interface.h:71
@ kPP_Gridlines_Flags
Grid flags (see GridlinesFlagsEnum).
Definition: portrayal_parameters_interface.h:84
@ kPP_SymbolsAndTextScale_ManufacturersText
Manufacturers text.
Definition: portrayal_parameters_interface.h:294
PortrayalParameterColourModeEnum
Color mode portrayal parameter values.
Definition: portrayal_parameters_interface.h:192
@ kPP_SafeDepthsShown
Suppress display of soundings greater than safety depth.
Definition: portrayal_parameters_interface.h:78
@ kPP_UseNationalAttributes
National attributes are used instead of ordinary ones (E.g. NOBJNM instead of OBJNAM).
Definition: portrayal_parameters_interface.h:91
@ kPP_ReviewEndTime
End time for showing manual updates.
Definition: portrayal_parameters_interface.h:94
@ kPP_OverscaleIndicationScaleFactor
Overscale indication scale factor 2.0 by default.
Definition: portrayal_parameters_interface.h:68
Common base SDK interfaces.
@ kPP_RealLengthLightSectorLegs
Sector legs will be drawn with length based on VALNMR attribute.
Definition: portrayal_parameters_interface.h:56
@ kPP_UseIEC62288ed2
Use IEC62288 ed.2 for symbols presentation.
Definition: portrayal_parameters_interface.h:89
static const char kParametersCatalog_VersionKey[]
Parameters catalog constants.
Definition: portrayal_parameters_interface.h:311
@ kPP_ColourMode_4Colour
Use 4 colors for depth areas coloring.
Definition: portrayal_parameters_interface.h:194
@ kPP_ColourMode
Color mode, see PortrayalParameterColourModeEnum.
Definition: portrayal_parameters_interface.h:50
@ kPP_CentralSymbolsAlgorithm
Central symbols algorithm see PortrayalParameterCentralSymbolsAlgorithmEnum.
Definition: portrayal_parameters_interface.h:81
@ kPP_DontUseAIOHatches
Switches on/off AIO hatches.
Definition: portrayal_parameters_interface.h:105
DangerInShallowWatersEnum
Danger in shallow waters portrayal parameter values.
Definition: portrayal_parameters_interface.h:184
@ kPP_NorthUpIndicatorPosition
The north-up indicator shifts from the left and top scene edges in tenth of millimeter,...
Definition: portrayal_parameters_interface.h:72
@ kPP_DeepContour
Deep contour.
Definition: portrayal_parameters_interface.h:44
@ kPP_GridlinesParameters_MaxStepInMeters
Max grid step in meters.
Definition: portrayal_parameters_interface.h:240
@ kPP_ShowGridlines
Show grid-lines on/off.
Definition: portrayal_parameters_interface.h:61
GridlinesParametersEnum
Coordinate grid parameter values.
Definition: portrayal_parameters_interface.h:236
@ kPP_GroundingCheck_CombineSCAreasHighlight
Combine all safety contour area objects highlighting in one.
Definition: portrayal_parameters_interface.h:98
@ kPP_OverscaleIndicationAlgorithm
Overscale indication algorithm see PortrayalParameterOverscaleIndicationAlgorithmEnum.
Definition: portrayal_parameters_interface.h:69
@ kPP_SymbolsAndTextScale_AllTexts
All texts.
Definition: portrayal_parameters_interface.h:295
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
@ kPP_GridlinesFlags_RotatedLabelsAtCenter
Put labels at the center for rotated grid.
Definition: portrayal_parameters_interface.h:229
@ kPP_SymbolsAndTextScale_NatureOfSeabed
Nature of seabed.
Definition: portrayal_parameters_interface.h:291
@ kPP_CentralSymbolsExcludeZone
Do not place central symbols inside specified zone (in pixels from viewport center).
Definition: portrayal_parameters_interface.h:79
@ kPP_SymbolsAndTextScale_GeographicNames
Geographic names.
Definition: portrayal_parameters_interface.h:292
@ kPP_SafetyContour
Safety contour.
Definition: portrayal_parameters_interface.h:45
@ kPP_GridlinesParameters_SideMarkerAlignLeft
Marker align side (true - left, false - right).
Definition: portrayal_parameters_interface.h:243
@ kPP_ShallowContour
Shallow contour.
Definition: portrayal_parameters_interface.h:43
Allows to enumerate all available portrayal parameters.
Definition: portrayal_parameters_interface.h:347
@ kPP_DetailedNoticeMarks
Switches on/off detailed symbols for Notice marks.
Definition: portrayal_parameters_interface.h:103
@ kPP_ScaleBarPosition
The scale bar shifts from the left and bottom scene edges in tenth of millimeter.
Definition: portrayal_parameters_interface.h:70
@ kPP_DistanceUnits
Current distance units selected for presentation of distance values (see DistanceUnitTypes).
Definition: portrayal_parameters_interface.h:83
@ kPP_SymbolsAndTextScale_NoteOnChart
Note on chart.
Definition: portrayal_parameters_interface.h:290
Describes the interface that manages the parameters to control the portrayal.
Definition: portrayal_parameters_interface.h:331
@ kPP_GridlinesFlags_HideRotated
Hide grid for rotated scene.
Definition: portrayal_parameters_interface.h:228
@ kPP_CentralSymbolsAlgorithm_Simple
Uses simplified approach.
Definition: portrayal_parameters_interface.h:217
@ kPP_ShowParallelIndexLinesOnActiveRoute
Show parallel index lines on active route.
Definition: portrayal_parameters_interface.h:100
@ kPP_DontUseTransparency
Switches on/off symbols transparency.
Definition: portrayal_parameters_interface.h:88
@ kPP_ReviewMode_HighlightReviewedOnly
All updates are highlighted but reviewed highlighting is thicker.
Definition: portrayal_parameters_interface.h:255
@ kPP_TextAntiAliasingMode
see sdk::gfx::AntiAliasingMode.
Definition: portrayal_parameters_interface.h:55
@ kPP_GridlinesParameters_FixedLonStep
User specified longitude grid step.
Definition: portrayal_parameters_interface.h:239
@ kPP_ContextTime
Time is read from this component and not from system time.
Definition: portrayal_parameters_interface.h:64
@ kPP_PaperChartSymbols
Paper chart symbols on/off.
Definition: portrayal_parameters_interface.h:48
@ kPP_SafetyDepth
Safety depth.
Definition: portrayal_parameters_interface.h:46
@ kPP_GridlinesParameters_MarkerTextSize
Marker text size.
Definition: portrayal_parameters_interface.h:244
@ kPP_VesselLength
Length of vessel in meters.
Definition: portrayal_parameters_interface.h:106
PortrayalParameterCentralSymbolsAlgorithmEnum
Definition: portrayal_parameters_interface.h:215
@ kPP_SymbolisedBoundariesMode
Symbolized boundaries.
Definition: portrayal_parameters_interface.h:204
@ kPP_Gridlines_Parameters
Grid parameters (see GridlinesParametersEnum).
Definition: portrayal_parameters_interface.h:85
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
SymbolsAndTextScaleEnum
Identifiers to control scale of symbols and texts.
Definition: portrayal_parameters_interface.h:286
@ kPP_SymbolsAndTextScale_MarinersText
Mariners text.
Definition: portrayal_parameters_interface.h:293
@ kPP_DepthUnits
Current depth units selected for presentation of depth values (see DepthUnitTypes in base/inc/units/u...
Definition: portrayal_parameters_interface.h:82
@ kPP_RealLengthLightLegs_ExtraLightsOn
Collect lights which are not is scene but has long legs which intersect it.
Definition: portrayal_parameters_interface.h:95
@ kPP_SymbolisedBoundaries
Symbolized boundaries on/off.
Definition: portrayal_parameters_interface.h:49
@ kPP_VesselGeoPosition
Inform scene about current vessel position (expects IPoint).
Definition: portrayal_parameters_interface.h:86
PortrayalParameterBoundariesModeEnum
Definition: portrayal_parameters_interface.h:201
@ kPP_TextDeconflicting
De-conflicting texts on/off.
Definition: portrayal_parameters_interface.h:60