Marble

Marble Namespace Reference

Classes

class  AbstractDataPlugin
 
class  AbstractDataPluginModel
 
class  AbstractFloatItem
 
class  AbstractProjection
 
class  AbstractWorkerThread
 
class  AzimuthalEquidistantProjection
 
class  AzimuthalProjection
 
class  BillboardGraphicsItem
 
class  BookmarkManager
 
class  CelestialSortFilterProxyModel
 
class  CylindricalProjection
 
class  DialogConfigurationInterface
 
class  DownloadQueueSet
 
class  EditPlacemarkDialog
 
class  EquirectProjection
 
class  FileManager
 
class  FloatItemsLayer
 
class  GeoDataAbstractView
 
class  GeoDataBuilding
 
class  GeoDataColorStyle
 
class  GeoDataContainer
 
class  GeoDataCoordinates
 
class  GeoDataDocument
 
class  GeoDataDocumentWriter
 
class  GeoDataExtendedData
 
class  GeoDataFeature
 
class  GeoDataFolder
 
class  GeoDataGeometry
 
class  GeoDataLabelStyle
 
class  GeoDataLatLonAltBox
 
class  GeoDataLatLonBox
 
class  GeoDataLinearRing
 
class  GeoDataLineString
 
class  GeoDataLineStyle
 
class  GeoDataLod
 
class  GeoDataMultiGeometry
 
class  GeoDataObject
 
class  GeoDataPlacemark
 
class  GeoDataPoint
 
class  GeoDataPolygon
 
class  GeoDataPolyStyle
 
class  GeoDataRegion
 
class  GeoDataStyle
 
class  GeoDataStyleMap
 
class  GeoDataStyleSelector
 
class  GeoDataTimePrimitive
 
class  GeoDataTrack
 
class  GeoDataTreeModel
 
class  GeoDocument
 
class  GeoGraphicsScene
 
class  GeoNode
 
class  GeoPainter
 
class  GeoSceneAbstractDataset
 
class  GeoSceneAbstractTileProjection
 
class  GeoSceneDocument
 
class  GeoSceneEquirectTileProjection
 
class  GeoSceneFilter
 
class  GeoSceneGroup
 
class  GeoSceneHead
 
class  GeoSceneIcon
 
class  GeoSceneItem
 
class  GeoSceneLayer
 
class  GeoSceneLegend
 
class  GeoSceneMap
 
class  GeoSceneMercatorTileProjection
 
class  GeoScenePalette
 
class  GeoSceneProperty
 
class  GeoSceneSection
 
class  GeoSceneSettings
 
class  GeoSceneVector
 
class  GeoSceneZoom
 
class  GeoTagHandler
 
class  GeoTagWriter
 
class  GeoUriParser
 
class  GeoWriter
 
class  GeoWriterBackendRegistrar
 
class  GnomonicProjection
 
class  GoToDialog
 
class  HttpDownloadManager
 
class  InstructionTransformation
 
class  KDescendantsProxyModel
 
class  KmlOsmPlacemarkDataTagWriter
 
class  LabelGraphicsItem
 
class  LambertAzimuthalProjection
 
class  LayerManager
 
class  MapThemeManager
 
class  MapViewItemDelegate
 
class  MarbleDirs
 
class  MarbleLineEdit
 
class  MarbleLocale
 
class  MarbleMap
 
class  MarbleModel
 
class  MarbleNavigator
 
class  MarblePlacemarkModel
 
class  MarbleWidget
 
class  MarbleWidgetPopupMenu
 
class  MercatorProjection
 
struct  OsmIdentifier
 
class  OsmObjectManager
 
class  OsmPlacemarkData
 
class  OsmRelationEditorDialog
 
class  OsmRelationManagerWidget
 
class  ParseRunnerPlugin
 
class  ParsingTask
 
class  Placemark
 
class  PlacemarkLayout
 
class  PlanetFactory
 
class  PluginInterface
 
class  PluginManager
 
class  PopupItem
 
class  PopupLayer
 
class  PositionProviderPlugin
 
class  PositionProviderPluginInterface
 
class  RenderPlugin
 
class  RenderPluginInterface
 
class  RenderPluginModel
 
class  ReverseGeocodingRunnerPlugin
 
class  ReverseGeocodingTask
 
class  RouteRequest
 
class  RoutingInputWidget
 
class  RoutingInstruction
 
class  RoutingLayer
 
