KDE 4.5 PyKDE API Reference

- KDE's Python API

# Marble Namespace Reference

`from PyKDE4.marble.Marble import *`

## Detailed Description

This file contains the headers for ViewportParams.

Author:
  Inge Wallin <inge@lysator.liu.se>

## Class Index

A | GeoDataLineStyle (Marble) | MarbleGraphicsItem (Marble)
AbstractDataPlugin (Marble) | GeoDataLod (Marble) | MarbleMap (Marble)
AbstractDataPluginItem (Marble) | GeoDataLookAt (Marble) | MarbleModel (Marble)
AbstractDataPluginModel (Marble) | GeoDataMultiGeometry (Marble) | MarbleNavigator (Marble)
AbstractFloatItem (Marble) | GeoDataObject (Marble) | MarbleWidget (Marble)
AbstractMarbleGraphicsLayout (Marble) | GeoDataOuterBoundary (Marble) | P
AbstractProjection (Marble) | GeoDataPlacemark (Marble) | Planet (Marble)
AbstractWorkerThread (Marble) | GeoDataPoint (Marble) | PluginAboutDialog (Marble)
C | GeoDataPolygon (Marble) | PluginInterface (Marble)
ClipPainter (Marble) | GeoDataPolyStyle (Marble) | PluginManager (Marble)
D | GeoDataRegion (Marble) | Q
DownloadRegionDialog (Marble) | GeoDataStyle (Marble) | QtMarbleConfigDialog (Marble)
F | GeoDataStyleMap (Marble) | Quaternion (Marble)
FrameGraphicsItem (Marble) | GeoDataStyleSelector (Marble) | Quaternion (Marble)
G | GeoDocument (Marble) | R
GeoDataAbstractView (Marble) | GeoGraphicsItem (Marble) | RenderPlugin (Marble)
GeoDataAccuracy (Marble) | GeoNode (Marble) | RenderPluginInterface (Marble)
GeoDataColorStyle (Marble) | GeoPainter (Marble) | S
GeoDataContainer (Marble) | GeoSceneLayer (Marble) | ScreenGraphicsItem (Marble)
GeoDataCoordinates (Marble) | L | SunLocator (Marble)
GeoDataDocument (Marble) | LabelGraphicsItem (Marble) | T
GeoDataFeature (Marble) | LatLonBoxWidget (Marble) | TileCoordsPyramid (Marble)
GeoDataFolder (Marble) | LatLonEdit (Marble) | TileCreator (Marble)
GeoDataGeometry (Marble) | LayerInterface (Marble) | TileLevelRangeWidget (Marble)
GeoDataHotSpot (Marble) | M | TinyWebBrowser (Marble)
GeoDataIconStyle (Marble) | MapThemeManager (Marble) | V
GeoDataInnerBoundary (Marble) | MarbleAboutDialog (Marble) | ViewParams (Marble)
GeoDataLabelStyle (Marble) | MarbleControlBox (Marble) | ViewportParams (Marble)
GeoDataLatLonAltBox (Marble) | MarbleDataFacade (Marble) | W
GeoDataLatLonBox (Marble) | MarbleDirs (Marble) | WidgetGraphicsItem (Marble)
GeoDataLinearRing (Marble) | MarbleGlobal (Marble) |
GeoDataLineString (Marble) | MarbleGraphicsGridLayout (Marble) |

## Enumerations

<anonymous> | { Q_X, Q_Y, Q_Z, Q_W }
<anonymous> | { Q_X, Q_Y, Q_Z, Q_W }
AltitudeMode | { ClampToGround, RelativeToGround, Absolute }
AngleUnit | { DMSDegree, DecimalDegree, UTM }
Dimension | { Latitude, Longitude }
DistanceUnit | { NoDistanceUnit, Meter, MilesFeet }
DownloadUsage | { DownloadBulk, DownloadBrowse }
DragLocation | { KeepAxisVertically, FollowMousePointer }
FlyToMode | { Automatic, Instant, Linear, Jump }
GraphicsSystem | { NativeGraphics, RasterGraphics, OpenGLGraphics }
LabelLocalization | { CustomAndNative, Custom, Native }
LabelPositionFlag | { NoLabel, LineStart, LineCenter, LineEnd, IgnoreXMargin, IgnoreYMargin }
MapQuality | { OutlineQuality, LowQuality, NormalQuality, HighQuality, PrintQuality }
MeasureSystem | { Metric, Imperial }
OnStartup | { ShowHomeLocation, LastLocationVisited }
Pole | { AnyPole, NorthPole, SouthPole }
Projection | { Spherical, Equirectangular, Mercator }
ProxyType | { HttpProxy, Socks5Proxy }
TessellationFlag | { NoTessellation, Tessellate, RespectLatitudeCircle, FollowGround, RotationIndicatesFill, SkipLatLonNormalization }
ViewContext | { Still, Animation }

