summaryrefslogtreecommitdiffstats
path: root/Smoke/glyphs.h
blob: c2eb616eee606b634005dbf4e13b6ef331ec1b3a (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
#ifndef _GLYPHS_H
#define _GLYPHS_H

#define GLYPH_LINES        0
#define GLYPH_TRIANGLES    1
#define GLYPH_CONES        2
#define GLYPH_ARROWS       3
#define GLYPH_QUAKE        4

void glyphs_set_render(int render_glyphs);
int glyphs_get_render(void);

void glyphs_set_num_colors(int num_colors);
int glyphs_get_num_colors(void);

void glyphs_set_colormap(int colormap);
int glyphs_get_colormap(void);

void glyphs_set_alpha(float alpha);
float glyphs_get_alpha(void);

void glyphs_set_dataset_color(int dataset);
int glyphs_get_dataset_color(void);

void glyphs_set_dataset_direction(int dataset);
int glyphs_get_dataset_direction(void);

void glyphs_set_sort(int sort);
int glyphs_get_sort(void);

void glyphs_set_frame_color(fftw_real *frame);
fftw_real *glyphs_get_frame_color(void);

void glyphs_set_frames_direction(struct fftw_real_xy_p frame);
struct fftw_real_xy_p glyphs_get_frames_direction(void);

struct color4f glyphs_get_color(float value);
#endif