|
GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
OGSF library - loading volumes (lower level functions) More...
#include <grass/gis.h>#include <grass/G3d.h>#include <grass/gstypes.h>#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
| int | Gvl_load_colors_data (void **color_data, const char *name) |
| Load color table. More... | |
| int | Gvl_unload_colors_data (void *color_data) |
| Unload color table. More... | |
| int | Gvl_get_color_for_value (void *color_data, float *value) |
| Get color for value. More... | |
OGSF library - loading volumes (lower level functions)
GRASS OpenGL gsurf OGSF Library
(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 Gvl3.c.
| int Gvl_get_color_for_value | ( | void * | color_data, |
| float * | value | ||
| ) |
Get color for value.
| color_data | color data value |
| value | data value |
Definition at line 82 of file Gvl3.c.
References b, g, G_get_f_raster_color(), and r.
Referenced by iso_calc_cube(), and slice_calc().
| int Gvl_load_colors_data | ( | void ** | color_data, |
| const char * | name | ||
| ) |
Load color table.
| [out] | color_data | color data buffer |
| name | 3D raster map name |
Definition at line 33 of file Gvl3.c.
References G_find_grid3(), G_free(), G_warning(), and NULL.
Referenced by gvl_isosurf_set_att_map(), and gvl_slices_calc().
| int Gvl_unload_colors_data | ( | void * | color_data | ) |
Unload color table.
| color_data | color data buffer |
Definition at line 64 of file Gvl3.c.
References G_free(), and G_free_colors().
Referenced by gvl_isosurf_set_att_src(), and gvl_slices_calc().