Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria Namespace Reference

Namespaces

namespace  GeneratorUtils
 
namespace  LabelLayout
 
namespace  MapTileCacheUtils
 
namespace  ViewportUtils
 
namespace  WebMercator
 

Classes

struct  AccumulatedCell
 
struct  AccumulatedGrid
 
class  AmbushGenerator
 
struct  Anchor
 
struct  AnchorPoints
 
class  Aperture
 
struct  AreaObj
 
class  AxisOfAdvance
 
class  BasicStyleGenerator
 
class  BitManipulation
 
class  Bookmark
 
class  ByFirePositionGenerator
 
struct  CellMove
 
class  CircularAperture
 
struct  Cluster
 
class  ClusteringBase
 
struct  ClusteringFilter
 
class  ClusteringProcessor
 
struct  ClusteringResult
 
struct  ClusteringResults
 
class  ClusteringUtils
 
class  ClusterRenderer
 
class  ClusterRenderItem
 
class  CollisionBox
 
class  CollisionFeature
 
class  CollisionGrid
 
struct  CollisionItem
 
class  CompositeCondition
 
class  CompositeStyleItem
 
class  Condition
 
class  ContainGenerator
 
class  ContextStateCondition
 
class  ConvoyGenerator
 
class  CorridorArea
 Corridor Area draw object. More...
 
class  CorridorAreaGeometry
 
class  CorridorAreaRenderUtils
 
class  CoveringLayer
 
class  CrosshairGenerator
 
class  CurveApproximationUtils
 
struct  CustomFontScale
 
class  CustomPolygonRenderer2D
 
class  CustomTextRenderItem
 
class  CustomTextRenderItemSDF
 
class  CustomTextRenderItemSDFtest
 
class  DataSetIndex
 
class  DatasetIndexLocker
 
class  Datum
 
struct  DatumTranslation
 
class  DecoratedSymbolGenerator
 
struct  DeltaSidc
 
class  DeltaSidcFilter
 Filter for fast SIDC checks Each SIDC mask allows fast check against a set of SIDC values. More...
 
struct  DetailedClusterItem
 
struct  DeviceInfo
 
class  DisplayProjection
 
class  DisplayProjectionAzimuthalEquidistant
 
class  DisplayProjectionGnomonic
 
class  DisplayProjectionLambert
 
class  DisplayProjectionMercator
 
class  DisplayProjectionOrthographic
 
class  DisplayProjectionPolarStereographic
 
class  DisplayProjectionSimpleMercator
 
class  DisplayProjectionStereographic
 
class  DisplayProjectionTransverseMercator
 
class  DrawLayer
 
class  DrawLayerFactory
 
class  DrawObject
 
class  DrawObjectData
 
class  DrawObjectDataFactory
 
class  DrawObjectDataFields
 
class  DrawObjectFactory
 
class  DrawObjectManager
 
class  DrawObjectPreviewRenderer
 
class  DrawObjectProtobufParser
 
class  DrawObjectRenderGenerator
 
class  DrawObjectResources
 
class  DrawObjectStore
 
class  DrawObjectStyleFieldBuilder
 
class  DrawObjectTypeDefinition
 
class  Earth
 
class  ECWDataSet
 
class  ElevationAnalysisLayer
 
class  ElevationAnalysisLayerFactory
 
class  ElevationAnalysisObserver
 
class  ElevationData
 
class  ElevationDataFactory
 
struct  ElevationDataInfo
 
class  ElevationDataLayer
 
class  ElevationMapProvider
 
struct  ElevationMinMaxResult
 
struct  ElevationQueryParams
 
struct  ElevationResult
 
class  ElevationTileData
 
class  Ellipse
 
class  EllipseGeometry
 
class  EntityBadge
 
class  EntityBadge3D
 
class  ExtendablePolyItem
 
struct  ExternalCoord
 
class  ExternalMapTileProvider
 
class  ExternalSymbolProvider
 
class  FanArea
 
class  FanAreaGeometry
 
class  FanAreaTwoArmsGenerator
 
class  FastRasterProjector
 
class  Feature
 
class  FieldCondition
 
class  FileMapData
 
class  FileMapDataProvider
 
class  FlCache
 
class  FlElm
 
struct  flKey_equal
 
struct  flKey_hash
 
struct  FontCharacteristic
 
class  FontDescription
 
class  GARSPos
 
class  GenerateMapTileRequest
 
class  GeneratorDictionary
 
class  GenericCorridorAreaGenerator
 
class  GenericEllipseGenerator
 
class  GenericFanAreaGenerator
 
class  GenericGeoObjectAdapter
 
class  GenericGeoObjectProvider
 
class  GenericLineGenerator
 
class  GenericLineOfBearingGenerator
 
class  GenericOrbitAreaGenerator
 
class  GenericPolygonGenerator
 
class  GenericPositionFormatter
 
class  GenericPositionParser
 
class  GenericRangeRingsGenerator
 
class  GenericRouteAreaGenerator
 
class  GenericTextGenerator
 
class  GeoBitmap
 
class  GeoBitmapLayer
 
class  GeoBitmapLayerFactory
 
class  Geoid
 
class  GeoIndex
 
class  GeoIndex64
 
class  GeoIndex64LatLonProjector
 
class  GeoIndex64Node
 
class  GeoLayer
 
class  GeoLayerFactory
 
class  GeoLayerManager
 
class  Geometry
 
class  GeoObjectStoreManagedCallbacks
 
class  GeoPackage
 
class  GeoPackageDataSet
 
class  GeoProjection
 
class  GeoProjectionAlbersEqualArea
 
class  GeoProjectionGoogleMercator
 
class  GeoProjectionLambert
 
class  GeoProjectionLambertAzimuthalEqualArea
 
class  GeoProjectionMercator
 
class  GeoProjectionPolarStereographic
 
class  GeoProjectionSimpleMercator
 
class  GeoProjectionStereographic
 
class  GeoProjectionTransverseMercator
 
class  Georef
 
class  GeoRenderItem
 
class  GeoRenderItemCollection
 
class  GeoTransform
 
class  GeoTransformFactory
 
class  GeoTransformTables
 
class  GeoUnitsSetting
 
struct  GlyphInstance
 
struct  GlyphRun
 
struct  Grid
 
struct  GridCell
 
class  GridClustering
 
struct  GridFrame
 
struct  GridFrameSettings
 
class  GridGenerator
 
class  GridIndexBuffer
 
class  GridLayer
 
class  GridLayerFactory
 
struct  GridLayout
 
struct  GridMoves
 
class  GridPathCollection
 
class  GridProjector
 
class  GridRendererUtils
 
struct  GridsMoves
 
class  GridSpacing
 
class  GRPCClientWrapper
 
class  HttpMapDataProvider
 
class  HttpMapTemplateClient
 
