marble
GeoDataPlacemark.cpp
Go to the documentation of this file.
78 GeoDataCoordinates GeoDataPlacemark::coordinate( const QDateTime &dateTime, bool *iconAtCoordinates ) const
121 void GeoDataPlacemark::setCoordinate( qreal lon, qreal lat, qreal alt, GeoDataPoint::Unit _unit)
Definition: Serializable.h:42
const GeoDataLookAt * lookAt() const
Returns GeoDataLookAt object if lookAt is setup earlier otherwise It will convert GeoDataCoordinates ...
Definition: GeoDataPlacemark.cpp:68
virtual const char * nodeType() const
Provides type information for downcasting a GeoData.
Definition: GeoDataGeometry.cpp:77
const char * GeoDataMultiGeometryType
Definition: GeoDataTypes.cpp:56
A geometry for tracking objects made of (time, coordinates) pairs.
Definition: GeoDataTrack.h:54
virtual void pack(QDataStream &stream) const
Serialize the Placemark to a data stream.
Definition: GeoDataPlacemark.cpp:188
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition: GeoDataLinearRing.h:68
virtual const char * nodeType() const
Definition: GeoDataPlacemark_p.h:89
virtual void unpack(QDataStream &stream)
Unserialize the contents of the feature from stream.
Definition: GeoDataMultiGeometry.cpp:222
GeoDataCoordinates coordinate(const QDateTime &dateTime=QDateTime(), bool *iconAtCoordinates=0) const
Return the coordinates of the placemark at time dateTime as a GeoDataCoordinates. ...
Definition: GeoDataPlacemark.cpp:78
void setCoordinate(qreal longitude, qreal latitude, qreal altitude=0, GeoDataCoordinates::Unit _unit=GeoDataCoordinates::Radian)
Set the coordinate of the placemark in longitude and latitude.
Definition: GeoDataPlacemark.cpp:121
void setState(const QString &state)
Set the state state of the placemark.
Definition: GeoDataPlacemark.cpp:171
virtual void pack(QDataStream &stream) const
Serialize the contents of the feature to stream.
Definition: GeoDataFeature.cpp:754
virtual void unpack(QDataStream &stream)
Unserialize the LineString from a stream.
Definition: GeoDataLineString.cpp:627
GeoDataGeometry * geometry() const
The geometry of the GeoDataPlacemark is to be rendered to the marble map along with the icon at the c...
Definition: GeoDataPlacemark.cpp:63
Definition: Serializable.h:44
qint64 population() const
Return the population of the placemark.
Definition: GeoDataPlacemark.cpp:155
virtual void pack(QDataStream &stream) const
Serialize the contents of the feature to stream.
Definition: GeoDataGeometry.cpp:127
virtual void setParent(GeoDataObject *parent)
Sets the parent of the object.
Definition: GeoDataObject.cpp:70
const GeoDataAbstractView * abstractView() const
Get the Abstract view of the feature.
Definition: GeoDataFeature.cpp:535
void geoCoordinates(qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
use this function to get the longitude and latitude with one call - use the unit parameter to switch ...
Definition: GeoDataCoordinates.cpp:715
QString m_countrycode
Definition: GeoDataPlacemark_p.h:101
Definition: Serializable.h:46
virtual void unpack(QDataStream &stream)
Unserialize the contents of the feature from stream.
Definition: GeoDataPoint.cpp:100
virtual void unpack(QDataStream &stream)
Unserialize the contents of the feature from stream.
Definition: GeoDataFeature.cpp:769
virtual QXmlStreamWriter & operator<<(QXmlStreamWriter &stream) const
Definition: GeoDataPlacemark.cpp:214
QVector< GeoDataGeometry * >::ConstIterator constBegin() const
Definition: GeoDataMultiGeometry.cpp:141
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
Definition: Serializable.h:48
qint64 m_population
Definition: GeoDataPlacemark_p.h:103
bool operator==(const GeoDataPlacemark &other) const
comparison operator is implemented slightly different than one would expect.
Definition: GeoDataPlacemark.cpp:53
virtual GeoDataCoordinates center() const
returns the center of this box
Definition: GeoDataLatLonAltBox.cpp:152
void setPopulation(qint64 population)
Sets the population of the placemark.
Definition: GeoDataPlacemark.cpp:160
virtual void unpack(QDataStream &stream)
Unserialize the Polygon from a stream.
Definition: GeoDataPolygon.cpp:136
GeoDataCoordinates coordinatesAt(const QDateTime &when) const
If interpolate() is true, return the coordinates interpolated from the time values before and after w...
Definition: GeoDataTrack.cpp:110
Definition: GeoDataLookAt.h:23
QDateTime firstWhen() const
Return the time value of the first point in the track, or an invalid QDateTime if the track is empty...
Definition: GeoDataTrack.cpp:82
const QString countryCode() const
Return the country code of the placemark.
Definition: GeoDataPlacemark.cpp:177
virtual void unpack(QDataStream &stream)
Deserialize the Placemark from a data stream.
Definition: GeoDataPlacemark.cpp:220
QVector< GeoDataGeometry * >::ConstIterator constEnd() const
Definition: GeoDataMultiGeometry.cpp:146
qreal area() const
Return the area size of the feature in square km.
Definition: GeoDataPlacemark.cpp:144
void setArea(qreal area)
Set the area size of the feature in square km.
Definition: GeoDataPlacemark.cpp:149
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Definition: GeoDataGeometry.cpp:122
Definition: Serializable.h:43
void setCountryCode(const QString &code)
Set the country code of the placemark.
Definition: GeoDataPlacemark.cpp:182
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:54
Definition: Serializable.h:45
Definition: Serializable.h:41
GeoDataGeometry * m_geometry
Definition: GeoDataPlacemark_p.h:100
virtual EnumGeometryId geometryId() const
Definition: GeoDataGeometry.cpp:82
void setGeometry(GeoDataGeometry *entry)
Sets the current Geometry of this Placemark.
Definition: GeoDataPlacemark.cpp:136
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.