40 G_warning(
_(
"3D raster map <%s> not found"), name);
87 return ((r & 0xff) | ((g & 0xff) << 8) | ((b & 0xff) << 16));
int Gvl_unload_colors_data(void *color_data)
Unload color table.
int Rast3d_read_colors(const char *, const char *, struct Colors *)
Reads color file for map name in mapset into the Colors structure.
void G_free(void *)
Free allocated memory.
const char * G_find_raster3d(const char *, const char *)
Search for a 3D raster map in current search path or in a specified mapset.
int Gvl_get_color_for_value(void *color_data, float *value)
Get color for value.
int Gvl_load_colors_data(void **color_data, const char *name)
Load color table.
void Rast_free_colors(struct Colors *)
Free color structure memory.
int Rast_get_f_color(const FCELL *, int *, int *, int *, struct Colors *)
Gets color from raster map (FCELL)
void G_warning(const char *,...) __attribute__((format(printf