00001 #ifndef FLOW_H
00002 #define FLOW_H
00003
00004 #include <GL/glew.h>
00005
00006 #include <string>
00007
00008 #include "shader_primitive.h"
00009 #include "color.h"
00010
00011 using namespace std;
00012
00013 namespace glot {
00014
00026 class flow : public shader_primitive {
00027
00028 public:
00029
00033 flow(const string& f) : shader_primitive(), func(f) {
00034 gen_shader();
00035 };
00036
00044 void dl_gen(const screen& scr);
00045
00046 private:
00047
00053 void gen_shader();
00054
00063 string get_vert_shader();
00064
00071 string get_geom_shader();
00072
00073
00074 string func;
00075
00076 };
00077
00078 }
00079
00080 #endif