![]() |
![]() |
![]() |
Grits Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct GritsPluginElev;
struct GritsPluginElevClass;
GritsPluginElev * grits_plugin_elev_new (GritsViewer *viewer
);
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.
GritsPluginElev * grits_plugin_elev_new (GritsViewer *viewer
);
Create a new instance of the elevation plugin.
|
the GritsViewer to use for drawing |
Returns : |
the new GritsPluginElev |