color_wave.c File Reference

#include <grass/gis.h>

Include dependency graph for color_wave.c:

Go to the source code of this file.

Functions

int G_make_wave_colors (struct Colors *colors, CELL min, CELL max)
 make color wave
int G_make_wave_fp_colors (struct Colors *colors, DCELL min, DCELL max)
int G_make_color_wave (struct Colors *colors, CELL min, CELL max)
int G_add_wave_colors (struct Colors *colors, CELL min, CELL max)


Function Documentation

int G_add_wave_colors ( struct Colors *  colors,
CELL  min,
CELL  max 
)

Definition at line 55 of file color_wave.c.

int G_make_color_wave ( struct Colors *  colors,
CELL  min,
CELL  max 
)

Definition at line 45 of file color_wave.c.

References G_make_wave_colors().

int G_make_wave_colors ( struct Colors *  colors,
CELL  min,
CELL  max 
)

make color wave

Generates a color table with 3 sections: red only, green only, and blue only, each increasing from none to full intensity and back down to none. This table is good for continuous data like elevation.

Parameters:
colors 
min 
max 
Returns:
int

Definition at line 31 of file color_wave.c.

References G_init_colors().

Referenced by G_make_color_wave().

int G_make_wave_fp_colors ( struct Colors *  colors,
DCELL  min,
DCELL  max 
)

Definition at line 38 of file color_wave.c.

References G_init_colors().

Referenced by G_make_colors().


Generated on Sun Apr 6 17:32:17 2008 for GRASS by  doxygen 1.5.5