class  HttpServiceResolver
 Resolves map request services to map services. More...
 
class  HttpSymbolProvider
 
class  IAperture
 
class  ICollisionItemCollection
 
class  IExternalMapTileProvider
 Interface for map tile providers that are processed externally. Java or C# clients can for instance process requests and provide tiles over p/invoke without requiring calls from unmanaged to managed code. Implementations should typically also implement IMapTileProvider to handle adding requests. More...
 
class  IExternalSymbolProvider
 
struct  IGeoIndex64Projector
 
class  IGeometricVolume
 
class  IGeoObjectStoreProvider
 
class  ImageData
 
class  IMapDataProvider
 
class  IMapTileProvider
 Interface for native map tile providers. Used by MapTileProviderCatalog and TileDataProcessor to provide data to map tiles and tile caches. More...
 
class  IMapTileProviderCatalog
 Provides lookup for IMapTileProvider based providers given MapContentQuery. Used to determine the provider to use during tile data retrieval. More...
 
struct  IndexArea
 
struct  IndexAreaItem
 
struct  IndexCoord
 
struct  IndexPointItem
 
struct  IndexTileSettings
 
class  IProjector
 
struct  IProjectorFactory
 
struct  IRegulaFalsiFunction
 
struct  IResourceManager
 
class  ISymbolProvider
 
class  ItemContext
 
class  ItemId
 
class  ItemSelection
 
class  ITileDataRequester
 
class  ITileDataRequestHandler
 
class  ITileDataResponseTarget
 
class  LabelRenderer
 
class  LabelRenderItem
 
class  LineOfSightObserver
 
class  MagVarWMM2020
 
class  MAlphaLabelsGenerator
 Gets an array of lenght 'numberOfLabels' of lexicographically consecutive(*) capital letter strings of arbitrary lenght. (*) Successor of AA = AB, successor of NILZ = NIMA, successor of ZZZ = AAAA. More...
 
class  MapContentQuery
 
class  MapDataConfig
 
class  MapEntry
 
class  MapLayer
 
class  MapLayerFactory
 
struct  MapMetadata
 Metdata collection for a map metadata query. Typically metadata within an area or for a given point. More...
 
struct  MapMetadataLayer
 Map metadata layer. Metadata entries corresponding to a single dataset, either a map layer or an elevation data layer. More...
 
struct  MapRenderingParams
 
class  MapRenderTile
 
class  MapServiceEntry
 
class  MapSubLayer
 
class  MapTemplate
 
class  MapTemplateFilter
 
class  MapTemplateLayer
 
class  MapTemplateManager
 
class  MapTemplateParser
 
class  MapTileData
 
class  MapTileDataFactory
 
class  MapTileProviderCatalog
 
class  MarkerFonts
 
class  MarkStyle
 
class  MatrixProjector
 
class  MBTiles
 
class  MBTilesDataSet
 
class  MCcgoPos
 
class  MCgrsPos
 
class  Metadata
 
class  MetadataParser
 
class  MGarsPos
 
class  MGrid4Whiskey
 
class  MGridBase
 
class  MGridCcgo
 
class  MGridCgrs
 
class  MGridGars
 
class  MGridGlobal
 
class  MGridline4Whiskey
 
class  MGridlineBase
 
class  MGridlineCcgo
 
class  MGridlineCgrs
 
class  MGridlineGars
 
class  MGridlineGlobal
 
class  MGridlineMgrs
 
class  MGridlineMups
 
class  MGridlineUps
 
class  MGridlineUtm
 
class  MGridMgrs
 
class  MGridMups
 
class  MGridUps
 
class  MGridUtm
 
class  MineClusterGenerator
 
class  MinefieldFillRender2D
 
class  MinimumSafeDistanceZoneGenerator
 
class  MinMaxElevationObserver
 
class  MissionTaskCircle
 
class  MNetworkLink
 
class  MNetworkPathCollection
 
struct  MouseEvent
 
class  MRadioNetworkGraphics
 
class  MResourceManagerProtoConverter
 
class  MResourceManagerReader
 
class  MultiFanAreaGeometry
 
class  MultipartLineGenerator
 
class  MultiTileDataRequester
 
class  MUpsEquation
 
class  MUpsPos
 
class  MUtmEquation
 
class  MUtmPos
 
class  MWhiskeyEquation
 
class  MWhiskeyPos
 
class  NonTiledIndex
 
class  NormalMapProvider
 
struct  NormalVectorQueryParams
 
class  NorthReferenceGenerator
 
class  NullClustering
 
class  NullProjector
 
class  OneToOneMap
 
class  OrbitArea
 
class  OrbitAreaGeometry
 
class  ParameterCollectionAccess
 
struct  PlacedCollisionFeature
 
struct  PlacedGlyph
 
struct  PlacedGlyphs
 
class  PointGeometry
 
struct  PointObj
 
class  PointSymbol
 
class  PointSymbolCell
 
class  PointSymbolRenderer
 
struct  PointSymbolRenderItem
 Data item representing a point symbol instance at a geographical location. More...
 
class  PointSymbolRenderLayer
 
class  Polygon
 
class  PolygonGeometry
 
class  Polyline
 
class  PolylineGeometry
 
class  PositionFormatDefinitions
 
class  Profiling
 
class  Projcs
 
class  ProjectionTransform
 
class  ProjectorFactory
 
struct  PropertyVisitor
 
class  QueueCounter
 Thread safe class for keeping track of queue counts and queue limits. More...
 
class  RadioNetworksLayer
 
class  RadioNetworksLayerFactory
 
class  RasterDataSet
 
class  RasterMapPackage
 
class  RasterMapPackageParser
 
class  RasterMosaicer
 
class  RasterProjector
 
class  RasterProjectorFactory
 
struct  Rect2
 
class  RectangularAperture
 
class  RegulaFalsi
 
class  RenderGeneratorFactory
 
struct  ResolutionArea
 
class  ResolverEntry
 
struct  ResourceCategories
 
class  ResourceCategory
 
struct  ResourceContainer
 
class  ResourceManager
 
struct  Resources
 
class  RoadblockGenerator
 
class  RouteArea
 RouteArea draw object. More...
 
class  RouteAreaGeneratorUtils
 
class  RouteAreaGeometry
 
struct  RouteIndexOffsetSettings
 
struct  RouteIndexOffsetStyle
 
class  SARSectorGenerator
 
class  SARTrackLineGenerator
 
class  ScalableOffset
 
class  SemanticVersionNumber
 
class  SemanticVersionSpecification
 
class  ServiceDatasourceInfo
 
class  ShadingParameters
 
class  SharedCounter
 
class  ShiftProjector
 
struct  SidcMask
 
struct  SidcValues
 
class  SimpleGnomonicProjector
 
class  SimplePolarStereographicProjection
 
