Classes | Variables

palette.h File Reference

Look-up tables (palettes) for inclusion in ppm images written by output_ppm(). More...

Go to the source code of this file.

Classes

struct  RGB
 Structure typedef containing RGB color tables. More...

Variables

static float jh_colors [256 *3]
 Color table due to John Hawley, added manually -- TAG -- 2/17/2005.
static float step8 [256 *3]
 Rainbow in 8 steps.
static float heat [256 *3]
 White to black through shades of red.
static float idl1 [256 *3]
 Red-Blue-Black Automatically generated from NEMO's lut2c script - do not edit.
static float idl2 [256 *3]
 Black-Blue-Red-Black Automatically generated from NEMO's lut2c script - do not edit.
static float rainbow [256 *3]
 Red-Blue-Black Automatically generated from NEMO's lut2c script - do not edit.
static float step32 [256 *3]
 Rainbow in 32 steps Automatically generated from NEMO's lut2c script - do not edit.
static RGB rgb []
 RGB color tables.

Detailed Description

Look-up tables (palettes) for inclusion in ppm images written by output_ppm().

PURPOSE: Look-up tables (palettes) for inclusion in ppm images written by output_ppm(). Images of the 7 tables included here can be found in the documentation; they are named:

Definition in file palette.h.


Variable Documentation

static float heat[256 *3] [static]

White to black through shades of red.

Automatically generated from NEMO's lut2c script - do not edit

Definition at line 544 of file palette.h.

static float idl1[256 *3] [static]

Red-Blue-Black Automatically generated from NEMO's lut2c script - do not edit.

Definition at line 805 of file palette.h.

static float idl2[256 *3] [static]

Black-Blue-Red-Black Automatically generated from NEMO's lut2c script - do not edit.

Definition at line 1066 of file palette.h.

static float jh_colors[256 *3] [static]

Color table due to John Hawley, added manually -- TAG -- 2/17/2005.

Definition at line 22 of file palette.h.

static float rainbow[256 *3] [static]

Red-Blue-Black Automatically generated from NEMO's lut2c script - do not edit.

Definition at line 1327 of file palette.h.

static RGB rgb[] [static]
Initial value:
 {
    {"rainbow", rainbow},
    {"jh_colors", jh_colors},
    {"step8", step8},
    {"step32", step32},
    {"idl1", idl1},
    {"idl2", idl2},
    {"heat", heat},
    {0,0}
}

RGB color tables.

Definition at line 1855 of file palette.h.

Referenced by compute_rgb(), and getRGB().

static float step32[256 *3] [static]

Rainbow in 32 steps Automatically generated from NEMO's lut2c script - do not edit.

Definition at line 1588 of file palette.h.

static float step8[256 *3] [static]

Rainbow in 8 steps.

Automatically generated from NEMO's lut2c script - do not edit

Definition at line 283 of file palette.h.