summaryrefslogtreecommitdiffstats
path: root/Smoke/colormap.h
blob: 2b08fcc6d1ea27a91c874ec0f735340328e35538 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef _COLORMAP_H
#define _COLORMAP_H

void colormap_set_num_colors(int num_colors);
int colormap_get_num_colors(void);

void colormap_set_colormap(int colormap);
int colormap_get_colormap(void);

void colormap_set_alpha(float alpha);
float colormap_get_alpha(void);

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);

void colormap_set_autoscaling(int autoscaling);
int colormap_get_autoscaling(void);

void colormap_set_frame(fftw_real *frame);
fftw_real *colormap_get_frame(void);



struct color4f colormap_get_color(float value);

#endif