summaryrefslogtreecommitdiffstats
path: root/Smoke/streamlines.h
blob: 0e98988d36e97ce1a22e776822d80ff86ef7df9c (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
42
43
#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_slices(int slices);
int streamlines_get_slices(void);

void streamlines_set_radius(float radius);
float streamlines_get_radius(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);


void streamlines_reset_seedpoints(void);

struct color4f streamlines_get_color(float value);

#endif