Class PointcloudDrawer

Inheritance Relationships

Base Type

Class Documentation

class PointcloudDrawer : public octomap::ScanGraphDrawer

Drawer which visualizes Pointclouds

Public Functions

PointcloudDrawer()
PointcloudDrawer(const ScanGraph &graph)
virtual ~PointcloudDrawer()
virtual void draw() const

Actual draw function which will be called to visualize the object

virtual void clear()

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

virtual void 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.

Parameters:

graphScanGraph to be visualized

Protected Attributes

GLfloat *m_pointsArray
unsigned m_numberPoints