Paints all Points of Interest. More...
#include <MapPainter.h>

Public Slots | |
| virtual void | processMessage (Message *newMessage) |
| Process an incoming message. | |
Public Member Functions | |
| MapPainter () | |
| The constructor. | |
| virtual void | paint (float next2DLayer) |
| Paint everything using OpenGL. | |
| ~MapPainter () | |
| The destructor. | |
Private Member Functions | |
| void | loadGlTexture () |
| void | updateMap (unsigned char *mapData) |
| copies the map data into an opengl texture | |
Private Attributes | |
| int | m_MapMmSize |
| int | m_MapPixelSize |
| dimension of the map. | |
| unsigned char * | m_TextureData |
| map texture data | |
| GLuint | m_TextureId |
| a texture index for the map. | |
| bool | m_TextureLoaded |
| specifies if the current texture has been loaded to the graphic card memory | |
| int | m_TextureSize |
Paints all Points of Interest.
Definition at line 25 of file MapPainter.h.
The constructor.
The destructor.
| void MapPainter::loadGlTexture | ( | ) | [private] |
| virtual void MapPainter::paint | ( | float | next2DLayer | ) | [virtual] |
Paint everything using OpenGL.
Implements PainterPlugin.
| virtual void MapPainter::processMessage | ( | Message * | newMessage | ) | [virtual, slot] |
Process an incoming message.
| void MapPainter::updateMap | ( | unsigned char * | mapData | ) | [private] |
copies the map data into an opengl texture
int MapPainter::m_MapMmSize [private] |
Definition at line 60 of file MapPainter.h.
int MapPainter::m_MapPixelSize [private] |
dimension of the map.
Definition at line 59 of file MapPainter.h.
unsigned char* MapPainter::m_TextureData [private] |
map texture data
Definition at line 53 of file MapPainter.h.
GLuint MapPainter::m_TextureId [private] |
a texture index for the map.
Definition at line 63 of file MapPainter.h.
bool MapPainter::m_TextureLoaded [private] |
specifies if the current texture has been loaded to the graphic card memory
Definition at line 56 of file MapPainter.h.
int MapPainter::m_TextureSize [private] |
Definition at line 64 of file MapPainter.h.