GritsPluginElev

GritsPluginElev — Elevation plugin

Synopsis

struct              GritsPluginElev;
struct              GritsPluginElevClass;
GritsPluginElev *   grits_plugin_elev_new               (GritsViewer *viewer);

Object Hierarchy

  GObject
   +----GritsPluginElev

Implemented Interfaces

GritsPluginElev implements GritsPlugin.

Description

GritsPluginElev provides access to ground elevation. It does this in two ways: First, it provides a height function used by the viewer when drawing the world. Second, it can load the elevation data into an image and draw a greyscale elevation overlay on the planets surface.

Details

struct GritsPluginElev

struct GritsPluginElev;


struct GritsPluginElevClass

struct GritsPluginElevClass {
	GObjectClass parent_class;
};


grits_plugin_elev_new ()

GritsPluginElev *   grits_plugin_elev_new               (GritsViewer *viewer);

Create a new instance of the elevation plugin.

viewer :

the GritsViewer to use for drawing

Returns :

the new GritsPluginElev