class  SnakingPathGenerator
 
class  SpeedCondition
 
struct  Spheroid
 
class  SqliteTiles
 
class  SqliteTilesDataSet
 
class  StringFormatter
 
class  Style
 
class  StyleCategory
 
class  StyleItem
 
class  StyleSet
 
class  StyleUtils
 
class  StyleXmlParser
 
class  SuperClustering
 
class  SupportByFirePositionGenerator
 
class  SurfaceVolumeGeometry
 
class  SymbolCache
 
class  SymbolFileProvider
 
class  SymbolLabelGenerator
 
class  SymbolLabelItem
 
class  SymbolLabelRenderer
 
class  SymbolLabelShader
 
class  SymbolLabelTile
 
struct  SymbolQuery
 
struct  SymbolQueryResult
 
class  SymbolRenderItem
 
class  SymbolTexture
 
class  SystemTicker
 
class  TacticalArea
 
class  TacticalCorridor
 
class  TacticalEllipse
 
class  TacticalLine
 
class  TacticalOrbitAreaGenerator
 
struct  tagStepData
 
class  TextRenderUtils
 
class  TileCache
 
class  TileCacheManager
 
class  TileCacheSpec
 
struct  TileCacheStats
 
class  TileCompositeNode
 
class  TileData
 
class  TileDataFactory
 
class  TileDataNode
 
class  TileDataProcessor
 
class  TileDataReaderQueue
 
struct  TileDataReaderStats
 
class  TileDataRequest
 
struct  TileDataRequestWrapper
 
class  TiledGeoIndex
 
class  TiledLayerRenderer
 
class  TiledMapLayer
 
class  TiledShadingLayer
 
class  TiledSubIndex
 
class  TileLabel
 
class  TileLabelData
 
class  TileMapper
 
class  TileNode
 
struct  TileRect
 
class  TrackCodec
 
class  TrackData
 
class  TrackDataFactory
 
struct  TrackField
 
class  TrackFieldDefinition
 
class  TrackFieldDefinitions
 
class  TrackManager
 
class  TrackServiceClient
 
class  TripwireGenerator
 
class  TurnGenerator
 
class  TwoPointCorridorWithHorizontalAndVerticalLines
 
struct  Unclustered
 
class  UTMGridMatrix
 
class  ValueBag
 
class  ValueStyleItem
 
class  VectorLayers
 
class  VectorMap
 
class  VectorMapIO
 
struct  VerticalDistance
 
struct  ViewParams
 
class  Viewport
 
class  ViewportCollisionGrid
 
class  ViewportFactory
 
struct  Viewspec
 
struct  VisibilityItem
 
class  WeaponSensorCircularGenerator
 
class  YardstickGenerator
 
class  YardstickRenderItem
 
struct  YardstickStyling
 

Typedefs

typedef std::vector< std::shared_ptr< ResourceContainer > > ResourceContainers
 
using Rect2d = Rect2< STK::Vector2d >
 
using Rect2f = Rect2< STK::Vector2f >
 
typedef unsigned int RGBA
 
using TileId = uint64_t
 Unique ID type for each quad tile.
 
using FullTileId = std::tuple< int, TileId >
 Combination of tile cache id and tile id.
 
typedef void *(__cdecl * GetObjectDataFunc) (void *requestProto, int requestSize, int *resultLength)
 
typedef void *(__cdecl * GeoObjectsCoreInfoFunc) (void *requestProto, int requestSize, int *resultLength)
 
typedef void *(__cdecl * GeoObjectsNotifyChangesFunc) (void *changesProto, int bufferSize)
 
typedef void *(__cdecl * FreeGlobalBufferFunc) (void *buffer)
 
typedef std::unordered_map< ItemId, std::shared_ptr< GeoRenderItem >, ItemId::HashGeoRenderItemMap
 
typedef std::tuple< std::string, int, bool, double, double, int, bool > flKey_t
 
typedef std::unordered_map< const flKey_t, FlElm, flKey_hash, flKey_equalflMap_t
 
typedef std::vector< AnchorAnchors
 
typedef std::vector< GlyphInstanceGlyphInstances
 

Enumerations

enum class  ElevationDataType {
  Undefined , TerrainModel , SurfaceModel , Bathymetry ,
  Clutter , RoofHeights
}
 
enum  ItemStateFlags {
  Active = 1 << 0 , Deleted = 1 << 1 , Filtered = 1 << 2 , Historical = 1 << 3 ,
  Placeholder = 1 << 4 , None = 0 , All = Active | Deleted | Filtered | Historical , ExternalStateSet = 1 << 7
}
 
enum  BearingUnit { Degrees , Miles }
 
enum  SpeedUnit { Mps , Kmh , Kts , Mph }
 
enum  ElevationUnit { Meters , Feet , Kilometers }
 
enum  ImageFileType {
  IMAGE_FILE_JPG , IMAGE_FILE_PNG , IMAGE_FILE_GIF , IMAGE_FILE_TIFF ,
  IMAGE_FILE_BMP , IMAGE_FILE_WEBP , IMAGE_FILE_ICO , IMAGE_FILE_INVALID
}
 
enum class  SymbolColorScheme { Dark , Medium , Light }
 
enum class  LabelPlacement {
  Unitialised =0 , TopLeft = 1 , TopCenter = 2 , TopRight = 3 ,
  CenterLeft = 4 , CenterCenter = 5 , CenterRight = 6 , BottomLeft = 7 ,
  BottomCenter = 8 , BottomRight = 9
}
 
enum class  LabelLayer { UndefinedLayer = 0 , DrawObjectLayer = 1 , MapLayer = 2 }
 
enum class  MapContentType {
  UndefinedMap , VectorMap , RasterMap , Propagation ,
  Elevation , ElevationNormals , WmsMap , TiledDrawObjects ,
  TiledDrawObjects3D , ElevationColorMap , ColorMap , GenericData
}
 
enum class  MapServiceType {
  UndefinedService , VectorService , RasterService , CacheService ,
  WmsService , PropagationService , RoutePlanningService
}
 
enum class  RasterCompressionType {
  None = 0 , Lossless = 1 , Lossy = 2 , Texture = 3 ,
  Auto = 4 , Any = 5 , UndefinedCompression = 6
}
 
enum class  FetchResultCode {
  None , FetchOk , InvalidSession , MapGenerationFailed ,
  NotReady , ResolveError , Canceled , OutsideArea ,
  OutsideResolution , Unavailable
}
 
enum class  InterpolationMethod { Nearest , Bilinear }
 
enum  MapRequestFlags { NoFlags = 0x0 , StripAlpha = 0x80 , LowQuality = 0x100 , PointPixels = 0x200 }
 
enum class  MapDataProviderFlags { NoFlags = 0x0 , Synchronous = 0x100 }
 