class  RoutingManager
 
class  RoutingPoint
 
class  RoutingRunnerPlugin
 
class  RoutingTask
 
class  RoutingWaypoint
 
class  RoutingWidget
 
class  SearchRunnerPlugin
 
class  SearchTask
 
class  SphericalProjection
 
class  StackedTile
 
class  StackedTileLoader
 
class  StereographicProjection
 
class  TemplateDocument
 
class  TextureTile
 
class  Tile
 
class  TileCreatorSource
 
class  TinyWebBrowser
 
class  VerticalPerspectiveProjection
 
class  ViewParams
 
class  ViewportParams
 
class  VisiblePlacemark
 

Typedefs

using GeoDataGenericSourceType = int
 
typedef QFlags< LabelPositionFlagLabelPositionFlags
 
typedef KHash2Map< QPersistentModelIndex, int > Mapping
 
typedef xmmfloat matrix[3]
 
using RoutingInstructions = QVector< RoutingInstruction >
 
using RoutingWaypoints = QVector< RoutingWaypoint >
 
typedef QFlags< TessellationFlag > TessellationFlags
 
typedef qreal xmmfloat[4]
 

Enumerations

enum  { PositiveSphereIndex = 0, NegativeSphereIndex = 1 }
 
enum  { Q_X = 0, Q_Y = 1, Q_Z = 2, Q_W = 3 }
 
enum  AltitudeMode {
  ClampToGround, RelativeToGround, Absolute, RelativeToSeaFloor,
  ClampToSeaFloor
}
 
enum  AngleUnit { DMSDegree, DecimalDegree, UTM }
 
enum  Column { Name = 0, Type = 1, Role = 2 }
 
enum  DocumentRole {
  UnknownDocument, MapDocument, UserDocument, TrackingDocument,
  BookmarkDocument, SearchResultDocument
}
 
enum  DownloadUsage { DownloadBulk, DownloadBrowse }
 
enum  DragLocation { KeepAxisVertically, FollowMousePointer }
 
enum  EnumFeatureId {
  InvalidFeatureId = -1, GeoDataDocumentId = 1, GeoDataFolderId, GeoDataPlacemarkId,
  GeoDataNetworkLinkId, GeoDataScreenOverlayId, GeoDataGroundOverlayId
}
 
enum  EnumGeometryId {
  InvalidGeometryId = -1, GeoDataPointId = 1, GeoDataLineStringId, GeoDataLinearRingId,
  GeoDataPolygonId, GeoDataMultiGeometryId, GeoDataMultiTrackId, GeoDataModelId,
  GeoDataTrackId, GeoDataBuildingId
}
 
enum  FlyToMode { Automatic, Instant, Linear, Jump }
 
enum  GeoDataSourceType { GeoData_UNKNOWN = -1, GeoData_KML = 1, GeoData_GeoRSS = 2 }
 
enum  GeoSceneSourceType { GeoScene_DGML = 0 }
 
enum  ImageResultType { GenericImage, LevelZeroTile, PreviewImage, LegendImage }
 
enum  LabelLocalization { CustomAndNative, Custom, Native }
 
enum  LabelPositionFlag {
  NoLabel = 0x0, LineStart = 0x1, LineCenter = 0x2, LineEnd = 0x4,
  IgnoreXMargin = 0x8, IgnoreYMargin = 0x10, FollowLine = 0x20
}
 
enum  MapQuality {
  OutlineQuality, LowQuality, NormalQuality, HighQuality,
  PrintQuality
}
 
enum  OnStartup { ShowHomeLocation, LastLocationVisited }
 
enum  OsmType { Node, Way, Relation }
 
enum  OwsCapabilitiesStatus {
  OwsCapabilitiesNone, OwsCapabilitiesSuccess, OwsCapabilitiesNoOwsServer, OwsCapabilitiesReplyUnreadable,
  OwsCapabilitiesFailed
}
 
enum  OwsServiceType {
  NoOwsType, WmsType, WmtsType, WfsType,
  WcsType
}
 
enum  Pole { AnyPole, NorthPole, SouthPole }
 
enum  PositionProviderStatus { PositionProviderStatusError = 0, PositionProviderStatusUnavailable, PositionProviderStatusAcquiring, PositionProviderStatusAvailable }
 
enum  Projection {
  Spherical, Equirectangular, Mercator, Gnomonic,
  Stereographic, LambertAzimuthal, AzimuthalEquidistant, VerticalPerspective
}
 
