Marble Updates

Never blogged much these days. Just wanted to make a quick post about my few contributions to Marble recently:

  1. Added equality operators for GeoDataLatLonQuad, GeoDataLod and GeoDataRegion – Added operator== and operator!= functions to each of the classes mentioned above, and then extended tests/TestEquality by a new unit test method for each of the classes, which verifies the implementation for several instances of each class, and to check the working of the newly added methods.
  2. Added a KML tour for the moon which can be started from the legend – Created data/maps/moon/clementine/tour.kml using Marble’s Tour Widget. Added a link to the above tour inside the <legend> tag of data/maps/moon/clementine/clementine.dgml
  3. Added equality operators for overlay related classes – Added equality operators for the following classes: GeoDataViewVolume, GeoDataVec2, GeoDataScreenOverlay, GeoDataPhotoOverlay and GeoDataGroundOverlay. Also, added the definition for GeoDataGroundOverlay::setLatLonQuad(const GeoDataLatLonQuad& quad). Added a protected bool equals( const GeoDataOverlay &other ) const method to GeoDataOverlay which is called in operator== of GeoDataScreenOverlay, GeoDataPhotoOverlay and GeoDataGroundOverlay to avoid redundancy. Then extended the tests/TestEquality by a new unit test method for each of the classes (except of GeoDataOverlay) which verifies the implementation for several instances of each class.
  4. Finally, added equality operators for Schema and SimpleField – Added operator== and operator!= to the classes GeoDataSimpleField and GeoDataSchema. Extended TestEquality by a new unit test method for each class which verifies the implementation for several instances of each class.

Btw, I would just like to mention, that all of these tasks, wouldn’t have even existed in the first place, if it weren’t for Dennis, my mentor. I owe all my thanks to him for all his help and support 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s