enum class  TemplateLayerType {
  Undefined , MapLayer , ModLayer , Placeholder ,
  PropagationLayer , WmsLayer , OverlayLayer , ElevationLayer ,
  ElevationColorMapLayer , ColorMapLayer
}
 
enum class  MouseButton { NoButton = 0x0000 , LeftButton = 0x0001 , RightButton = 0x0002 , MiddleButton = 0x0004 }
 
enum class  MouseEventType {
  None = 0x0000 , MousePressed = 0x0001 , MouseReleased = 0x0002 , MouseDoubleClick = 0x0004 ,
  MouseMove = 0x0008 , MouseWheel = 0x0016
}
 
enum  ChildDir {
  SW = 0 , SE , NW , NE ,
  MAX_CH_DIR
}
 The four child tile directions.
 
enum class  NeighDir {
  NW = 0 , N , NE , E ,
  SE , S , SW , W
}
 Neighbor directions, including corners.
 
enum class  DistanceUnit {
  Meters , Kilometers , Feet , Yards ,
  Miles , NauticalMiles , Metric , Imperial ,
  Degrees , UnitSphere , Pixels , Millimeters ,
  Centimeters
}
 
enum class  VerticalReferenceCode {
  MSL , AGL , QFE , QNH ,
  AMSL
}
 
enum class  BearingType { True , Magnetic , Grid }
 
enum class  PositionFormat {
  GeoDeg , GeoDM , GeoDMS , GeoText ,
  MGRS_1m , MGRS_10m , MGRS_100m , MGRS_1km ,
  MGRS_10km , UTM , UTM_LC2IS , Georef ,
  LatLonDdmm , LatLonDdmmm , LatLonDdmmss , LatLonDdmmsss ,
  GARS
}
 
enum class  ClusteringMode { None , Clustering , Bounds }
 
enum  LabelType { Alphabetic , Numeric }
 Label type definition. More...
 
enum  LabelAxis { Horizontal , Vertical }
 Label axis definition. More...
 
enum  ShowLabelOnAxis { Top , Left , Right , Bottom }
 Defines on which axis labels should be shown. More...
 
enum class  DrawObjectDataFlags : std::uint32_t {
  None = 0 , ExcludeGeoIndexing = 1 , NativeRendering = 2 , NativeRendering3D = 4 ,
  TiledRendering = 8 , TiledRendering3D = 16 , NotPointBehavior = 32 , FixedViewSize = 64
}
 
enum class  CurveMode { Plain = 0 , Loxodrome = 1 , GreatCircle = 2 }
 
enum class  HorizontalAnchor { Left , Center , Right }
 Horizontal anchor positions.
 
enum class  VerticalAnchor { Top , Middle , Bottom }
 Vertical anchor positions.
 
enum class  TextAlignment { Centered , Left , Right }
 Horizontal alignment of text lines.
 
enum class  Direction { Begin , End }
 Indicates at which end of a Corridor Area to operate on.
 
enum class  GeneralPositions {
  North , South , East , West ,
  Center
}
 Describes in which direction the text should be drawn on a polygon area line.
 
enum class  PolygonAreaFeintRelativePosition {
  Above , Below , Left , Right ,
  Center
}
 Describes where the text is to be placed relative to the modier.
 
enum class  ArrowType {
  Simple , Outline , Fill , Double ,
  Invert , InvertWide
}
 
enum class  LineEndingFigure {
  None , Simple , OutlineArrow , OutlineArrowFilled ,
  OutlineNarrowArrow , OutlineNarrowArrowFilled , Diamond , DiamondFilled ,
  Circle , CircleFilled , VerticalLine
}
 Describes possible ending figures of a line.
 
enum class  FigureType { X , O }
 
enum class  LineEndTextPosition { Begin , End , BeginAndEnd }
 Defines if the text should be placed at the beginning, end or both of the line.
 
enum class  LineTextPositionAlongLine {
  Undefined , Start , Centered , CenteredStartToMiddle ,
  End , Repeat
}
 Defines if the text should be placed at the beginning, end or centered along a line.
 
enum class  LineTextPositionVertical { Below , Middle , Above }
 Defines if the text should be placed above or below the line.
 
enum class  TailType { Straight , Concave }
 
enum class  TrafficArrowType { Undefined , OneWay , TwoWay , Alternating }
 Enum describing the different types of traffic arrow used in line renderers.
 
enum class  TextBlockPosition {
  Undefined , Center , OutsideNorthWest , OutsideSouth ,
  OutsideNorth , OutsideWest , OutsideEast , OutsideSouthWest ,
  OutsideSouthEast , OutsideNorthEast , InsideWest , InsideEast ,
  InsideNorth , InsideSouth , InsideNorthWest , InsideNorthEast ,
  InsideSouthWest , InsideSouthEast
}
 Enum describing the different placements of a text block.
 
enum class  Range { Undefined , Min , Max }
 Enum describing the different ranges to use.
 
enum class  OrbitAreaFigureType { Undefined , RaceTrack , FigureEight }
 Enum describing the different figures to draw a orbit area as.
 
enum class  OrbitAreaDirection { Undefined , Left , Right }
 Enum describing the different direction of orbit that is valid.
 
enum class  FillStyle {
  None , Solid , BackwardDiagonal , Horizontal ,
  Vertical , ForwardDiagonal , Cross , DiagonalCross
}
 
enum class  DashStyle {
  Solid , Dash , DashDot , DashDotDot ,
  Dot , Custom
}
 
enum class  IconStyle {
  None , Arrow1Filled , Arrow2Line , AbatisLine ,
  DiagonalBackward , DiagonalForward , DiagonalCross , StraightLine ,
  ArrowLineAndDash , ArrowDouble , ArrowsPoint2Point , ArrowFeather ,
  ArrowTag , OverheadWire , ArrowOneWay , ArrowTwoWay ,
  ArrowAlternating , AntipersonnelMine , AntipersonnelMineDirectionalEffects , AntitankMine ,
  AntitankMineAntiHandlingDevice , WideAreaAntitankMine , UnspecifiedMine , BoobyTrap ,
  Circle
}
 
enum class  LineStyle {
  None , SawOpenAbove , SawOpenCenter , SawOpenBelow ,
  SawFilledAbove , SawFilledBelow , SawGapOpenAbove , SawGapOpenBelow ,
  CircleFilled , CircleOpen , HalfCircleOpenAbove , HalfCircleOpenBelow ,
  HalfCircleFilledAbove , HalfCircleFilledBelow , HalfCircleDottedAbove , HalfCircleDottedBelow ,
  SawCircleFilledAbove , SawCircleFilledBelow , RectangleGapOpenAbove , SawClosedAbove ,
  SawClosedBelowGap , PatternWithXGap , PatternWithXAndStrikethrough , PatternWithXAndStrikethroughGap ,
  PatternWithXXAndStrikethroughGap , PatternWithXAndLineBelow , PatternWithXAndLineAboveBelow , PatternWithOAndLineBelow ,
  PatternWithOStrikethroughAndBelow , PatternWithOAndLineAboveBelow , MaskInvSawGapOpenAbove , MaskSawGapFilledAbove ,
  VerticalLine , HalfLine
}
 