## Functions

bool | operator == (, Marble.GeoDataLatLonAltBox lhs, Marble.GeoDataLatLonAltBox rhs)

## Attributes

int | latLonAltBoxSamplingRate
int | tessellationPrecision

## Enumeration Documentation

anonymous

Enumerator:

  Q_X |
  Q_Y |
  Q_Z |
  Q_W |

anonymous

Enumerator:

  Q_X |
  Q_Y |
  Q_Z |
  Q_W |

AltitudeMode

Enumerator:

  ClampToGround |
  RelativeToGround |
  Absolute |

AngleUnit

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

Enumerator:

  DMSDegree |
  DecimalDegree |
  UTM |

Dimension

This enum is used to choose the dimension.

Enumerator:

  Latitude |
  Longitude |

DistanceUnit

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

Enumerator:

  NoDistanceUnit = -1 |
  Meter |
  MilesFeet |

DownloadUsage

This enum is used to describe the type of download

Enumerator:

  DownloadBulk |
  DownloadBrowse |

DragLocation

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

Enumerator:

  KeepAxisVertically |
  FollowMousePointer |

FlyToMode

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

Enumerator:

  Automatic |
  Instant |
  Linear |
  Jump |

GraphicsSystem

This enum is used to choose which graphics system Qt is using.

Enumerator:

  NativeGraphics |
  RasterGraphics |
  OpenGLGraphics |

LabelLocalization

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

Enumerator:

  CustomAndNative |
  Custom |
  Native |

LabelPositionFlag

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

Enumerator:

  NoLabel = 0x0 |
  LineStart = 0x1 |
  LineCenter = 0x2 |
  LineEnd = 0x4 |
  IgnoreXMargin = 0x8 |
  IgnoreYMargin = 0x10 |

MapQuality

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

Enumerator:

  OutlineQuality |
  LowQuality |
  NormalQuality |
  HighQuality |
  PrintQuality |

MeasureSystem

This enum is used to choose the default for many units in marble.

Enumerator:

  Metric |
  Imperial |

OnStartup

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

Enumerator:

  ShowHomeLocation |
  LastLocationVisited |

Pole

Enumerator:

  AnyPole |
  NorthPole |
  SouthPole |

Projection

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

Enumerator:

  Spherical |
  Equirectangular |
  Mercator |

ProxyType

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

Enumerator:

  HttpProxy |
  Socks5Proxy |

TessellationFlag

Enumerator:

  NoTessellation = 0x0 |
  Tessellate = 0x1 |
  RespectLatitudeCircle = 0x2 |
  FollowGround = 0x4 |
  RotationIndicatesFill = 0x8 |
  SkipLatLonNormalization = 0x10 |

ViewContext

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

Enumerator:

  Still |
  Animation |

## Function Documentation

bool operator == | ( | Marble.GeoDataLatLonAltBox | lhs,
|  | Marble.GeoDataLatLonAltBox | rhs
| ) |  |  |

A class that defines a 3D bounding box for geographic data.

GeoDataLatLonAltBox is a 3D bounding box that describes a geographic area in terms of latitude, longitude and altitude.

The bounding box gets described by assigning the northern, southern, eastern and western boundary. So usually the value of the eastern boundary is bigger than the value of the western boundary. Only if the bounding box crosses the date line then the eastern boundary has got a smaller value than the western one.

## Attribute Documentation

int latLonAltBoxSamplingRate

int tessellationPrecision