GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
OGSF library - manipulating surfaces (lower level functions) More...
Go to the source code of this file.
Functions | |
void | gsdiff_set_SDscale (float scale) |
Set scale. More... | |
float | gsdiff_get_SDscale (void) |
Get scale. More... | |
void | gsdiff_set_SDref (geosurf *gsref) |
ADD. More... | |
geosurf * | gsdiff_get_SDref (void) |
ADD. More... | |
float | gsdiff_do_SD (float val, int offset) |
ADD. More... | |
OGSF library - manipulating surfaces (lower level functions)
GRASS OpenGL gsurf OGSF Library
Routines to set up automatic on-the-fly recalculation of surface elevations, doing a "scaled difference" using another surface for reference
Note that we're using a true difference here, between data set values, no translations, etc.
(C) 1999-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file gsdiff.c.
float gsdiff_do_SD | ( | float | val, |
int | offset | ||
) |
ADD.
val | |
offset |
Definition at line 94 of file gsdiff.c.
References GET_MAPATT.
Referenced by gs_get_att_typbuff(), gsd_surf_const(), and gsd_wire_surf_const().
geosurf* gsdiff_get_SDref | ( | void | ) |
ADD.
Definition at line 77 of file gsdiff.c.
References NULL.
Referenced by gs_get_att_typbuff(), GS_get_SDsurf(), gsd_surf_const(), and gsd_wire_surf_const().
float gsdiff_get_SDscale | ( | void | ) |
Get scale.
Definition at line 54 of file gsdiff.c.
Referenced by GS_get_SDscale().
void gsdiff_set_SDref | ( | geosurf * | gsref | ) |
ADD.
gsref |
Definition at line 64 of file gsdiff.c.
References gs_get_att_typbuff().
Referenced by GS_set_SDsurf(), and GS_unset_SDsurf().
void gsdiff_set_SDscale | ( | float | scale | ) |
Set scale.
scale | value |
Definition at line 42 of file gsdiff.c.
Referenced by GS_set_SDscale().