enum class  SymbolLabelPlacement {
  Center = 0 , Top , Bottom , TopLeft ,
  TopRight , BottomLeft , BottomRight , Left1 ,
  Left2 , Left3 , Right1 , Right2 ,
  Right3 , Center1 , Center3 , NumPlacements
}
 Placement of labels around a point symbol. Left1-3 and Righ1-3 are numbered from top to bottom between TopLeft/Right and BottomLeft/Right.
 
enum class  MineType {
  Unspecified , Antipersonnel , AntipersonnelDirectional , Antitank ,
  AntitankAntiHandlingDevice , AntitankWideArea , BoobyTrap , Mixed
}
 
enum class  MosaicResult { OK , OutsideArea , OutsideResolution , Error }
 
enum  GridLabelPart { major = 0x1 , minor = 0x2 }
 
enum  GridLabelPlacement { frame = 0x1 , other = 0x2 }
 
enum  GridTypes {
  global = 0x1 , whiskey , cgrs , gars ,
  utm , mgrs , ups , mups ,
  ccgo
}
 
enum  FrameSettingsMask {
  Margin = 0x1 , Frame = 0x2 , FrameColor = 0x4 , FrameLine = 0x8 ,
  LineColor = 0x10 , LineThickness = 0x20
}
 
enum  MGrid4WhiskeyOriginReference {
  orCenter = 0 , orNW , orNE , orSW ,
  orSE
}
 
enum  GridEdges {
  NO_EDGE = 0x0 , LEFT_EDGE = 0x1 , RIGHT_EDGE = 0x2 , TOP_EDGE = 0x4 ,
  BOTTOM_EDGE = 0x8
}
 
enum  DatumTranslationMethods { Leave_It = 0 , Geocentric_Translation = 1 , Position_Vector = 2 , Coordinate_Frame = 3 }
 
enum  PolarStereographicVariants { A , B , C }
 
enum  { GET_MIN_X = 1 , GET_MAX_X , GET_MIN_Y , GET_MAX_Y }
 
enum  { GO_LEFT = 1 , GO_RIGHT , GO_UP , GO_DOWN }
 

Functions

std::string toString (ElevationDataType elevDataType)
 
ElevationDataType stringToElevationDataType (const std::string &str)
 
bool readTextFile (const std::string &fileName, std::string &target)
 
std::string readTextFile (const std::string &fileName)
 
std::vector< uint8_t > readBinaryFile (const std::string &fileName)
 
template<class T >
bool EraseFirst (std::vector< T > &v, T val)
 
ImageFileType getImageTypeByMagic (const unsigned char *data, unsigned long len)
 
const char * getImageExtByMagic (const unsigned char *data, unsigned long len)
 
SymbolColorScheme ParseColorScheme (const std::string &colorSchemeString)
 
STK::LogStream logDebug ()
 
STK::LogStream logInfo ()
 
STK::LogStream logWarning ()
 
STK::LogStream logError ()
 
std::string toString (MapContentType map_content_type)
 
MapContentType stringToMapContentType (const std::string &str)
 
std::string toString (MapServiceType map_service_type)
 
MapServiceType stringToMapServiceType (const std::string &str)
 
RasterCompressionType stringToCompression (const std::string &str)
 
std::string toString (RasterCompressionType comp)
 
std::string toString (FetchResultCode code)
 
bool parseFromStringWithLengthPrefix (const std::string &in_buf, ::google::protobuf::Message &message)
 
bool serializeToStringWithLengthPrefix (const ::google::protobuf::Message &message, std::string &out_buf)
 
bool parseRawImage (const MariaProtobuf::ProtoRawImageData &rawImageData, STK::Image &img)
 Parse protobuf image data into an STK::Image.
 
bool toProtobuf (const Maria::GenerateMapTileRequest &src, MariaProtobuf::GenerateMapTileRequestMessage &dst)
 
bool toProtobuf (const Maria::SemanticVersionNumber &src, MariaProtobuf::ProtoSemanticVersionNumber &dst)
 
void toProtobuf (const Maria::SemanticVersionSpecification &src, MariaProtobuf::ProtoVersionSpecification &dst)
 
bool toProtobuf (const Maria::TileCacheSpec &src, MariaProtobuf::ProtoTileCacheSpec &dst)
 
bool toProtobuf (const Maria::ResolutionArea &src, MariaProtobuf::ProtoMapResolutionArea &dst)
 
bool toProtobuf (const Maria::MapEntry &src, MariaProtobuf::ProtoMapEntry &dst)
 
void toProtobuf (const Maria::MapContentQuery &src, MariaProtobuf::ProtoMapContentQuery &dst)
 
bool fromProtobuf (const MariaProtobuf::ProtoTileCacheSpec &src, Maria::TileCacheSpec &dst)
 
bool fromProtobuf (const MariaProtobuf::ProtoMapResolutionArea &src, Maria::ResolutionArea &dst)
 
void fromProtobuf (const MariaProtobuf::ProtoMapContentQuery &src, Maria::MapContentQuery &dst)
 
void fromProtobuf (const MariaProtobuf::ProtoSemanticVersionNumber &src, Maria::SemanticVersionNumber &dst)
 
void fromProtobuf (const MariaProtobuf::ProtoVersionSpecification &src, Maria::SemanticVersionSpecification &dst)
 
bool fromProtobuf (const MariaProtobuf::ProtoMapEntry &src, Maria::MapEntry &dest)
 
bool toByteArray (const Maria::GenerateMapTileRequest &src, std::string &dst)
 
RGBA toRGBA (int r, int g, int b, int a=255)
 
RGBA floatToRGBA (float r, float g, float b, float a=1.0)
 
RGBA toARGB (int r, int g, int b, int a=255)
 
RGBA floatToARGB (float r, float g, float b, float a=1.0)
 
void RGBAToFloat (RGBA rgba, float &r, float &g, float &b, float &a)
 
bool operator> (const SemanticVersionNumber &lhs, const SemanticVersionNumber &rhs)
 
bool operator<= (const SemanticVersionNumber &lhs, const SemanticVersionNumber &rhs)
 
bool operator>= (const SemanticVersionNumber &lhs, const SemanticVersionNumber &rhs)
 
std::string & LTrimString (std::string &s, const std::locale &loc=std::locale::classic())
 trim from start
 
std::string & RTrimString (std::string &s, const std::locale &loc=std::locale::classic())
 trim from end
 
