diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-17 19:48:37 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2007-12-17 19:48:37 (GMT) |
commit | 9363bc6887a7ffb9ea6c0f6a63a93c215e227502 (patch) | |
tree | dc5f962bdcc413a5bd4bff4d85c7842522a73fb3 /Smoke/colormap.h | |
parent | 1d771540b16ba07cb02be5490892465a2a5ab89a (diff) | |
download | 2iv35-9363bc6887a7ffb9ea6c0f6a63a93c215e227502.zip 2iv35-9363bc6887a7ffb9ea6c0f6a63a93c215e227502.tar.gz 2iv35-9363bc6887a7ffb9ea6c0f6a63a93c215e227502.tar.bz2 |
Added/splitted colormaps to a seperate file.
Diffstat (limited to 'Smoke/colormap.h')
-rw-r--r-- | Smoke/colormap.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Smoke/colormap.h b/Smoke/colormap.h index cc24274..c0001ad 100644 --- a/Smoke/colormap.h +++ b/Smoke/colormap.h @@ -1,4 +1,32 @@ #ifndef _COLORMAP_H
#define _COLORMAP_H
+#define COLOR_MAXCOLORS 256
+
+void colormap_set_num_colors(int num_colors);
+
+void colormap_set_map(int color_map);
+
+void colormap_set_scaling(int scaling);
+int colormap_get_scaling(void);
+
+void colormap_set_clamping(int clamping);
+int colormap_get_clamping(void);
+
+
+void colormap_set_scale_min(float min_scale);
+float colormap_get_scale_min(void);
+
+void colormap_set_scale_max(float max_scale);
+float colormap_get_scale_max(void);
+
+void colormap_set_clamp_min(float min_clamp);
+float colormap_get_clamp_min(void);
+
+void colormap_set_clamp_max(float max_clamp);
+float colormap_get_clamp_max(void);
+
+
+struct color4f colormap_get_color(float value);
+
#endif
|