summaryrefslogtreecommitdiffstats
path: root/Smoke/flowvis.h
blob: 51751c6bcebe80a604739f4b4a2fcbeb6c7368dd (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
#ifndef _FLOWVIS_H
#define _FLOWVIS_H

#define FLOWVIS_SORT_FRAME  0
#define FLOWVIS_SORT_3DPLOT 1

void flowvis_set_render(int render_flowvi);
int flowvis_get_render(void);

void flowvis_set_num_colors(int num_colors);
int flowvis_get_num_colors(void);

void flowvis_set_colormap(int colormap);
int flowvis_get_colormap(void);

void flowvis_set_alpha(float alpha);
float flowvis_get_alpha(void);

void flowvis_set_frame(fftw_real *frame);
fftw_real *flowvis_get_frame(void);

void flowvis_set_history(fftw_real **history);
fftw_real *flowvis_get_history(int hisdex);

void flowvis_set_sort(int sort);
int flowvis_get_sort(void);

void flowvis_set_hisdex(int arg);
int  flowvis_get_hisdex(void);



struct color4f flowvis_get_color(float value);

#endif