Classes | Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
GMapping::QParticleViewer Class Reference

#include <qparticleviewer.h>

List of all members.

Classes

struct  MatchingParameters
struct  StartParameters

Public Types

typedef std::vector
< OrientedPoint
OrientedPointVector

Public Slots

void loadFile (const char *)
void setMatchingParameters (const MatchingParameters &mp)
void setStartParameters (const StartParameters &mp)
void start ()
void stop ()

Signals

void mapsEntropyChanged (double)
void mapsIGainChanged (double)
void neffChanged (double)
void poseEntropyChanged (double, double, double)
void trajectoryEntropyChanged (double, double, double)

Public Member Functions

void drawFromFile ()
void drawFromMemory ()
void drawMap (const ScanMatcherMap &map)
 QParticleViewer (QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0, GridSlamProcessorThread *thread=0)
void refreshParameters ()
virtual void resizeEvent (QResizeEvent *)
void setGSP (GridSlamProcessorThread *thread)
void start (int period)
virtual void timerEvent (QTimerEvent *te)
virtual ~QParticleViewer ()

Public Attributes

MatchingParameters matchingParameters
StartParameters startParameters
QTextStream * tis
int writeToFile

Protected Member Functions

void drawParticleMove (const OrientedPointVector &start, const OrientedPointVector &end)
virtual void keyPressEvent (QKeyEvent *e)
IntPoint map2pic (const Point &p)
virtual void mouseMoveEvent (QMouseEvent *)
virtual void mousePressEvent (QMouseEvent *)
virtual void mouseReleaseEvent (QMouseEvent *)
virtual void paintEvent (QPaintEvent *paintevent)
Point pic2map (const IntPoint &p)

Protected Attributes

ScanMatcherMapbestMap
Point bestParticlePose
int count
bool dragging
QPoint draggingPos
GridSlamProcessorThreadgfs_thread
GridSlamProcessorThread::EventDeque history
ifstream inputStream
QParticleViewer::OrientedPointVector m_newPose
QParticleViewer::OrientedPointVector m_oldPose
unsigned int m_particleSize
QPixmap * m_pixmap
bool m_refresh
double mapscale
ofstream outputStream
bool showBestPath
bool showPaths
int timer
Point viewCenter

Detailed Description

Definition at line 44 of file qparticleviewer.h.


Member Typedef Documentation

Definition at line 82 of file qparticleviewer.h.


Constructor & Destructor Documentation

QParticleViewer::QParticleViewer ( QWidget *  parent = 0,
const char *  name = 0,
Qt::WindowFlags  f = 0,
GridSlamProcessorThread thread = 0 
)

Definition at line 31 of file qparticleviewer.cpp.

Definition at line 49 of file qparticleviewer.cpp.


Member Function Documentation

Definition at line 115 of file qparticleviewer.cpp.

Definition at line 229 of file qparticleviewer.cpp.

Definition at line 194 of file qparticleviewer.cpp.

void QParticleViewer::drawParticleMove ( const OrientedPointVector start,
const OrientedPointVector end 
) [protected]

Definition at line 101 of file qparticleviewer.cpp.

void QParticleViewer::keyPressEvent ( QKeyEvent *  e) [protected, virtual]

Definition at line 82 of file qparticleviewer.cpp.

void QParticleViewer::loadFile ( const char *  fn) [slot]

Definition at line 443 of file qparticleviewer.cpp.

IntPoint GMapping::QParticleViewer::map2pic ( const Point p) [inline, protected]

Definition at line 119 of file qparticleviewer.h.

void GMapping::QParticleViewer::mapsIGainChanged ( double  ) [signal]
void QParticleViewer::mouseMoveEvent ( QMouseEvent *  event) [protected, virtual]

Definition at line 66 of file qparticleviewer.cpp.

void QParticleViewer::mousePressEvent ( QMouseEvent *  event) [protected, virtual]

Definition at line 60 of file qparticleviewer.cpp.

void QParticleViewer::mouseReleaseEvent ( QMouseEvent *  event) [protected, virtual]

Definition at line 76 of file qparticleviewer.cpp.

void GMapping::QParticleViewer::neffChanged ( double  ) [signal]
void QParticleViewer::paintEvent ( QPaintEvent *  paintevent) [protected, virtual]

Definition at line 54 of file qparticleviewer.cpp.

Point GMapping::QParticleViewer::pic2map ( const IntPoint p) [inline, protected]

Definition at line 117 of file qparticleviewer.h.

void GMapping::QParticleViewer::poseEntropyChanged ( double  ,
double  ,
double   
) [signal]

Definition at line 369 of file qparticleviewer.cpp.

void QParticleViewer::resizeEvent ( QResizeEvent *  sizeev) [virtual]

Definition at line 94 of file qparticleviewer.cpp.

Definition at line 79 of file qparticleviewer.h.

Definition at line 431 of file qparticleviewer.cpp.

Definition at line 435 of file qparticleviewer.cpp.

void QParticleViewer::start ( int  period)

Definition at line 365 of file qparticleviewer.cpp.

void QParticleViewer::start ( ) [slot]

Definition at line 398 of file qparticleviewer.cpp.

void QParticleViewer::stop ( ) [slot]

Definition at line 439 of file qparticleviewer.cpp.

void QParticleViewer::timerEvent ( QTimerEvent *  te) [virtual]

Definition at line 353 of file qparticleviewer.cpp.

void GMapping::QParticleViewer::trajectoryEntropyChanged ( double  ,
double  ,
double   
) [signal]

Member Data Documentation

Definition at line 145 of file qparticleviewer.h.

Definition at line 144 of file qparticleviewer.h.

Definition at line 155 of file qparticleviewer.h.

Definition at line 136 of file qparticleviewer.h.

Definition at line 135 of file qparticleviewer.h.

Definition at line 128 of file qparticleviewer.h.

Definition at line 129 of file qparticleviewer.h.

Definition at line 112 of file qparticleviewer.h.

Definition at line 152 of file qparticleviewer.h.

Definition at line 152 of file qparticleviewer.h.

Definition at line 153 of file qparticleviewer.h.

Definition at line 125 of file qparticleviewer.h.

Definition at line 154 of file qparticleviewer.h.

Definition at line 142 of file qparticleviewer.h.

Definition at line 94 of file qparticleviewer.h.

Definition at line 113 of file qparticleviewer.h.

Definition at line 149 of file qparticleviewer.h.

Definition at line 148 of file qparticleviewer.h.

Definition at line 95 of file qparticleviewer.h.

Definition at line 122 of file qparticleviewer.h.

Definition at line 92 of file qparticleviewer.h.

Definition at line 143 of file qparticleviewer.h.

Definition at line 97 of file qparticleviewer.h.


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


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Thu Jun 6 2019 19:25:13