std::string & TrimString (std::string &s, const std::locale &loc=std::locale::classic())
 trim from both ends
 
std::string ToTrimmedString (const std::string &s, const std::locale &loc=std::locale::classic())
 Trim without modifying input string.
 
template<class ContainerT >
void SplitString (const std::string &str, ContainerT &tokens, const unsigned char delimiter, bool trimElements=false, bool trimEmpty=false, const std::locale &loc=std::locale::classic())
 Split string with single-char delimiter.
 
template<class ContainerT >
void SplitString (const std::string &str, ContainerT &tokens, const std::function< bool(const signed char)> &pred, bool trimElements=false, bool trimEmpty=false, const std::locale &loc=std::locale::classic())
 Split string, with a function.
 
template<class ContainerT >
void SplitString (const std::string &str, ContainerT &tokens, const std::string &delimiters=" ", bool trimElements=false, bool trimEmpty=false, const std::locale &loc=std::locale::classic())
 Split string with multiple possible delimiters.
 
std::string JoinString (const std::string &delim, const std::vector< std::string > &strList)
 
template<typename T , typename CharT = char>
std::optional< T > TryParseNumber (const std::basic_string_view< CharT > &sv, const std::locale &loc=std::locale::classic())
 
template<typename T >
std::optional< T > TryParseNumber (const std::string_view &sv, const std::locale &loc=std::locale::classic())
 
template<typename T >
std::optional< T > TryParseNumber (const std::wstring_view &sv, const std::locale &loc=std::locale::classic())
 
void Replace (std::string &str, const std::string &oldStr, const std::string &newStr)
 
bool TryParseDouble (const std::string &str, double &result, const std::locale &loc=std::locale::classic())
 
double ParseDouble (const std::string &str, const std::locale &loc=std::locale::classic())
 Locale independent parsing a double, without error checking.
 
double ParseDouble (const std::wstring &str, const std::locale &loc=std::locale::classic())
 
bool TryParseInt (const std::string &str, int &result, const std::locale &loc=std::locale::classic())
 
int ParseInt (const std::string &str)
 
int ParseInt (const std::wstring &str)
 
bool TryParseColor (const std::string &str, int &r, int &g, int &b, int &a)
 
bool TryParseDashStyle (const std::string &dashString, std::vector< unsigned char > &dashes)
 
std::string ToLowerCase (const std::string &str, const std::locale &loc=std::locale::classic())
 
std::string ToUpperCase (const std::string &str, const std::locale &loc=std::locale::classic())
 
bool EndsWith (const std::string &str, const std::string &suffix)
 
bool TryParseBool (const std::string &str, bool &result)
 Attempt to parse a boolean value. It accepts the following variants: true: True, true, TRUE false: False, false, FALSE.
 
bool isN (int child_dir)
 Returns true if the child direction is in the northern half.
 
bool isE (int child_dir)
 Returns true if the child direction is in the eastern half.
 
int setN (int child_dir)
 
int setE (int child_dir)
 
int swapNS (int child_dir)
 Swap North/South component of the child direction index.
 
int swapEW (int child_dir)
 Swap East/West component of the child direction index.
 
int swapDiag (int child_dir)
 Swap child direction diagonally, so that NE becomes NW and SW becomes NE.
 
TileId EncodeTileId (int lvl, int x, int y, int quadid=0x0)
 
TileId EncodeTileId (uint8_t lvl, uint32_t x, uint32_t y, uint8_t quadId=0)
 
void DecodeTileId (TileId tileId, int &lvl, int &x, int &y, int &treeid)
 
void DecodeTileId (TileId tileId, int &lvl, int &x, int &y)
 
void DecodeTileId (TileId tileId, uint32_t &lvl, uint32_t &x, uint32_t &y, uint32_t &treeid)
 
void DecodeTileId (TileId tileId, uint32_t &lvl, uint32_t &x, uint32_t &y)
 
void DecodeTileId (TileId tileId, uint8_t &lvl, uint32_t &x, uint32_t &y, uint8_t &treeid)
 
void DecodeTileId (TileId tileId, uint8_t &lvl, uint32_t &x, uint32_t &y)
 
uint8_t GetTileLevel (const TileId tileId)
 Extracts the tileID from.
 
void ReverseTileIndex (int lvl, int &idx)
 
TileId ReverseYTiling (TileId tileId)
 
TileId CalcChildTileId (TileId tileId, int childDir)
 
TileId CalcNeighborTileId (TileId tileId, NeighDir neighDir)
 
TileId CalcParentTileId (TileId tileId)
 
TileId GetAncestorId (TileId tileId, uint8_t ancestorLevel)
 Calculate the ancestor of an ID, at a certain level.
 
bool IsChildOf (TileId child, TileId parent)
 Returns true if child is child of parent.
 
bool IsSameSubtree (TileId t1, TileId t2)
 
std::string quadIdToString (const TileId quad_id)
 
bool TileIdIntersects (const TileId tileId, uint32_t rectLevel, uint32_t minX, uint32_t minY, uint32_t maxX, uint32_t maxY)
 Tests for intersection between tile and tile area defined by level plus.
 
std::string to_string (const DistanceUnit unit)
 
std::string to_string (const VerticalReferenceCode code)
 
void dumpFeatureProperties (const mapbox::feature::property_map &properties, std::ofstream &ss)
 
HorizontalAnchor parseHorizontalAnchor (const std::string &str, HorizontalAnchor defaultValue)
 
std::string getHorizontalAnchorString (HorizontalAnchor horizontalAnchor)
 
VerticalAnchor parseVerticalAnchor (const std::string &str, VerticalAnchor defaultValue)
 
std::string getVerticalAnchorString (VerticalAnchor verticalAnchor)
 
FillStyle parseFillStyleString (const std::string &fillStyleString, FillStyle defaultValue)
 
std::string getFillStyleString (FillStyle fillStyle)
 
DashStyle parseDashStyle (const std::string &str, DashStyle defaultValue)
 
std::string getDashStyleString (DashStyle dashStyle)
 
SymbolLabelPlacement parseSymbolLabelPlacementString (const std::string &placementString, SymbolLabelPlacement defaultValue)
 
std::string getSymbolLabelPlacementString (SymbolLabelPlacement fillStyle)
 
SymbolLabelPlacement parseLabelPositionPlacementString (std::string const &labelPositionPlacementString)
 
std::string GetSymbolCodeWithSymbolModifier (const std::string &symbolCode, DrawObjectData &drawObjectData)
 
std::string GetSymbolCodeWithOrderOfBattle (const std::string &symbolCode, DrawObjectData &drawObjectData)
 
std::string GetSymbolCodeWithStandardIdentityAndTacticalStatus (const std::string &symbolCode, DrawObjectData &data)
 
