summaryrefslogtreecommitdiffstats
path: root/Smoke/fluids.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-18 18:24:04 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-18 18:24:04 (GMT)
commitc287b3f591fe3e10dceedfd90a5ce71b2c703988 (patch)
tree98a1fe82d85e97199b099a720e9784064f8430b9 /Smoke/fluids.h
parent9363bc6887a7ffb9ea6c0f6a63a93c215e227502 (diff)
download2iv35-c287b3f591fe3e10dceedfd90a5ce71b2c703988.zip
2iv35-c287b3f591fe3e10dceedfd90a5ce71b2c703988.tar.gz
2iv35-c287b3f591fe3e10dceedfd90a5ce71b2c703988.tar.bz2
More cleaning up, seperating modules etc
Diffstat (limited to 'Smoke/fluids.h')
-rw-r--r--Smoke/fluids.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/Smoke/fluids.h b/Smoke/fluids.h
index ffec3a2..68e14e5 100644
--- a/Smoke/fluids.h
+++ b/Smoke/fluids.h
@@ -1,10 +1,6 @@
#ifndef _FLUIDS_H
#define _FLUIDS_H
-#include <rfftw.h>
-#include <GL/gl.h>
-#include <GL/glu.h>
-
//--- SIMULATION PARAMETERS ------------------------------------------------------------------------
extern const int DIM; //size of simulation grid
@@ -47,7 +43,6 @@ extern int frame_index;
extern int winWidth, winHeight; //size of the graphics window, in pixels
extern int color_dir; //use direction color-coding or not
extern float vec_scale; //scaling of hedgehogs
-extern int draw_smoke; //draw the smoke or not
extern int draw_vecs; //draw the vector field or not
extern int scalar_col; //method for scalar coloring
extern int frozen; //toggles on/off the animation
@@ -105,8 +100,6 @@ void drag(int mx, int my);
//////////////////
-void zoom_in(int zoom);
-void zoom_out(int zoom);
int get_glyph_usage(void);
void selectColor(int arg);
void select_dataset(int arg);
@@ -114,7 +107,6 @@ void toggle_autoscale(void);
void toggle_clamping(void);
void show_options(void);
void toggle_glyph_usage(void);
-void toggle_smoke_usage(void);
void toggle_mouse_rotate(void);
void toggle_seed_insert(void);
void set_glyph_scalar(int arg);
@@ -131,4 +123,15 @@ struct point {
float z;
};
+extern float x_rot;
+extern float y_rot;
+extern float z_rot;
+extern int isolines_nr;
+extern float threshold1;
+extern float threshold2;
+
+/* Setters and getters */
+void fluids_set_render_smoke(int render_smoke);
+int fluids_get_render_smoke(void);
+
#endif