enum  ProxyType { HttpProxy, Socks5Proxy }
 
enum  RenderStatus { Complete, WaitingForUpdate, WaitingForData, Incomplete }
 
enum  SearchMode { GlobalSearch, AreaSearch }
 
enum  StyleEffect { NoEffect, InvertedEffect, GrayscaleEffect, RedModeEffect }
 
enum  TessellationFlag {
  NoTessellation = 0x0, Tessellate = 0x1, RespectLatitudeCircle = 0x2, FollowGround = 0x4,
  PreventNodeFiltering = 0x8
}
 
enum  TileType { TextureTileType, VectorTileType }
 
enum  ViewContext { Still, Animation }
 
enum  wizardPage {
  WelcomePage, WmsSelectionPage, LayerSelectionPage, GlobalSourceImagePage,
  XYZUrlPage, ThemeInfoPage, LegendPage, SummaryPage
}
 
enum  WmsImageStatus { WmsImageNone, WmsImageSuccess, WmsImageFailed, WmsImageFailedServerMessage }
 

Functions

QSet< GeoDataPlacemark::GeoDataVisualCategoryacceptedVisualCategories ()
 
template<class Iface , class Plugin >
bool appendPlugin (QObject *obj, const QPluginLoader *loader, QList< Plugin > &plugins)
 
static qreal baseTileXFromLon (qreal lon, unsigned int tileCount)
 
static qreal baseTileXFromLon (qreal lon, unsigned int tileCount)
 
static qreal baseTileYFromLat (qreal lat, unsigned int tileCount)
 
static qreal baseTileYFromLat (qreal latitude, unsigned int tileCount)
 
static void copyUInt (uchar *dest, const uchar *src)
 
static void copyUShort (uchar *dest, const uchar *src)
 
static QHash< Maneuver::Direction, QStringcreateTurnTypePixmapMap ()
 
static int deflate (Bytef *dest, ulong *destLen, const Bytef *source, ulong sourceLen)
 
qreal distanceSphere (qreal lon1, qreal lat1, qreal lon2, qreal lat2)
 
qreal distanceSphereApprox (qreal lon1, qreal lat1, qreal lon2, qreal lat2)
 
static unsigned int eastBoundTileXFromLon (qreal lon, unsigned int tileCount)
 
static unsigned int eastBoundTileXFromLon (qreal lon, unsigned int tileCount)
 
qreal gdInv (qreal x)
 
template<typename T >
const T * geodata_cast (const GeoDataObject *node)
 
template<typename T >
T * geodata_cast (GeoDataObject *node)
 
GeoDataDocumentgeoDataDoc (GeoParser &parser)
 
GeoSceneDocumentgeoSceneDoc (GeoParser &parser)
 
static QModelIndex getFirstDeepest (QAbstractItemModel *model, const QModelIndex &parent, int *count)
 
static QString guessWikipediaDomain ()
 
static int inflate (Bytef *dest, ulong *destLen, const Bytef *source, ulong sourceLen)
 
static qreal latFromTileY (unsigned int y, unsigned int tileCount)
 
static bool lessThanByPointer (const AbstractDataPluginItem *item1, const AbstractDataPluginItem *item2)
 
static qreal lonFromTileX (unsigned int x, unsigned int tileCount)
 
static unsigned int lowerBoundTileIndex (qreal baseTileIndex)
 
static unsigned int lowerBoundTileIndex (qreal baseTileIndex)
 
static QFile::Permissions modeToPermissions (quint32 mode)
 
static unsigned int northBoundTileYFromLat (qreal lat, unsigned int tileCount)
 
static unsigned int northBoundTileYFromLat (qreal lat, unsigned int tileCount)
 
