#include <PointcloudDrawer.h>
Public Member Functions | |
virtual void | clear () |
virtual void | draw () const |
PointcloudDrawer () | |
PointcloudDrawer (const ScanGraph &graph) | |
virtual void | setScanGraph (const ScanGraph &graph) |
virtual | ~PointcloudDrawer () |
Protected Attributes | |
unsigned | m_numberPoints |
GLfloat * | m_pointsArray |
Drawer which visualizes Pointclouds
Definition at line 36 of file PointcloudDrawer.h.
Definition at line 30 of file PointcloudDrawer.cpp.
octomap::PointcloudDrawer::PointcloudDrawer | ( | const ScanGraph & | graph | ) |
Definition at line 35 of file PointcloudDrawer.cpp.
octomap::PointcloudDrawer::~PointcloudDrawer | ( | ) | [virtual] |
Definition at line 42 of file PointcloudDrawer.cpp.
void octomap::PointcloudDrawer::clear | ( | ) | [virtual] |
Clears the object's representation (will be called when it gets invalid)
Reimplemented from octomap::SceneObject.
Definition at line 73 of file PointcloudDrawer.cpp.
void octomap::PointcloudDrawer::draw | ( | ) | const [virtual] |
Actual draw function which will be called to visualize the object
Implements octomap::SceneObject.
Definition at line 81 of file PointcloudDrawer.cpp.
void octomap::PointcloudDrawer::setScanGraph | ( | const ScanGraph & | graph | ) | [virtual] |
Notifies drawer of a new or changed ScanGraph, so that the internal representation can be rebuilt. Needs to be overloaded by each specific drawer.
graph | ScanGraph to be visualized |
Implements octomap::ScanGraphDrawer.
Definition at line 47 of file PointcloudDrawer.cpp.
unsigned octomap::PointcloudDrawer::m_numberPoints [protected] |
Definition at line 48 of file PointcloudDrawer.h.
GLfloat* octomap::PointcloudDrawer::m_pointsArray [protected] |
Definition at line 47 of file PointcloudDrawer.h.