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, WFlags 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
 
QTextIStream * 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 61 of file qparticleviewer.h.

Member Typedef Documentation

◆ OrientedPointVector

Definition at line 118 of file qparticleviewer.h.

Constructor & Destructor Documentation

◆ QParticleViewer()

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

Definition at line 30 of file qparticleviewer.cpp.

◆ ~QParticleViewer()

QParticleViewer::~QParticleViewer ( )
virtual

Definition at line 48 of file qparticleviewer.cpp.

Member Function Documentation

◆ drawFromFile()

void QParticleViewer::drawFromFile ( )

Definition at line 114 of file qparticleviewer.cpp.

◆ drawFromMemory()

void QParticleViewer::drawFromMemory ( )

Definition at line 228 of file qparticleviewer.cpp.

◆ drawMap()

void QParticleViewer::drawMap ( const ScanMatcherMap map)

Definition at line 193 of file qparticleviewer.cpp.

◆ drawParticleMove()

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

Definition at line 100 of file qparticleviewer.cpp.

◆ keyPressEvent()

void QParticleViewer::keyPressEvent ( QKeyEvent *  e)
protectedvirtual

Definition at line 81 of file qparticleviewer.cpp.

◆ loadFile

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

Definition at line 442 of file qparticleviewer.cpp.

◆ map2pic()

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

Definition at line 155 of file qparticleviewer.h.

◆ mapsEntropyChanged

void GMapping::QParticleViewer::mapsEntropyChanged ( double  )
signal

◆ mapsIGainChanged

void GMapping::QParticleViewer::mapsIGainChanged ( double  )
signal

◆ mouseMoveEvent()

void QParticleViewer::mouseMoveEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 65 of file qparticleviewer.cpp.

◆ mousePressEvent()

void QParticleViewer::mousePressEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 59 of file qparticleviewer.cpp.

◆ mouseReleaseEvent()

void QParticleViewer::mouseReleaseEvent ( QMouseEvent *  event)
protectedvirtual

Definition at line 75 of file qparticleviewer.cpp.

◆ neffChanged

void GMapping::QParticleViewer::neffChanged ( double  )
signal

◆ paintEvent()

void QParticleViewer::paintEvent ( QPaintEvent *  paintevent)
protectedvirtual

Definition at line 53 of file qparticleviewer.cpp.

◆ pic2map()

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

Definition at line 153 of file qparticleviewer.h.

◆ poseEntropyChanged

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

◆ refreshParameters()

void QParticleViewer::refreshParameters ( )

Definition at line 368 of file qparticleviewer.cpp.

◆ resizeEvent()

void QParticleViewer::resizeEvent ( QResizeEvent *  sizeev)
virtual

Definition at line 93 of file qparticleviewer.cpp.

◆ setGSP()

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

Definition at line 115 of file qparticleviewer.h.

◆ setMatchingParameters

void QParticleViewer::setMatchingParameters ( const MatchingParameters mp)
slot

Definition at line 430 of file qparticleviewer.cpp.

◆ setStartParameters

void QParticleViewer::setStartParameters ( const StartParameters mp)
slot

Definition at line 434 of file qparticleviewer.cpp.

◆ start [1/2]

void QParticleViewer::start ( )
slot

Definition at line 397 of file qparticleviewer.cpp.

◆ start() [2/2]

void QParticleViewer::start ( int  period)

Definition at line 364 of file qparticleviewer.cpp.

◆ stop

void QParticleViewer::stop ( )
slot

Definition at line 438 of file qparticleviewer.cpp.

◆ timerEvent()

void QParticleViewer::timerEvent ( QTimerEvent *  te)
virtual

Definition at line 352 of file qparticleviewer.cpp.

◆ trajectoryEntropyChanged

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

Member Data Documentation

◆ bestMap

ScanMatcherMap* GMapping::QParticleViewer::bestMap
protected

Definition at line 181 of file qparticleviewer.h.

◆ bestParticlePose

Point GMapping::QParticleViewer::bestParticlePose
protected

Definition at line 180 of file qparticleviewer.h.

◆ count

int GMapping::QParticleViewer::count
protected

Definition at line 191 of file qparticleviewer.h.

◆ dragging

bool GMapping::QParticleViewer::dragging
protected

Definition at line 172 of file qparticleviewer.h.

◆ draggingPos

QPoint GMapping::QParticleViewer::draggingPos
protected

Definition at line 171 of file qparticleviewer.h.

◆ gfs_thread

GridSlamProcessorThread* GMapping::QParticleViewer::gfs_thread
protected

Definition at line 164 of file qparticleviewer.h.

◆ history

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

Definition at line 165 of file qparticleviewer.h.

◆ inputStream

ifstream GMapping::QParticleViewer::inputStream
protected

Definition at line 148 of file qparticleviewer.h.

◆ m_newPose

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

Definition at line 188 of file qparticleviewer.h.

◆ m_oldPose

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

Definition at line 188 of file qparticleviewer.h.

◆ m_particleSize

unsigned int GMapping::QParticleViewer::m_particleSize
protected

Definition at line 189 of file qparticleviewer.h.

◆ m_pixmap

QPixmap* GMapping::QParticleViewer::m_pixmap
protected

Definition at line 161 of file qparticleviewer.h.

◆ m_refresh

bool GMapping::QParticleViewer::m_refresh
protected

Definition at line 190 of file qparticleviewer.h.

◆ mapscale

double GMapping::QParticleViewer::mapscale
protected

Definition at line 178 of file qparticleviewer.h.

◆ matchingParameters

MatchingParameters GMapping::QParticleViewer::matchingParameters

Definition at line 130 of file qparticleviewer.h.

◆ outputStream

ofstream GMapping::QParticleViewer::outputStream
protected

Definition at line 149 of file qparticleviewer.h.

◆ showBestPath

bool GMapping::QParticleViewer::showBestPath
protected

Definition at line 185 of file qparticleviewer.h.

◆ showPaths

bool GMapping::QParticleViewer::showPaths
protected

Definition at line 184 of file qparticleviewer.h.

◆ startParameters

StartParameters GMapping::QParticleViewer::startParameters

Definition at line 131 of file qparticleviewer.h.

◆ timer

int GMapping::QParticleViewer::timer
protected

Definition at line 158 of file qparticleviewer.h.

◆ tis

QTextIStream* GMapping::QParticleViewer::tis

Definition at line 128 of file qparticleviewer.h.

◆ viewCenter

Point GMapping::QParticleViewer::viewCenter
protected

Definition at line 179 of file qparticleviewer.h.

◆ writeToFile

int GMapping::QParticleViewer::writeToFile

Definition at line 133 of file qparticleviewer.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