typedef struct colorbar { /* SYSTEM ONLY */ CLASS *class; char *name; INSTANCE *next; unsigned int refcount; /* USER */ INSTANCE (*funct)(); /* pointer to display method to identify the colorbar to this method */ INSTANCE *object; char name_of_function[100]; /* first 7 characters are used for the description of buttons and rulers to modify a colorbar */ VEC3 xyz; /* position of the colorbar */ float height, width; /* height and width of the colorbar */ int display_on_off; /* switch to determine the visualisation of the colorbar */ float eps; /* distance of the isolines of the colorb. in grid mode (connected to the dist. distance of the isolines of the evalu- ation of the data) */ float offset; /* offset in the hsv color model */ float color; /* to scale the domain of the color */ float min, max; /* minimum and maximum values of the data if set (standard is 0 and 1) */ int number_of_values; /* number of values to label the colorb. */ float values[100]; /* values to label the colorbar */ float input_value; /* chosen value of the INPUT */ char float_display[10]; /* formatstring for value-display (standard is "%4.3f") */ PURELIST *value_list; /* list of values (in alphabet. order) */ SCROLLBAR *scrollbar; /* scrollbar for these list */ BUTTON *button; /* button to switch between on/off */ BUTTON *button_options; /* button to get the LAYER layer_options */ BUTTON *button_values; /* button to get the LAYER layer_values */ BUTTON *button_delete; /* button to delete values */ BUTTON *button_change; /* button to change values */ BUTTON *button_dism_val; /* button to delete the LAYER layer_values */ LAYER *layer_options; /* layer to change the active colorbar by many rulers */ LAYER *layer_values; /* layer to change the values */ INPUT *input_change; /* input in layer_values */ char name_of_button[16]; /* name to label button */ char name_of_button_options[16]; /* name to label button_options */ char name_of_button_values[18]; /* name to label button_values */ } COLORBAR;
Copyright © by the Sonderforschungsbereich 256 at the Institut für Angewandte Mathematik, Universität Bonn.