C:/Projekte/C++/FlowVIS_107/src/Texture.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "common.h"
00004 #include "FlowChannel.h"
00005 #include <il/ilut.h>
00006 
00007 #include <QGradientStops>
00008 #include <QLinearGradient>
00009 #include <QPainter>
00010 #include <QImage>
00011 #include <QGLWidget>
00012 #include <QPointF>
00013 #include <QPolygonF>
00014 
00015 class Texture
00016 {
00017 public:
00018   GLuint Create(FlowChannel* channel, int dimX, int dimY);
00019   void CreateBackground(FlowChannel* channel, int dimX, int dimY, GLuint texID[], int idx);
00020   GLuint CreateGlyph();
00021   GLuint CreateColorBar(QGradientStops stops);
00022 
00023   void Delete(GLuint id);
00024 
00025 private:
00026   GLuint texId;
00027 
00028   static const int colorBarTextureWidth = 4096;
00029 
00030 };

Generated on Mon Jan 21 14:50:12 2008 for VisLU by  doxygen 1.5.4