bool operator!= (GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
 
QTextStreamoperator<< (QTextStream &stream, const RoutingInstruction &i)
 
QTextStreamoperator<< (QTextStream &stream, const RoutingPoint &p)
 
bool operator== (const DownloadPolicy &lhs, const DownloadPolicy &rhs)
 
bool operator== (const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
 
bool operator== (GeoDataLatLonAltBox const &lhs, GeoDataLatLonAltBox const &rhs)
 
bool operator== (GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
 
static quint32 permissionsToMode (QFile::Permissions perms)
 
uint qHash (const GeoDataCoordinates &coordinates)
 
uint qHash (const GeoDataLatLonAltBox &box, uint seed)
 
uint qHash (Marble::OsmIdentifier ident, uint seed)
 
uint qHash (TileId const &)
 
static QDateTime readMSDosDate (const uchar *src)
 
static uint readUInt (const uchar *data)
 
static ushort readUShort (const uchar *data)
 
static GeoTagWriterRegistrar s_writerAnimatedUpdate (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataAnimatedUpdateType, kml::kmlTag_nameSpaceOgc22), new KmlAnimatedUpdateTagWriter)
 
static GeoTagWriterRegistrar s_writerBallonStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataBalloonStyleType, kml::kmlTag_nameSpaceOgc22), new KmlBalloonStyleTagWriter())
 
static GeoTagWriterRegistrar s_writerCamera (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataCameraType, kml::kmlTag_nameSpaceOgc22), new KmlCameraTagWriter())
 
static GeoTagWriterRegistrar s_writerData (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataDataType, kml::kmlTag_nameSpaceOgc22), new KmlDataTagWriter())
 
static GeoTagWriterRegistrar s_writerDgml (GeoTagWriter::QualifiedName("", dgml::dgmlTag_nameSpace20), new DgmlTagWriter())
 
static GeoTagWriterRegistrar s_writerDocument (GeoTagWriter::QualifiedName("GeoSceneDocument", dgml::dgmlTag_nameSpace20), new DgmlDocumentTagWriter())
 
static GeoTagWriterRegistrar s_writerDocument (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataDocumentType, kml::kmlTag_nameSpaceOgc22), new KmlDocumentTagWriter())
 
static GeoTagWriterRegistrar s_writerDocument (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataFolderType, kml::kmlTag_nameSpaceOgc22), new KmlFolderTagWriter())
 
static GeoTagWriterRegistrar s_writerExtendedData (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataExtendedDataType, kml::kmlTag_nameSpaceOgc22), new KmlExtendedDataTagWriter())
 
static GeoTagWriterRegistrar s_writerFlyTo (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataFlyToType, kml::kmlTag_nameSpaceOgc22), new KmlFlyToTagWriter)
 
static GeoTagWriterRegistrar s_writerGeodata (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneGeodataType, dgml::dgmlTag_nameSpace20), new DgmlGeodataTagWriter())
 
static GeoTagWriterRegistrar s_writerHead (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneHeadType, dgml::dgmlTag_nameSpace20), new DgmlHeadTagWriter())
 
static GeoTagWriterRegistrar s_writerIconStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataIconStyleType, kml::kmlTag_nameSpaceOgc22), new KmlIconStyleTagWriter)
 
static GeoTagWriterRegistrar s_writerItem (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneItemType, dgml::dgmlTag_nameSpace20), new DgmlItemTagWriter())
 
static GeoTagWriterRegistrar s_writerKml (GeoTagWriter::QualifiedName("", kml::kmlTag_nameSpaceOgc22), new KmlTagWriter())
 
static GeoTagWriterRegistrar s_writerLatLonAltBox (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLatLonAltBoxType, kml::kmlTag_nameSpaceOgc22), new KmlLatLonAltBoxWriter)
 
static GeoTagWriterRegistrar s_writerLatLonQuad (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLatLonQuadType, kml::kmlTag_nameSpaceOgc22), new KmlLatLonQuadWriter)
 
static GeoTagWriterRegistrar s_writerLayer (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneLayerType, dgml::dgmlTag_nameSpace20), new DgmlLayerTagWriter())
 
static GeoTagWriterRegistrar s_writerLegend (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneLegendType, dgml::dgmlTag_nameSpace20), new DgmlLegendTagWriter())
 
static GeoTagWriterRegistrar s_writerLineStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLabelStyleType, kml::kmlTag_nameSpaceOgc22), new KmlLabelStyleTagWriter)
 
static GeoTagWriterRegistrar s_writerLineStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLineStyleType, kml::kmlTag_nameSpaceOgc22), new KmlLineStyleTagWriter)
 
static GeoTagWriterRegistrar s_writerLineStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataPolyStyleType, kml::kmlTag_nameSpaceOgc22), new KmlPolyStyleTagWriter)
 
static GeoTagWriterRegistrar s_writerLink (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLinkType, kml::kmlTag_nameSpaceOgc22), new KmlLinkTagWriter)
 
