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

#include <TrajectoryDrawer.h>

Inheritance diagram for octomap::TrajectoryDrawer:
Inheritance graph
[legend]

Public Member Functions

virtual void clear ()
 
virtual void draw () const
 
virtual void setScanGraph (const octomap::ScanGraph &graph)
 
 TrajectoryDrawer ()
 
 TrajectoryDrawer (const ScanGraph &graph)
 
virtual ~TrajectoryDrawer ()
 
- 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

GLfloat * m_trajectoryColorArray
 
unsigned int m_trajectorySize
 number of nodes in the ScanGraph More...
 
GLfloat * m_trajectoryVertexArray
 
- 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 {
  CM_FLAT, CM_PRINTOUT, CM_COLOR_HEIGHT, CM_GRAY_HEIGHT,
  CM_SEMANTIC
}
 
- Protected Member Functions inherited from octomap::SceneObject
void heightMapColor (double h, GLfloat *glArrayPos) const
 
void heightMapGray (double h, GLfloat *glArrayPos) const
 

Detailed Description

Definition at line 33 of file TrajectoryDrawer.h.

Constructor & Destructor Documentation

octomap::TrajectoryDrawer::TrajectoryDrawer ( )

Definition at line 29 of file TrajectoryDrawer.cpp.

octomap::TrajectoryDrawer::TrajectoryDrawer ( const ScanGraph graph)

Definition at line 35 of file TrajectoryDrawer.cpp.

octomap::TrajectoryDrawer::~TrajectoryDrawer ( )
virtual

Definition at line 41 of file TrajectoryDrawer.cpp.

Member Function Documentation

void octomap::TrajectoryDrawer::clear ( )
virtual

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

Reimplemented from octomap::SceneObject.

Definition at line 74 of file TrajectoryDrawer.cpp.

void octomap::TrajectoryDrawer::draw ( ) const
virtual

Actual draw function which will be called to visualize the object

Implements octomap::SceneObject.

Definition at line 46 of file TrajectoryDrawer.cpp.

void octomap::TrajectoryDrawer::setScanGraph ( const octomap::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.

Parameters
graphScanGraph to be visualized

Implements octomap::ScanGraphDrawer.

Definition at line 83 of file TrajectoryDrawer.cpp.

Member Data Documentation

GLfloat* octomap::TrajectoryDrawer::m_trajectoryColorArray
protected

Definition at line 44 of file TrajectoryDrawer.h.

unsigned int octomap::TrajectoryDrawer::m_trajectorySize
protected

number of nodes in the ScanGraph

Definition at line 45 of file TrajectoryDrawer.h.

GLfloat* octomap::TrajectoryDrawer::m_trajectoryVertexArray
protected

Definition at line 43 of file TrajectoryDrawer.h.


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


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