Privacy
An open-source, flexible 3D physical simulation framework
mars::interfaces::DrawInterface Class Referenceabstract

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 ()
 

Detailed Description

The interface DrawInterface is used for updating draw_item structs via an update function.

Definition at line 39 of file DrawInterface.h.

Constructor & Destructor Documentation

◆ ~DrawInterface()

virtual mars::interfaces::DrawInterface::~DrawInterface ( )
inlinevirtual

Definition at line 47 of file DrawInterface.h.

Member Function Documentation

◆ update()

virtual void mars::interfaces::DrawInterface::update ( std::vector< draw_item > *  drawItems)
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.


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