static GeoTagWriterRegistrar s_writerListStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataListStyleType, kml::kmlTag_nameSpaceOgc22), new KmlListStyleTagWriter())
 
static GeoTagWriterRegistrar s_writerLod (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLodType, kml::kmlTag_nameSpaceOgc22), new KmlLodTagWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataGroundOverlayType, kml::kmlTag_nameSpaceOgc22), new KmlGroundOverlayWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLatLonBoxType, kml::kmlTag_nameSpaceOgc22), new KmlLatLonBoxWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLinearRingType, kml::kmlTag_nameSpaceOgc22), new KmlLinearRingTagWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLineStringType, kml::kmlTag_nameSpaceOgc22), new KmlLineStringTagWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLookAtType, kml::kmlTag_nameSpaceOgc22), new KmlLookAtTagWriter())
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataPhotoOverlayType, kml::kmlTag_nameSpaceOgc22), new KmlPhotoOverlayWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataPolygonType, kml::kmlTag_nameSpaceOgc22), new KmlPolygonTagWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataScreenOverlayType, kml::kmlTag_nameSpaceOgc22), new KmlScreenOverlayWriter)
 
static GeoTagWriterRegistrar s_writerLookAt (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataTimeSpanType, kml::kmlTag_nameSpaceOgc22), new KmlTimeSpanWriter)
 
static GeoTagWriterRegistrar s_writerMap (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneMapType, dgml::dgmlTag_nameSpace20), new DgmlMapTagWriter())
 
static GeoTagWriterRegistrar s_writerModel (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataModelType, kml::kmlTag_nameSpaceOgc22), new KmlModelTagWriter)
 
static GeoTagWriterRegistrar s_writerMultiGeometry (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataMultiGeometryType, kml::kmlTag_nameSpaceOgc22), new KmlMultiGeometryTagWriter)
 
static GeoTagWriterRegistrar s_writerMultiTrack (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataMultiTrackType, kml::kmlTag_nameSpaceOgc22), new KmlMultiTrackTagWriter)
 
static GeoTagWriterRegistrar s_writerNetworkLink (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataNetworkLinkType, kml::kmlTag_nameSpaceOgc22), new KmlNetworkLinkTagWriter)
 
static GeoTagWriterRegistrar s_writerNetworkLinkControl (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataNetworkLinkControlType, kml::kmlTag_nameSpaceOgc22), new KmlNetworkLinkControlTagWriter)
 
static GeoTagWriterRegistrar s_writerPlacemark (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataPlacemarkType, kml::kmlTag_nameSpaceOgc22), new KmlPlacemarkTagWriter())
 
static GeoTagWriterRegistrar s_writerPlaylist (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataPlaylistType, kml::kmlTag_nameSpaceOgc22), new KmlPlaylistTagWriter)
 
static GeoTagWriterRegistrar s_writerPoint (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataPointType, kml::kmlTag_nameSpaceOgc22), new KmlPointTagWriter())
 
static GeoTagWriterRegistrar s_writerRegion (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataRegionType, kml::kmlTag_nameSpaceOgc22), new KmlRegionTagWriter)
 
static GeoTagWriterRegistrar s_writerSchema (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataSchemaType, kml::kmlTag_nameSpaceOgc22), new KmlSchemaTagWriter)
 
static GeoTagWriterRegistrar s_writerSchemaData (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataSchemaDataType, kml::kmlTag_nameSpaceOgc22), new KmlSchemaDataTagWriter)
 
static GeoTagWriterRegistrar s_writerSection (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneSectionType, dgml::dgmlTag_nameSpace20), new DgmlSectionTagWriter())
 
static GeoTagWriterRegistrar s_writerSettings (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneSettingsType, dgml::dgmlTag_nameSpace20), new DgmlSettingsTagWriter())
 
static GeoTagWriterRegistrar s_writerSimpleData (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataSimpleDataType, kml::kmlTag_nameSpaceOgc22), new KmlSimpleDataTagWriter)
 
static GeoTagWriterRegistrar s_writerSimpleField (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataSimpleFieldType, kml::kmlTag_nameSpaceOgc22), new KmlSimpleFieldTagWriter)
 
static GeoTagWriterRegistrar s_writerStyle (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataStyleType, kml::kmlTag_nameSpaceOgc22), new KmlStyleTagWriter)
 
