Go to the documentation of this file.00001 #ifndef TRANSFERFUNCTION_HPP
00002 #define TRANSFERFUNCTION_HPP
00003
00004 #include "ControlPoint.hpp"
00005
00006 #include "GL/glew.h"
00007
00008 #include <list>
00009
00010 class TransferFunction {
00011 private:
00012 static std::list<ControlPoint *> m_pointList;
00013 public:
00014 static void addPoint(float x, float y, Color *color);
00015 static void removePoint(float x, float y);
00016 static bool selectPoint(float x, float y);
00017 static std::list<ControlPoint *> getControlPoints(void);
00018 static void sortPoints(void);
00019 static void clearPoints(void);
00020 static void drawTexture(GLuint &tex);
00021 };
00022
00023 #endif