std::string Get2525DSymbolCodeWithStandardIdentityAndTacticalStatus (const std::string &symbolCode, DrawObjectData &data)
 
std::string Get2525DSymbolCodeWithHQTaskForceDummy (const std::string &symbolCode, DrawObjectData &data)
 
std::string Get2525DSymbolCodeWithAmplifierDescriptor (const std::string &symbolCode, DrawObjectData &data)
 
std::string Get2525DAPP6DSymbolCodeWithModifiers (const std::string &symbolCode, DrawObjectData &data)
 
bool saveFloatBufferTIFF (const Maria::GeoBitmap &img, std::vector< unsigned char > &buffer, bool compress)
 
bool saveShortBufferTIFF (const Maria::GeoBitmap &img, std::vector< unsigned char > &buffer, bool compress)
 
bool saveShortBufferPNG (const Maria::GeoBitmap &img, std::vector< unsigned char > &buffer)
 
bool saveImageBufferPNG (const Maria::GeoBitmap &img, std::vector< unsigned char > &buffer)
 
bool saveImageBufferJPEG (const Maria::GeoBitmap &img, std::vector< unsigned char > &buffer, int quality=85)
 
bool saveImageBufferWEBP (const Maria::GeoBitmap &img, std::vector< unsigned char > &buffer, int quality=85)
 
bool saveImageBufferBMP (const Maria::GeoBitmap &gbm, std::vector< unsigned char > &buffer)
 
bool loadImageBufferPNG (const std::vector< unsigned char > &buffer, GeoBitmap &gbm)
 
bool loadImageBufferWEBP (const std::vector< unsigned char > &buffer, GeoBitmap &gbm)
 
bool loadImageBufferJPEG (const std::vector< unsigned char > &buffer, GeoBitmap &gbm)
 
bool loadFloatBufferTIFF (const std::vector< unsigned char > &buffer, GeoBitmap &data)
 
bool loadShortBufferTIFF (const std::vector< unsigned char > &buffer, GeoBitmap &data)
 
bool loadShortBufferPNG (const std::vector< unsigned char > &buffer, GeoBitmap &data)
 
bool saveShortBufferRHDT (const Maria::GeoBitmap &gbm, std::vector< std::string > &buffer)
 
bool saveFloatBufferFLDT (const Maria::GeoBitmap &gbm, std::vector< std::string > &buffer)
 
bool CompareIntVal (int cndVal, int objVal, FieldCondition::FieldOperator op)
 
bool CompareDblVal (double cndVal, double objVal, FieldCondition::FieldOperator op)
 
bool CompareStringVal (const std::string &cndVal, const std::string &objVal, FieldCondition::FieldOperator op)
 
void collectMetadata (Maria::TileCache &tileCache, const RasterProjector &rp, double pixelScale, long timeout_ms, MapMetadataLayer &mdl)
 Collect metadata for a viewport. Typically not used directly, but through a MapLayer or ElevationData.
 
void collectMetadata (Maria::TileCache &tileCache, const BasicGeoTypes::GeoRect &rp, double resolution, long timeout_ms, MapMetadataLayer &mdl)
 Collect metadata for a geographical area. Typically not used directly, but through a MapLayer or ElevationData.
 
void collectMetadata (Maria::TileCache &tileCache, const BasicGeoTypes::GeoPos &pos, double resolution, long timeout_ms, MapMetadataLayer &mdl)
 Collect metadata for a single point. Typically not used directly, but through a MapLayer or ElevationData.
 
PointDXY DirVector (int dir, double len)
 
int ReverseDir (int dir)
 

Variables

STK::ILoggerdefaultLog = nullptr
 
constexpr TileId UndefTileId = 0xffffffffffffffff
 
constexpr TileId ROOT_SW = 0x0000000000000000
 The six root tile Id's. These are stored in the leftmost 4 bits of the quad id.
 
constexpr TileId ROOT_SC = 0x1000000000000000
 
constexpr TileId ROOT_SE = 0x2000000000000000
 
constexpr TileId ROOT_NW = 0x3000000000000000
 
constexpr TileId ROOT_NC = 0x4000000000000000
 
constexpr TileId ROOT_NE = 0x5000000000000000
 
const std::unordered_map< std::string, TextBlockPositionTextBlockPositionString
 
const double ALMOST_PI2 = 1.57079632679
 
const double E_RADIUS = 6367250.0
 
const double WGS84_A = 6378137.0
 
const double WGS84_B = 6356752.314245
 
const double WGS84_F = (WGS84_A - WGS84_B) / WGS84_A
 
const double WGS84_E2 = 2.0 * WGS84_F - WGS84_F*WGS84_F
 
const double WGS84_EM2 = ((WGS84_A * WGS84_A) - (WGS84_B * WGS84_B)) / (WGS84_B * WGS84_B)
 

Detailed Description

file MNativeElevationInterface.h

brief

Enumeration Type Documentation

◆ DrawObjectDataFlags

enum class Maria::DrawObjectDataFlags : std::uint32_t
strong

DrawObjectData - Short description

◆ ElevationDataType

enum class Maria::ElevationDataType
strong
Enumerator
Undefined 

Unknown/not defined.

TerrainModel 

Only terrain surface, no vegetation or buildings.

SurfaceModel 

Complete surface, including buildings and vegetation.

Bathymetry 

Bathymetry (sea bottom surface)

Clutter 

Clutter.

RoofHeights 

Roof heights.

◆ LabelAxis

Label axis definition.

Enumerator
Horizontal 

Horizontal label axis.

Vertical 

Vertical label axis.

◆ LabelType

Label type definition.

Enumerator
Alphabetic 

Text label.

Numeric 

Numeric label.

◆ PolarStereographicVariants

GeoProjectionPolarStereographic - Short description. Detailed description.

◆ PositionFormat

enum class Maria::PositionFormat
strong
Enumerator
GeoDeg 

Lat/Lon Degrees.

GeoDM 

Lat/Lon Degrees and Minutes.

GeoDMS 

Lat/Lon Degrees, Minutes and Seconds.

GeoText 

Lat/Lon Degrees, Minutes and Seconds Text.

MGRS_1m 

Military Grid Reference System.

UTM 

Universal Transverse Mercator.

UTM_LC2IS 

Universal Transverse Mercator - LC2IS.

Georef 

Georef.

LatLonDdmm 

Legacy; Lat-Lon degrees and integer minutes, 0-padded, fixed length.

LatLonDdmmm 

Legacy; Lat-Lon degrees and minutes rounded to one decimal, 0-padded, fixed length.

LatLonDdmmss 

Legacy; Lat-Lon degrees, minutes and integer seconds, 0-padded, fixed length.

LatLonDdmmsss 

Legacy; Lat-Lon degrees, minutes and seconds rounded to one decimal, 0-padded, fixed length.