static GeoTagWriterRegistrar s_writerStyleMap (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataStyleMapType, kml::kmlTag_nameSpaceOgc22), new KmlStyleMapTagWriter)
 
static GeoTagWriterRegistrar s_writerTexture (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneTileDatasetType, dgml::dgmlTag_nameSpace20), new DgmlTextureTagWriter())
 
static GeoTagWriterRegistrar s_writerTimeStamp (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataTimeStampType, kml::kmlTag_nameSpaceOgc22), new KmlTimeStampTagWriter())
 
static GeoTagWriterRegistrar s_writerTour (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataTourType, kml::kmlTag_nameSpaceOgc22), new KmlTourTagWriter)
 
static GeoTagWriterRegistrar s_writerUpdate (GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataUpdateType, kml::kmlTag_nameSpaceOgc22), new KmlUpdateTagWriter)
 
static GeoTagWriterRegistrar s_writerVector (GeoTagWriter::QualifiedName(GeoSceneTypes::GeoSceneVectorType, dgml::dgmlTag_nameSpace20), new DgmlVectorTagWriter())
 
static unsigned int southBoundTileYFromLat (qreal lat, unsigned int tileCount)
 
static unsigned int southBoundTileYFromLat (qreal lat, unsigned int tileCount)
 
static void switchSign (QComboBox *sign)
 
QString templateName (RoutingProfilesModel::ProfileTemplate profileTemplate)
 
static unsigned int upperBoundTileIndex (qreal baseTileIndex)
 
static unsigned int upperBoundTileIndex (qreal baseTileIndex)
 
static unsigned int westBoundTileXFromLon (qreal lon, unsigned int tileCount)
 
static unsigned int westBoundTileXFromLon (qreal lon, unsigned int tileCount)
 
static void writeMSDosDate (uchar *dest, const QDateTime &dt)
 
static void writeUInt (uchar *data, uint i)
 
static void writeUShort (uchar *data, ushort i)
 

Variables

int averageTextureTileSize = 13
 
int averageVectorTileSize = 30
 
const qreal boxComparisonFactor = 16.0
 
const unsigned int c_defaultTileSize = 675
 
const qreal CM2M = 1.0 / M2CM
 
int dataTabIndex = 2
 
const int defaultLevelZeroColumns = 2
 
const int defaultLevelZeroRows = 1
 
static const int defaultSize = 8
 
const qreal DEG2RAD = M_PI / 180.0
 
const QString descriptionPrefix ("description_")
 
const qreal EARTH_RADIUS = 6378137.0
 
const QChar fileIdSeparator = QLatin1Char('_')
 
const qreal FT2IN = 12.0
 
const qreal FT2M = 1.0 / M2FT
 
const qreal HOUR2MIN = 60.0
 
const qreal HOUR2SEC = 3600.0
 
const qreal IN2M = 1.0 / M2IN
 
const qreal KM2METER = 1000.0
 
const qreal KM2MI = 1.0 / MI2KM
 
const qreal KM2NM = 1.0 / NM2KM
 
static const int latLonAltBoxSamplingRate = 4
 
const int layerIdRole = 1001
 
const qreal M2CM = 100.0
 
const qreal M2FT = 3.2808
 
const qreal M2IN = 39.3701
 
const qreal M2MM = 1000.0
 
const qreal M2YD = 1.09361
 
const QString MARBLE_VERSION_STRING = QString::fromLatin1( MARBLE_LIB_VERSION_STRING )
 
const int maxBaseTileLevel = 4
 
const int maximumRouteOffset = 10000
 
const int maxTilesCount = 100000
 
const qreal METER2KM = 1.0 / KM2METER
 
const qreal MI2KM = 1.609344
 
const qreal MIN2HOUR = 1.0 / HOUR2MIN
 
const qreal MIN2SEC = 60.0
 
const int minimumRouteOffset = 0
 
const qreal MM2M = 1.0 / M2MM
 
const qreal NM2FT = 6080
 
const qreal NM2KM = 1.852
 
static const char NOT_AVAILABLE [] = QT_TRANSLATE_NOOP("Marble", "not available")
 
const qreal RAD2DEG = 180.0 / M_PI
 
const int REPAINT_SCHEDULING_INTERVAL = 1000
 
static const qreal s_labelOutlineWidth = 2.5
 
static const QSize s_maximumIconSize = QSize( 100, 100 )
 
