Classes | Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
GMapping::QParticleViewer Class Reference

#include <qparticleviewer.h>

Inheritance diagram for GMapping::QParticleViewer:
Inheritance graph
[legend]

Classes

struct  MatchingParameters
 
struct  StartParameters
 

Public Types

typedef std::vector< OrientedPointOrientedPointVector
 

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.

QParticleViewer::~QParticleViewer ( )
virtual

Definition at line 49 of file qparticleviewer.cpp.

Member Function Documentation

void QParticleViewer::drawFromFile ( )

Definition at line 115 of file qparticleviewer.cpp.

void QParticleViewer::drawFromMemory ( )

Definition at line 229 of file qparticleviewer.cpp.

void QParticleViewer::drawMap ( const ScanMatcherMap map)

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)
protectedvirtual

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)
inlineprotected

Definition at line 119 of file qparticleviewer.h.

void GMapping::QParticleViewer::mapsEntropyChanged ( double  )
signal
void GMapping::QParticleViewer::mapsIGainChanged ( double  )
signal
void QParticleViewer::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 66 of file qparticleviewer.cpp.

void QParticleViewer::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 60 of file qparticleviewer.cpp.

void QParticleViewer::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 76 of file qparticleviewer.cpp.

void GMapping::QParticleViewer::neffChanged ( double  )
signal
void QParticleViewer::paintEvent ( QPaintEvent *  paintevent)
protectedvirtual

Definition at line 54 of file qparticleviewer.cpp.

Point GMapping::QParticleViewer::pic2map ( const IntPoint p)
inlineprotected

Definition at line 117 of file qparticleviewer.h.

void GMapping::QParticleViewer::poseEntropyChanged ( double  ,
double  ,
double   
)
signal
void QParticleViewer::refreshParameters ( )

Definition at line 369 of file qparticleviewer.cpp.

void QParticleViewer::resizeEvent ( QResizeEvent *  sizeev)
virtual

Definition at line 94 of file qparticleviewer.cpp.

void GMapping::QParticleViewer::setGSP ( GridSlamProcessorThread thread)
inline

Definition at line 79 of file qparticleviewer.h.

void QParticleViewer::setMatchingParameters ( const MatchingParameters mp)
slot

Definition at line 431 of file qparticleviewer.cpp.

void QParticleViewer::setStartParameters ( const StartParameters mp)
slot

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

ScanMatcherMap* GMapping::QParticleViewer::bestMap
protected

Definition at line 145 of file qparticleviewer.h.

Point GMapping::QParticleViewer::bestParticlePose
protected

Definition at line 144 of file qparticleviewer.h.

int GMapping::QParticleViewer::count
protected

Definition at line 155 of file qparticleviewer.h.

bool GMapping::QParticleViewer::dragging
protected

Definition at line 136 of file qparticleviewer.h.

QPoint GMapping::QParticleViewer::draggingPos
protected

Definition at line 135 of file qparticleviewer.h.

GridSlamProcessorThread* GMapping::QParticleViewer::gfs_thread
protected

Definition at line 128 of file qparticleviewer.h.

GridSlamProcessorThread::EventDeque GMapping::QParticleViewer::history
protected

Definition at line 129 of file qparticleviewer.h.

ifstream GMapping::QParticleViewer::inputStream
protected

Definition at line 112 of file qparticleviewer.h.

QParticleViewer::OrientedPointVector GMapping::QParticleViewer::m_newPose
protected

Definition at line 152 of file qparticleviewer.h.

QParticleViewer::OrientedPointVector GMapping::QParticleViewer::m_oldPose
protected

Definition at line 152 of file qparticleviewer.h.

unsigned int GMapping::QParticleViewer::m_particleSize
protected

Definition at line 153 of file qparticleviewer.h.

QPixmap* GMapping::QParticleViewer::m_pixmap
protected

Definition at line 125 of file qparticleviewer.h.

bool GMapping::QParticleViewer::m_refresh
protected

Definition at line 154 of file qparticleviewer.h.

double GMapping::QParticleViewer::mapscale
protected

Definition at line 142 of file qparticleviewer.h.

MatchingParameters GMapping::QParticleViewer::matchingParameters

Definition at line 94 of file qparticleviewer.h.

ofstream GMapping::QParticleViewer::outputStream
protected

Definition at line 113 of file qparticleviewer.h.

bool GMapping::QParticleViewer::showBestPath
protected

Definition at line 149 of file qparticleviewer.h.

bool GMapping::QParticleViewer::showPaths
protected

Definition at line 148 of file qparticleviewer.h.

StartParameters GMapping::QParticleViewer::startParameters

Definition at line 95 of file qparticleviewer.h.

int GMapping::QParticleViewer::timer
protected

Definition at line 122 of file qparticleviewer.h.

QTextStream* GMapping::QParticleViewer::tis

Definition at line 92 of file qparticleviewer.h.

Point GMapping::QParticleViewer::viewCenter
protected

Definition at line 143 of file qparticleviewer.h.

int GMapping::QParticleViewer::writeToFile

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 Mon Jun 10 2019 14:04:22