A base class for rendering things in the Robolocust UI. More...
#include "Robots/LoBot/thread/LoMutex.H"
#include "Robots/LoBot/misc/LoTypes.H"
#include <string>
#include <list>
#include <utility>
Go to the source code of this file.
Classes | |
class | lobot::Drawable |
A base class for Robolocust drawable objects. More... | |
struct | lobot::Drawable::Geometry |
A base class for rendering things in the Robolocust UI.
This file defines a base class meant to provide an interface for rendering the different things that get shown in the Robolocust main window.
By default, lobot::Drawable's rendering related methods are all empty. Every Robolocust object that needs to present some sort of visualization must define this file's lobot::Drawable class as a base and override the render_me() method (and any other methods that are necessary) in order to draw itself.
NOTE: Robolocust uses OpenGL for visualization. All objects that derive from lobot::Drawable and override its render_me() and other methods must, therefore, work in terms of the OpenGL API.
Definition in file LoDrawable.H.