Public Member Functions | Private Attributes
NewLaserDataPainter Class Reference

Paints the current LRF measurements. More...

#include <NewLaserDataPainter.h>

Inheritance diagram for NewLaserDataPainter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 NewLaserDataPainter ()
 The constructor.
virtual void paint (float next2DLayer)
 Paint everything using OpenGL.
void updateData (const sensor_msgs::LaserScan::ConstPtr &msg)
 ~NewLaserDataPainter ()
 The destructor.

Private Attributes

bool m_FirstScan
 flag for initialization on first received laser scan
unsigned int m_NumLaserPoints
 number of measurement points per laser scan
float m_RangeMax
 maximum scanner range
std::vector< float > m_Ranges
 measurement ranges
float m_ScaleFactor
 scale factor for improved visualization
std::vector< BaseLib::Math::Vec3f > m_UnitLaserDirections
 lookup-table for angles
std::vector< BaseLib::Math::Vec3f > m_WorldPoints
 Process an incoming message.

Detailed Description

Paints the current LRF measurements.

Author:
Unknown (R6-RX), David Gossow (RX-R12)

Definition at line 27 of file NewLaserDataPainter.h.


Constructor & Destructor Documentation

The constructor.

The destructor.


Member Function Documentation

virtual void NewLaserDataPainter::paint ( float  next2DLayer) [virtual]

Paint everything using OpenGL.

Implements PainterPlugin.

void NewLaserDataPainter::updateData ( const sensor_msgs::LaserScan::ConstPtr &  msg)

Member Data Documentation

flag for initialization on first received laser scan

Definition at line 60 of file NewLaserDataPainter.h.

unsigned int NewLaserDataPainter::m_NumLaserPoints [private]

number of measurement points per laser scan

Definition at line 58 of file NewLaserDataPainter.h.

maximum scanner range

Definition at line 56 of file NewLaserDataPainter.h.

std::vector<float> NewLaserDataPainter::m_Ranges [private]

measurement ranges

Definition at line 54 of file NewLaserDataPainter.h.

scale factor for improved visualization

Definition at line 64 of file NewLaserDataPainter.h.

std::vector<BaseLib::Math::Vec3f> NewLaserDataPainter::m_UnitLaserDirections [private]

lookup-table for angles

Definition at line 62 of file NewLaserDataPainter.h.

std::vector<BaseLib::Math::Vec3f> NewLaserDataPainter::m_WorldPoints [private]

Process an incoming message.

laser data as 3D points in world coordinates

Definition at line 52 of file NewLaserDataPainter.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