static const QSize s_minimumIconSize = QSize( 10, 10 )
 
const qreal SEC2HOUR = 1.0 / HOUR2SEC
 
const qreal SEC2MIN = 1.0 / MIN2SEC
 
static const int tessellationPrecision = 10
 
const int tileDigits = 6
 
const int timeBetweenDownloads = 1500
 
const int timeBetweenTriedDownloads = 500
 
const int TOOLTIP_START_INTERVAL = 1000
 
const qreal TWOPI = 2 * M_PI
 
const int WAIT_ATTEMPTS = 20
 
const int WAIT_TIME = 100
 
const qreal YD2M = 1.0 / M2YD
 

Detailed Description

Binds a QML item to a specific geodetic location in screen coordinates.

A QAbstractItemModel that contains a list of routing instructions.

A public class that adds methods to the UI Plugins Settings Widget.

Tiled dataset stored in a layer.

Represents the maptheme with its most important properties.

Represents a coordinate with the properties of a name and coordinates.

Todo:
: Introduce GeoDataCoordinates
Todo:
: Expose more properties
Todo:
FIXME after freeze: Rename to AddBookmarkDialog

TextureTile and VectorTile layes inherit from this class.

Each item represents a routing step in the way from source to destination. Steps near the source come first, steps near the target last.

Enumeration Type Documentation

◆ AltitudeMode

Enumerator
ClampToGround 

Altitude always sticks to ground level.

RelativeToGround 

Altitude is always given relative to ground level.

Absolute 

Altitude is given relative to the sealevel.

RelativeToSeaFloor 

Altitude is given relative to the sea floor.

ClampToSeaFloor 

Altitude always sticks to sea floor.

Definition at line 131 of file MarbleGlobal.h.

◆ AngleUnit

This enum is used to choose the unit chosen to measure angles.

Enumerator
DMSDegree 

Degrees in DMS notation.

DecimalDegree 

Degrees in decimal notation.

UTM 

UTM.

Definition at line 57 of file MarbleGlobal.h.

◆ DownloadUsage

This enum is used to describe the type of download.

Enumerator
DownloadBulk 

Bulk download, for example "File/Download region".

DownloadBrowse 

Browsing mode, normal operation of Marble, like a web browser.

Definition at line 153 of file MarbleGlobal.h.

◆ DragLocation

This enum is used to choose how the globe behaves while dragging.

Enumerator
KeepAxisVertically 

Keep planet axis vertically.

FollowMousePointer 

Follow mouse pointer exactly.

Definition at line 118 of file MarbleGlobal.h.

◆ FlyToMode

Describes possible flight mode (interpolation between source and target camera positions)

Enumerator
Automatic 

A sane value is chosen automatically depending on animation settings and the action.

Instant 

Change camera position immediately (no interpolation)

Linear 

Linear interpolation of lon, lat and distance to ground.

Jump 

Linear interpolation of lon and lat, distance increases towards the middle point, then decreases

Definition at line 162 of file MarbleGlobal.h.

◆ LabelLocalization

This enum is used to choose the localization of the labels.

Enumerator
CustomAndNative 

Custom and native labels.

Custom 

Shows the name in the user's language.

Native 

Display the name in the official language and
glyphs of the labeled place.


Definition at line 108 of file MarbleGlobal.h.

◆ LabelPositionFlag

This enum is used to choose the localization of the labels.

Definition at line 93 of file MarbleGlobal.h.

◆ MapQuality

This enum is used to choose the map quality shown in the view.

Enumerator
OutlineQuality 

Only a wire representation is drawn.

LowQuality 

Low resolution (e.g. interlaced)

NormalQuality 

Normal quality.

HighQuality 

High quality (e.g. antialiasing for lines)

PrintQuality 

Print quality.

Definition at line 74 of file MarbleGlobal.h.

◆ OnStartup

This enum is used to choose how the globe behaves while dragging.

Enumerator
ShowHomeLocation 

Show home location on startup.

LastLocationVisited 

Show last location visited on quit.

Definition at line 126 of file MarbleGlobal.h.

◆ OsmType

enum Marble::OsmType
strong

Type of OSM element.

Definition at line 25 of file OsmPlacemarkData.h.

◆ Pole

Enumerator
AnyPole 

Any pole.

NorthPole 

Only North Pole.

SouthPole 

Only South Pole.

Definition at line 139 of file MarbleGlobal.h.

