Privacy
An open-source, flexible 3D physical simulation framework
draw_structs.h File Reference
#include "DrawInterface.h"
#include "../MARSDefs.h"
#include <mars/utils/Color.h>
#include <mars/utils/Vector.h>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  mars::interfaces::draw_item
 draw_item is a struct that is used to draw elements directly to the gui More...
 
struct  mars::interfaces::drawStruct
 drawStruct connects a vector of draw_item objects with their update interface DrawInterface More...
 
struct  mars::interfaces::hudElementStruct
 

Namespaces

 mars
 Copyright 2012, DFKI GmbH Robotics Innovation Center.
 
 mars::interfaces
 

Macros

#define DRAW_STATE_CREATE   1
 This class contains all drawStructs. More...
 
#define DRAW_STATE_UPDATE   2
 
#define DRAW_STATE_ERASE   3
 
#define HUD_ELEMENT_LABEL   1
 
#define HUD_ELEMENT_TERMINAL   2
 
#define HUD_ELEMENT_TEXTURE   3
 
#define HUD_ELEMENT_LINES   4
 
#define HUD_ELEMENT_OSGNODE   5
 

Enumerations

enum  mars::interfaces::DrawType {
  mars::interfaces::DRAW_UNKNOWN = 0, mars::interfaces::DRAW_LINE, mars::interfaces::DRAW_POINT, mars::interfaces::DRAW_ARROW,
  mars::interfaces::DRAW_TEXT, mars::interfaces::DRAW_RECTANGLE, mars::interfaces::DRAW_HUD_RECT, mars::interfaces::DRAW_TRIANGLE_SET,
  mars::interfaces::DRAW_POINTS, mars::interfaces::DRAW_CIRCLE, mars::interfaces::DRAW_LINE_STRIP, mars::interfaces::DRAW_LINES,
  mars::interfaces::DRAW_LAST
}
 

Macro Definition Documentation

◆ DRAW_STATE_CREATE

#define DRAW_STATE_CREATE   1

This class contains all drawStructs.

Definition at line 43 of file draw_structs.h.

◆ DRAW_STATE_ERASE

#define DRAW_STATE_ERASE   3

Definition at line 45 of file draw_structs.h.

◆ DRAW_STATE_UPDATE

#define DRAW_STATE_UPDATE   2

Definition at line 44 of file draw_structs.h.

◆ HUD_ELEMENT_LABEL

#define HUD_ELEMENT_LABEL   1

Definition at line 47 of file draw_structs.h.

◆ HUD_ELEMENT_LINES

#define HUD_ELEMENT_LINES   4

Definition at line 50 of file draw_structs.h.

◆ HUD_ELEMENT_OSGNODE

#define HUD_ELEMENT_OSGNODE   5

Definition at line 51 of file draw_structs.h.

◆ HUD_ELEMENT_TERMINAL

#define HUD_ELEMENT_TERMINAL   2

Definition at line 48 of file draw_structs.h.

◆ HUD_ELEMENT_TEXTURE

#define HUD_ELEMENT_TEXTURE   3

Definition at line 49 of file draw_structs.h.