marble
GeoDataTrack.cpp
Go to the documentation of this file.
150 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:242
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition: GeoDataTrack.cpp:273
virtual void unpack(QDataStream &stream)
Unserialize the contents of the feature from stream.
Definition: GeoDataGeometry.cpp:135
A geometry for tracking objects made of (time, coordinates) pairs.
Definition: GeoDataTrack.h:54
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:294
bool operator!=(const GeoDataTrack &other) const
Definition: GeoDataTrack.cpp:76
bool operator==(const GeoDataTrack &other) const
: Equality operators.
Definition: GeoDataTrack.cpp:67
const GeoDataLineString * lineString() const
Return the GeoDataLineString representing the current track.
Definition: GeoDataTrack.cpp:256
QList< QDateTime > whenList() const
Returns the time value of all the points in the map, in chronological order.
Definition: GeoDataTrack.cpp:119
virtual const char * nodeType() const
Provides type information for downcasting a GeoData.
Definition: GeoDataTrack.cpp:278
GeoDataExtendedData & extendedData() const
Return the ExtendedData assigned to the feature.
Definition: GeoDataTrack.cpp:268
void addPoint(const QDateTime &when, const GeoDataCoordinates &coord)
Add a new point with coordinates coord associated with the time value when.
Definition: GeoDataTrack.cpp:184
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:299
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:216
static Quaternion slerp(const Quaternion &q1, const Quaternion &q2, qreal t)
Definition: Quaternion.cpp:201
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:105
void appendAltitude(qreal altitude)
Add altitude information to the last appended coordinates.
Definition: GeoDataTrack.cpp:206
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
virtual EnumGeometryId geometryId() const
Definition: GeoDataTrack.cpp:283
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:124
bool interpolate() const
Returns true if coordinatesAt() should use interpolation, false otherwise.
Definition: GeoDataTrack.cpp:86
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:96
void setInterpolate(bool on)
Set whether coordinatesAt() should use interpolation.
Definition: GeoDataTrack.cpp:91
Definition: Quaternion.h:41
void appendCoordinates(const GeoDataCoordinates &coord)
Add the coordinates part for a new point.
Definition: GeoDataTrack.cpp:199
QList< GeoDataCoordinates > coordinatesList() const
Returns the coordinates of all the points in the map, sorted by their time value. ...
Definition: GeoDataTrack.cpp:114
virtual const GeoDataLatLonAltBox & latLonAltBox() const
Definition: GeoDataTrack.cpp:288
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:228
bool equals(const GeoDataGeometry &other) const
Definition: GeoDataGeometry.cpp:146
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:580
const Quaternion & quaternion() const
return a Quaternion with the used coordinates
Definition: GeoDataCoordinates.cpp:1236
qint64 msecsTo(const QDateTime &other) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.