Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

colour_coding.h

Go to the documentation of this file.
00001 #ifndef DEF_COLOUR_CODING 00002 #define DEF_COLOUR_CODING 00003 00004 /* ---------------------------------------------------------------------------- 00005 @COPYRIGHT : 00006 Copyright 1993,1994,1995 David MacDonald, 00007 McConnell Brain Imaging Centre, 00008 Montreal Neurological Institute, McGill University. 00009 Permission to use, copy, modify, and distribute this 00010 software and its documentation for any purpose and without 00011 fee is hereby granted, provided that the above copyright 00012 notice appear in all copies. The author and McGill University 00013 make no representations about the suitability of this 00014 software for any purpose. It is provided "as is" without 00015 express or implied warranty. 00016 ---------------------------------------------------------------------------- */ 00017 00018 00019 #include <bicpl/objects.h> 00020 00021 typedef enum { GRAY_SCALE, 00022 HOT_METAL, 00023 SPECTRAL, 00024 RED_COLOUR_MAP, 00025 GREEN_COLOUR_MAP, 00026 BLUE_COLOUR_MAP, 00027 CONTOUR_COLOUR_MAP, 00028 SINGLE_COLOUR_SCALE, 00029 USER_DEFINED_COLOUR_MAP } 00030 Colour_coding_types; 00031 00032 typedef struct { 00033 Real position; 00034 Real r, g, b, a; 00035 Colour_spaces interpolation_space; 00036 } colour_point; 00037 00038 typedef struct 00039 { 00040 Colour_coding_types type; 00041 00042 Colour under_colour; 00043 Colour over_colour; 00044 00045 Real min_value; 00046 Real max_value; 00047 00048 int n_colour_points; 00049 colour_point *colour_points; 00050 00051 int user_defined_n_colour_points; 00052 colour_point *user_defined_colour_points; 00053 00054 } colour_coding_struct; 00055 00056 #endif

Generated on Wed Jul 28 09:10:56 2004 for BICPL by doxygen 1.3.7