Public Member Functions | Protected Attributes | List of all members
octomap::PointcloudDrawer Class Reference

#include <PointcloudDrawer.h>

Inheritance diagram for octomap::PointcloudDrawer:
Inheritance graph

Public Member Functions

virtual void clear ()
virtual void draw () const
 PointcloudDrawer ()
 PointcloudDrawer (const ScanGraph &graph)
virtual void setScanGraph (const ScanGraph &graph)
virtual ~PointcloudDrawer ()
- Public Member Functions inherited from octomap::ScanGraphDrawer
 ScanGraphDrawer ()
virtual ~ScanGraphDrawer ()
- Public Member Functions inherited from octomap::SceneObject
void enableHeightColorMode (bool enabled=true)
void enablePrintoutMode (bool enabled=true)
void enableSemanticColoring (bool enabled=true)
 SceneObject ()
void setColorMode (ColorMode mode)
virtual ~SceneObject ()

Protected Attributes

unsigned m_numberPoints
GLfloat * m_pointsArray
- Protected Attributes inherited from octomap::SceneObject
ColorMode m_colorMode
double m_zMax
double m_zMin

Additional Inherited Members

- Public Types inherited from octomap::SceneObject
enum  ColorMode {
- Protected Member Functions inherited from octomap::SceneObject
void heightMapColor (double h, GLfloat *glArrayPos) const
void heightMapGray (double h, GLfloat *glArrayPos) const

Detailed Description

Drawer which visualizes Pointclouds

Definition at line 35 of file PointcloudDrawer.h.

Constructor & Destructor Documentation

octomap::PointcloudDrawer::PointcloudDrawer ( )

Definition at line 29 of file PointcloudDrawer.cpp.

octomap::PointcloudDrawer::PointcloudDrawer ( const ScanGraph graph)

Definition at line 34 of file PointcloudDrawer.cpp.

octomap::PointcloudDrawer::~PointcloudDrawer ( )

Definition at line 41 of file PointcloudDrawer.cpp.

Member Function Documentation

void octomap::PointcloudDrawer::clear ( )

Clears the object's representation (will be called when it gets invalid)

Reimplemented from octomap::SceneObject.

Definition at line 72 of file PointcloudDrawer.cpp.

void octomap::PointcloudDrawer::draw ( ) const

Actual draw function which will be called to visualize the object

Implements octomap::SceneObject.

Definition at line 80 of file PointcloudDrawer.cpp.

void octomap::PointcloudDrawer::setScanGraph ( const ScanGraph graph)

Notifies drawer of a new or changed ScanGraph, so that the internal representation can be rebuilt. Needs to be overloaded by each specific drawer.

graphScanGraph to be visualized

Implements octomap::ScanGraphDrawer.

Definition at line 46 of file PointcloudDrawer.cpp.

Member Data Documentation

unsigned octomap::PointcloudDrawer::m_numberPoints

Definition at line 47 of file PointcloudDrawer.h.

GLfloat* octomap::PointcloudDrawer::m_pointsArray

Definition at line 46 of file PointcloudDrawer.h.

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

Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Wed Jun 5 2019 19:26:39