MapPainter.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  *  MapPainter.h
00003  *
00004  *  (C) 2007 AG Aktives Sehen <agas@uni-koblenz.de>
00005  *           Universitaet Koblenz-Landau
00006  *
00007  *  Additional information:
00008  *  $Id: $
00009  *******************************************************************************/
00010 
00011 #ifndef MapPainter_H
00012 #define MapPainter_H
00013 
00014 #include "PainterPlugin.h"
00015 
00016 #include "Workers/PointOfInterest/PointOfInterest.h"
00017 
00018 #include <QtOpenGL>
00019 
00025 class MapPainter: public PainterPlugin
00026 {
00027     Q_OBJECT
00028 
00029   public:
00030 
00032     MapPainter();
00033 
00035     ~MapPainter();
00036 
00038     virtual void paint ( float next2DLayer );
00039 
00040   public slots:
00041 
00043     virtual void processMessage ( Message* newMessage );
00044 
00045   private:
00046 
00048     void updateMap ( unsigned char* mapData );
00049 
00050     void loadGlTexture();
00051 
00053     unsigned char* m_TextureData;
00054 
00056     bool m_TextureLoaded;
00057 
00059     int m_MapPixelSize;
00060     int m_MapMmSize;
00061 
00063     GLuint m_TextureId;
00064     int m_TextureSize;
00065 
00066 };
00067 
00068 #endif


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43