◆ Projection

This enum is used to choose the projection shown in the view.

Enumerator
Spherical 

Spherical projection ("Orthographic")

Equirectangular 

Flat projection ("plate carree")

Mercator 

Mercator projection.

Gnomonic 

Gnomonic projection.

Stereographic 

Stereographic projection.

LambertAzimuthal 

Lambert Azimuthal Equal-Area projection.

AzimuthalEquidistant 

Azimuthal Equidistant projection.

VerticalPerspective 

Vertical perspective projection.

Definition at line 41 of file MarbleGlobal.h.

◆ ProxyType

This enum is used to specify the proxy that is used.

Enumerator
HttpProxy 

Uses an Http proxy.

Socks5Proxy 

Uses a Socks5Proxy.

Definition at line 85 of file MarbleGlobal.h.

◆ RenderStatus

Enumerator
Complete 

All data is there and up to date.

WaitingForUpdate 

Rendering is based on complete, but outdated data, data update was requested.

WaitingForData 

Rendering is based on no or partial data, more data was requested (e.g. pending network queries)

Incomplete 

Data is missing and some error occurred when trying to retrieve it (e.g. network failure)

Definition at line 180 of file MarbleGlobal.h.

◆ SearchMode

Search mode: Global (worldwide) versus area (local, regional) search.

Enumerator
GlobalSearch 

Search a whole planet.

AreaSearch 

Search a certain region of a planet (e.g. visible region)

Definition at line 172 of file MarbleGlobal.h.

◆ TileType

Enumerator
TextureTileType 

Tiles that consist of bitmap data.

VectorTileType 

Tiles that consist of vector data.

Definition at line 145 of file MarbleGlobal.h.

◆ ViewContext

This enum is used to choose context in which map quality gets used.

Enumerator
Still 

still image

Animation 

animated view (e.g. while rotating the globe)

Definition at line 66 of file MarbleGlobal.h.

Function Documentation

◆ appendPlugin()

template<class Iface , class Plugin >
bool Marble::appendPlugin ( QObject obj,
const QPluginLoader loader,
QList< Plugin > &  plugins 
)

Append obj to the given plugins list if it inherits both T and U.

Definition at line 172 of file PluginManager.cpp.

◆ distanceSphere()

qreal Marble::distanceSphere ( qreal  lon1,
qreal  lat1,
qreal  lon2,
qreal  lat2 
)
inline

This method calculates the shortest distance between two points on a sphere.

See: https://en.wikipedia.org/wiki/Great-circle_distance

Parameters
lon1longitude of first point in radians
lat1latitude of first point in radians
lon2longitude of second point in radians
lat2latitude of second point in radians

Definition at line 46 of file MarbleMath.h.

◆ distanceSphereApprox()

qreal Marble::distanceSphereApprox ( qreal  lon1,
qreal  lat1,
qreal  lon2,
qreal  lat2 
)
inline

This method roughly calculates the shortest distance between two points on a sphere.

It's probably faster than distanceSphere(...) but for 7 significant digits only has

an accuracy of about 1 arcmin.

See: https://en.wikipedia.org/wiki/Great-circle_distance

Definition at line 62 of file MarbleMath.h.

◆ gdInv()

qreal Marble::gdInv ( qreal  x)
inline

This method is a fast Mac Laurin power series approximation of the.

inverse Gudermannian. The inverse Gudermannian gives the vertical

position y in the Mercator projection in terms of the latitude.

See: https://en.wikipedia.org/wiki/Mercator_projection

Definition at line 73 of file MarbleMath.h.

◆ geodata_cast() [1/2]

template<typename T >
const T* Marble::geodata_cast ( const GeoDataObject node)

Returns the given node cast to type const T if the node was instantiated as type T; otherwise returns 0.

If node is 0 then it will also return 0.

Parameters
nodepointer to GeoNode object to be casted
Returns
the given node as type const T if cast is successful, otherwise 0

Definition at line 128 of file GeoDataObject.h.

◆ geodata_cast() [2/2]

template<typename T >
T* Marble::geodata_cast ( GeoDataObject node)

Returns the given node cast to type T if the node was instantiated as type T; otherwise returns 0.

If node is 0 then it will also return 0.

Parameters
nodepointer to GeoNode object to be casted
Returns
the given node as type T if cast is successful, otherwise 0

Definition at line 107 of file GeoDataObject.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 04:11:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.