summaryrefslogtreecommitdiffstats
path: root/Smoke/streamlines.h
blob: f071e412a131150919f1586b630336ea61719abd (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
#ifndef _STREAMLINES_H
#define _STREAMLINES_H

#define STREAMLINES_SORT_LINES   0
#define STREAMLINES_SORT_TUBES   1
#define STREAMLINES_SORT_SPHERES 2

void streamlines_set_render(int render_streamlines);
int streamlines_get_render(void);

void streamlines_set_num_colors(int num_colors);
int streamlines_get_num_colors(void);

void streamlines_set_colormap(int colormap);
int streamlines_get_colormap(void);

void streamlines_set_alpha(float alpha);
float streamlines_get_alpha(void);

void streamlines_set_dataset(int dataset);
int streamlines_get_dataset(void);

void streamlines_set_frame(fftw_real *frame);
fftw_real *streamlines_get_frame(void);

void streamlines_set_history_scalars(struct fftw_real_xy **history);
struct fftw_real_xy *streamlines_get_history_scalars(int hisdex);

void streamlines_set_sort(int sort);
int streamlines_get_sort(void);

struct color4f streamlines_get_color(float value);

#endif