[Marble-devel] Review Request: New reference system: changes in GeoDataCoordinates_p.h

marbledeveloper marbledeveloper marbledeveloper at gmail.com
Fri May 25 17:21:55 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105045/
-----------------------------------------------------------

(Updated May 25, 2012, 5:21 p.m.)


Review request for Marble and Torsten Rahn.


Description
-------

Three new attributes:
- type: The type of the reference system to use. By default the value of the type is zero, this means that the reference system used is the typical reference system used for Marble.
- m_clock: The marble clock to get the current time and to calculate the delta time.
- m_initialTime: The initial time when the coordinate was created.


Diffs
-----

  src/lib/geodata/data/GeoDataCoordinates_p.h 14c5164 

Diff: http://git.reviewboard.kde.org/r/105045/diff/


Testing
-------

GeoDataCoordinates coordinates = GeoDataCoordinates( 0, 0, 20000.0 * 1000, GeoDataCoordinates::Degree );
coordinates.setType( 1 ); // Inertial reference system
coordinates.setClock( model()->clock() ) const; // The marble clock to get the current time and to calculate the delta time.
coordinates.setInitialTime( model()->clock()->dateTime() ); // The initial time when the coordinate was created.
m_track->addPoint(model()->clock()->dateTime(), coordinates);


Thanks,

marbledeveloper marbledeveloper

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120525/e45d6cb2/attachment-0001.html>


More information about the Marble-devel mailing list