![]() |
An open-source, flexible 3D physical simulation framework
|
The interface DrawInterface is used for updating draw_item structs via an update function. More...
#include <DrawInterface.h>
Public Member Functions | |
virtual void | update (std::vector< draw_item > *drawItems)=0 |
This is the update function that updates the position of the vertices of all draw_item structs contained in drawItems. More... | |
virtual | ~DrawInterface () |
The interface DrawInterface is used for updating draw_item structs via an update function.
Definition at line 39 of file DrawInterface.h.
|
inlinevirtual |
Definition at line 47 of file DrawInterface.h.
|
pure virtual |
This is the update function that updates the position of the vertices of all draw_item structs contained in drawItems.
Implemented in mars::sim::RotatingRaySensor, mars::sim::HapticFieldSensor, mars::sim::WorldPhysics, mars::sim::RaySensor, mars::sim::MultiLevelLaserRangeFinder, and mars::sim::RayGridSensor.