Public Slots | Public Member Functions | Private Member Functions | Private Attributes
MapPainter Class Reference

Paints all Points of Interest. More...

#include <MapPainter.h>

Inheritance diagram for MapPainter:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Paints all Points of Interest.

Author:
David Gossow (R12)

Definition at line 25 of file MapPainter.h.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

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


Member Data Documentation

int MapPainter::m_MapMmSize [private]

Definition at line 60 of file MapPainter.h.

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.

specifies if the current texture has been loaded to the graphic card memory

Definition at line 56 of file MapPainter.h.

Definition at line 64 of file MapPainter.h.


The documentation for this class was generated from the following file:


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