Warning, /education/marble/src/bindings/python/sip/GeoDataTrack.sip is written in an unsupported language. File is not indexed.

0001 // Copyright 2011 Simon Edwards <simon@simonzone.com>
0002 
0003 //                 Generated by twine2
0004 
0005 // This program is free software; you can redistribute it and/or modify
0006 // it under the terms of the GNU Library General Public License as
0007 // published by the Free Software Foundation; either version 2, or
0008 // (at your option) any later version.
0009 
0010 // This program is distributed in the hope that it will be useful,
0011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
0012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013 // GNU General Public License for more details
0014 
0015 // You should have received a copy of the GNU Library General Public
0016 // License along with this program; if not, write to the
0017 // Free Software Foundation, Inc.,
0018 // 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
0019 
0020 namespace Marble
0021 {
0022 class GeoDataTrack : Marble::GeoDataGeometry
0023 {
0024 %TypeHeaderCode
0025 #include <GeoDataTrack.h>
0026 %End
0027 
0028 public:
0029                             GeoDataTrack ();
0030                             GeoDataTrack (const Marble::GeoDataGeometry& other);
0031     int                     size () const;
0032     bool                    interpolate () const;
0033     void                    setInterpolate (bool on);
0034     QDateTime               firstWhen () const;
0035     QDateTime               lastWhen () const;
0036     QList<Marble::GeoDataCoordinates>  coordinatesList () const;
0037     QVector<QDateTime>      whenList () const;
0038     Marble::GeoDataCoordinates  coordinatesAt (const QDateTime& when) const;
0039     Marble::GeoDataCoordinates  coordinatesAt (int index) const;
0040     void                    addPoint (const QDateTime& when, const Marble::GeoDataCoordinates& coord);
0041     void                    appendCoordinates (const Marble::GeoDataCoordinates& coord);
0042     void                    appendAltitude (qreal altitude);
0043     void                    appendWhen (const QDateTime& when);
0044     void                    clear ();
0045     void                    removeBefore (const QDateTime& when);
0046     void                    removeAfter (const QDateTime& when);
0047     const Marble::GeoDataLineString*  lineString () const;
0048 //ig    GeoDataExtendedData&    extendedData () const;
0049 //ig    void                    setExtendedData (const GeoDataExtendedData& extendedData);
0050     virtual const char*     nodeType () const;
0051     virtual Marble::EnumGeometryId  geometryId () const;
0052     virtual const Marble::GeoDataLatLonAltBox&  latLonAltBox () const;
0053     virtual void            pack (QDataStream& stream) const;
0054     virtual void            unpack (QDataStream& stream);
0055 };
0056 };