Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QMapPainter Class Reference

#include <qmappainter.h>

Inheritance diagram for QMapPainter:
Inheritance graph
[legend]

Public Member Functions

template<typename Iterator >
void drawPoints (const Iterator &begin, const Iterator &end, unsigned char r, unsigned char g, unsigned char b)
 
 QMapPainter (QWidget *parent=0, const char *name=0, WFlags f=0)
 
template<typename Cell >
void setPixmap (unsigned int xsize, unsigned int ysize, Cell **values)
 
void start (int period)
 
virtual ~QMapPainter ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *paintevent)
 
virtual void resizeEvent (QResizeEvent *)
 
virtual void timerEvent (QTimerEvent *te)
 

Protected Attributes

QPixmap * m_pixmap
 
int timer
 

Detailed Description

Definition at line 11 of file qmappainter.h.

Constructor & Destructor Documentation

◆ QMapPainter()

QMapPainter::QMapPainter ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Definition at line 4 of file qmappainter.cpp.

◆ ~QMapPainter()

QMapPainter::~QMapPainter ( )
virtual

Definition at line 14 of file qmappainter.cpp.

Member Function Documentation

◆ drawPoints()

template<typename Iterator >
void QMapPainter::drawPoints ( const Iterator &  begin,
const Iterator &  end,
unsigned char  r,
unsigned char  g,
unsigned char  b 
)

Definition at line 50 of file qmappainter.h.

◆ paintEvent()

void QMapPainter::paintEvent ( QPaintEvent *  paintevent)
protectedvirtual

Reimplemented in QSLAMandNavWidget, and QNavigatorWidget.

Definition at line 29 of file qmappainter.cpp.

◆ resizeEvent()

void QMapPainter::resizeEvent ( QResizeEvent *  sizeev)
protectedvirtual

Definition at line 10 of file qmappainter.cpp.

◆ setPixmap()

template<typename Cell >
void QMapPainter::setPixmap ( unsigned int  xsize,
unsigned int  ysize,
Cell **  values 
)

Definition at line 30 of file qmappainter.h.

◆ start()

void QMapPainter::start ( int  period)

Definition at line 24 of file qmappainter.cpp.

◆ timerEvent()

void QMapPainter::timerEvent ( QTimerEvent *  te)
protectedvirtual

Definition at line 19 of file qmappainter.cpp.

Member Data Documentation

◆ m_pixmap

QPixmap* QMapPainter::m_pixmap
protected

Definition at line 26 of file qmappainter.h.

◆ timer

int QMapPainter::timer
protected

Definition at line 24 of file qmappainter.h.


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


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Thu Oct 19 2023 02:25:51