marble
GeoDataTrack.cpp
Go to the documentation of this file.
136 QMap<QDateTime, GeoDataCoordinates>::const_iterator nextEntry = const_cast<const PointMap&>(pointMap).upperBound( when );
void removeAfter(const QDateTime &when)
Remove all points from the track whose time value is greater than when.
Definition: GeoDataTrack.cpp:233
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition: GeoDataTrack.cpp:265
virtual void unpack(QDataStream &stream)
Unserialize the contents of the feature from stream.
Definition: GeoDataGeometry.cpp:135
void setAltitude(const qreal altitude)
set the altitude of the Point in meters
Definition: GeoDataCoordinates.cpp:1191
virtual void pack(QDataStream &stream) const
Serialize the contents of the feature to stream.
Definition: GeoDataTrack.cpp:286
const GeoDataLineString * lineString() const
Return the GeoDataLineString representing the current track.
Definition: GeoDataTrack.cpp:247
QList< QDateTime > whenList() const
Returns the time value of all the points in the map, in chronological order.
Definition: GeoDataTrack.cpp:105
virtual const char * nodeType() const
Provides type information for downcasting a GeoData.
Definition: GeoDataTrack.cpp:270
GeoDataExtendedData & extendedData() const
Return the ExtendedData assigned to the feature.
Definition: GeoDataTrack.cpp:260
void addPoint(const QDateTime &when, const GeoDataCoordinates &coord)
Add a new point with coordinates coord associated with the time value when.
Definition: GeoDataTrack.cpp:175
a class which allows to add custom data to KML Feature.
Definition: GeoDataExtendedData.h:35
virtual void pack(QDataStream &stream) const
Serialize the contents of the feature to stream.
Definition: GeoDataGeometry.cpp:127
virtual void unpack(QDataStream &stream)
Unserialize the contents of the feature from stream.
Definition: GeoDataTrack.cpp:291
qreal altitude() const
return the altitude of the Point in meters
Definition: GeoDataCoordinates.cpp:1197
void appendWhen(const QDateTime &when)
Add the time value part for a new point.
Definition: GeoDataTrack.cpp:207
static Quaternion slerp(const Quaternion &q1, const Quaternion &q2, qreal t)
Definition: Quaternion.cpp:177
QDateTime lastWhen() const
Return the time value of the last point in the track, or an invalid QDateTime if the track is empty...
Definition: GeoDataTrack.cpp:91
void appendAltitude(qreal altitude)
Add altitude information to the last appended coordinates.
Definition: GeoDataTrack.cpp:197
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
virtual EnumGeometryId geometryId() const
Definition: GeoDataTrack.cpp:275
Definition: Serializable.h:49
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
bool interpolate() const
Returns true if coordinatesAt() should use interpolation, false otherwise.
Definition: GeoDataTrack.cpp:72
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
void setInterpolate(bool on)
Set whether coordinatesAt() should use interpolation.
Definition: GeoDataTrack.cpp:77
Definition: Quaternion.h:43
void appendCoordinates(const GeoDataCoordinates &coord)
Add the coordinates part for a new point.
Definition: GeoDataTrack.cpp:190
QList< GeoDataCoordinates > coordinatesList() const
Returns the coordinates of all the points in the map, sorted by their time value. ...
Definition: GeoDataTrack.cpp:100
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Definition: GeoDataTrack.cpp:280
void getSpherical(qreal &lon, qreal &lat) const
Definition: Quaternion.cpp:48
friend class GeoDataLineString
Definition: GeoDataGeometry.h:51
void removeBefore(const QDateTime &when)
Remove all points from the track whose time value is less than when.
Definition: GeoDataTrack.cpp:219
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Returns the smallest latLonAltBox that contains the LineString.
Definition: GeoDataLineString.cpp:545
const Quaternion & quaternion() const
return a Quaternion with the used coordinates
Definition: GeoDataCoordinates.cpp:1226
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.