GARS 

Global Area Reference System. (NB! Precision 2.5')

◆ ShowLabelOnAxis

Defines on which axis labels should be shown.

Enumerator
Top 

Show labels on top axis.

Left 

Show labels on the left axis.

Right 

Show labels on right axis.

Bottom 

Show labels on bottom axis.

Function Documentation

◆ CalcNeighborTileId()

TileId Maria::CalcNeighborTileId ( TileId  tileId,
NeighDir  neighDir 
)
inline

Calculate the Tile ID for the neigboring tile. This method will return the ID of the neighbor tile in the specified direction. If the neighbor tile is outside the border of the quadtree at the current level, UndefTileId is returned.

Parameters
tileIdID of the current tile.
neighDirDirection to get the neighbor tile.
Returns
Neighboring TileId or UndefTileId.

◆ DecodeTileId() [1/2]

void Maria::DecodeTileId ( TileId  tileId,
int &  lvl,
int &  x,
int &  y,
int &  treeid 
)
inline

Encode a tile id to level, row, column and quad tree id. The level is the quadtree level, starting with 0 at the root tile. Row column is the grid index at that level, positive y direction is downwards to keep compatible with the Maria map protocol. Quadtree indicates which of the toplevel quadtrees this index is in.

◆ DecodeTileId() [2/2]

void Maria::DecodeTileId ( TileId  tileId,
uint32_t &  lvl,
uint32_t &  x,
uint32_t &  y,
uint32_t &  treeid 
)
inline

Encode a tile id to level, row, column and quad tree id. The level is the quadtree level, starting with 0 at the root tile. Row column is the grid index at that level, positive y direction is downwards to keep compatible with the Maria map protocol. Quadtree indicates which of the toplevel quadtrees this index is in.

◆ EncodeTileId()

TileId Maria::EncodeTileId ( int  lvl,
int  x,
int  y,
int  quadid = 0x0 
)
inline

Encode a tile id from level, row, column and quad tree id. The level is the quadtree level, starting with 0 at the root tile. Row column is the grid index at that level, positive y direction is downwards to keep compatible with the Maria map protocol. Quadtree indicates which of the toplevel quadtrees this index is in.

◆ GetAncestorId()

TileId Maria::GetAncestorId ( TileId  tileId,
uint8_t  ancestorLevel 
)
inline

Calculate the ancestor of an ID, at a certain level.

Parameters
tileIdThe tileid to get the ancestor of
ancestorLevelWhat level of ancestor we want. This is an absolute number, not relative to the tileId's level
Returns
The TileID at the level specified by the tileId parameter

◆ GetTileLevel()

uint8_t Maria::GetTileLevel ( const TileId  tileId)
inline

Extracts the tileID from.

Parameters
tileIdthe tile id to parse
Returns
the level of the tileid

◆ IsSameSubtree()

bool Maria::IsSameSubtree ( TileId  t1,
TileId  t2 
)
inline

Returns true if child t1 is in the same subtree as t2, i.e if t1 is a child of t2 or vice versa.

◆ Replace()

void Maria::Replace ( std::string &  str,
const std::string &  oldStr,
const std::string &  newStr 
)
inline

Replace string in place

◆ ReverseTileIndex()

void Maria::ReverseTileIndex ( int  lvl,
int &  idx 
)
inline

Reverse the tiling. Use on the Y index to convert between Google and TMS tiling scheme.

◆ ReverseYTiling()

TileId Maria::ReverseYTiling ( TileId  tileId)
inline

Reverse the Y tile index This is used to convert between Google and TMS tiling scheme. Maria uses Google tiling.

◆ TileIdIntersects()

bool Maria::TileIdIntersects ( const TileId  tileId,
uint32_t  rectLevel,
uint32_t  minX,
uint32_t  minY,
uint32_t  maxX,
uint32_t  maxY 
)
inline

Tests for intersection between tile and tile area defined by level plus.

Parameters
tileIdThe tileid
rectLevelthe level of the area
minX
minY
maxX
maxY
Returns
if it intersects

◆ TryParseBool()

bool Maria::TryParseBool ( const std::string &  str,
bool &  result 
)
inline

Attempt to parse a boolean value. It accepts the following variants: true: True, true, TRUE false: False, false, FALSE.

Parameters
strthe string to parse
resulttrue on True, true or TRUE, false on False, false or False. Unchanged otherwise
Returns
false on failure, true on success full parsing

◆ TryParseColor()

bool Maria::TryParseColor ( const std::string &  str,
int &  r,
int &  g,
int &  b,
int &  a 
)
inline

Try to parse a string as an (A)RGB color Returns true on success. The format may be either HTML-style #[AA]RRGGBB where AA,RR,GG and BB are alpha, and RGB values in hexadecimal or a comma separated array; A,R,G,B where the A is optional and the RGB values are decimal integers.

◆ TryParseDouble()

bool Maria::TryParseDouble ( const std::string &  str,
double &  result,
const std::locale &  loc = std::locale::classic() 
)
inline

Try to parse a string as a double value. Returns true on success. The in/out result value is only modified on success.

◆ TryParseInt()

bool Maria::TryParseInt ( const std::string &  str,
int &  result,
const std::locale &  loc = std::locale::classic() 
)
inline

Try to parse a string as an integer value. Returns true on success. The in/out result value is only modified on success.

Variable Documentation

◆ TextBlockPositionString

const std::unordered_map<std::string, TextBlockPosition> Maria::TextBlockPositionString
Initial value:
= {
{ "Undefined", TextBlockPosition::Undefined },
{ "Center", TextBlockPosition::Center },
{ "OutsideNorthWest", TextBlockPosition::OutsideNorthWest },
{ "OutsideSouth", TextBlockPosition::OutsideSouth },
{ "OutsideNorth", TextBlockPosition::OutsideNorth },
{ "OutsideWest", TextBlockPosition::OutsideWest },
{ "OutsideEast", TextBlockPosition::OutsideEast },
{ "OutsideSouthWest", TextBlockPosition::OutsideSouthWest },
{ "OutsideSouthEast", TextBlockPosition::OutsideSouthEast },
{ "OutsideNorthEast", TextBlockPosition::OutsideNorthEast },
{ "InsideWest", TextBlockPosition::InsideWest },
{ "InsideEast", TextBlockPosition::InsideEast },
{ "InsideNorth", TextBlockPosition::InsideNorth },
{ "InsideSouth", TextBlockPosition::InsideSouth },
{ "InsideNorthWest", TextBlockPosition::InsideNorthWest },
{ "InsideNorthEast", TextBlockPosition::InsideNorthEast },
{ "InsideSouthWest", TextBlockPosition::InsideSouthWest },
{ "InsideSouthEast", TextBlockPosition::InsideSouthEast },
}