#include <VisualObject.h>
Public Member Functions | |
World * | getWorldObject () |
const World * | getWorldObject () const |
virtual void | gui_update (mrpt::opengl::COpenGLScene &scene)=0 |
VisualObject (World *parent) | |
virtual | ~VisualObject () |
Protected Attributes | |
World * | m_world |
Virtual base class for any entity that can be shown in the 3D viewer (or sent out to RViz)
Definition at line 20 of file VisualObject.h.
mvsim::VisualObject::VisualObject | ( | World * | parent | ) | [inline] |
Definition at line 23 of file VisualObject.h.
virtual mvsim::VisualObject::~VisualObject | ( | ) | [inline, virtual] |
Definition at line 24 of file VisualObject.h.
World* mvsim::VisualObject::getWorldObject | ( | ) | [inline] |
Definition at line 29 of file VisualObject.h.
const World* mvsim::VisualObject::getWorldObject | ( | ) | const [inline] |
Definition at line 30 of file VisualObject.h.
virtual void mvsim::VisualObject::gui_update | ( | mrpt::opengl::COpenGLScene & | scene | ) | [pure virtual] |
Must create a new object in the scene and/or update it according to the current state
Implemented in mvsim::VehicleBase, mvsim::Block, mvsim::ElevationMap, mvsim::OccupancyGridMap, mvsim::LaserScanner, and mvsim::GroundGrid.
World* mvsim::VisualObject::m_world [protected] |
Definition at line 32 of file VisualObject.h.