g2o
Namespaces | Macros | Functions
opengl_primitives.h File Reference
#include "opengl_wrapper.h"
#include "g2o/config.h"
Include dependency graph for opengl_primitives.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 g2o
 
 g2o::opengl
 

Macros

#define G2O_OPENGL_API
 
#define POSE_VERTEX_COLOR   0.5f,0.5f,0.8f
 
#define POSE_PARAMETER_COLOR   0.5f,0.5f,0.8f
 
#define POSE_EDGE_COLOR   0.4f,0.4f,0.7f
 
#define POSE_EDGE_GHOST_COLOR   0.4f,0.4f,0.7f
 
#define LANDMARK_VERTEX_COLOR   0.8f,0.5f,0.3f
 
#define LANDMARK_EDGE_COLOR   0.7f,0.4f,0.2f
 
#define LANDMARK_EDGE_GHOST_COLOR   0.7f,0.4f,0.2f
 

Functions

void g2o::opengl::drawBox (GLfloat l, GLfloat w, GLfloat h)
 
void g2o::opengl::drawPlane (GLfloat l, GLfloat w)
 
void g2o::opengl::drawSphere (GLfloat radius)
 
void g2o::opengl::drawEllipsoid (GLfloat r1, GLfloat r2, GLfloat r3)
 
void g2o::opengl::drawCone (GLfloat radius, GLfloat height)
 
void g2o::opengl::drawDisk (GLfloat radius)
 
void g2o::opengl::drawCylinder (GLfloat radius, GLfloat height)
 
void g2o::opengl::drawPyramid (GLfloat length, GLfloat height)
 
void g2o::opengl::drawRangeRing (GLfloat range, GLfloat fov, GLfloat range_width)
 
void g2o::opengl::drawSlice (GLfloat radius, GLfloat height, GLfloat fov, int slices_per_circle)
 
void g2o::opengl::drawPoseBox ()
 
void g2o::opengl::drawArrow2D (float len, float head_width, float head_len)
 
void g2o::opengl::drawPoint (float pointSize)
 

Macro Definition Documentation

#define LANDMARK_EDGE_COLOR   0.7f,0.4f,0.2f
#define LANDMARK_EDGE_GHOST_COLOR   0.7f,0.4f,0.2f
#define LANDMARK_VERTEX_COLOR   0.8f,0.5f,0.3f
#define POSE_EDGE_COLOR   0.4f,0.4f,0.7f
#define POSE_EDGE_GHOST_COLOR   0.4f,0.4f,0.7f

Definition at line 139 of file opengl_primitives.h.

Referenced by g2o::EdgeSE2WriteGnuplotAction::operator()().

#define POSE_PARAMETER_COLOR   0.5f,0.5f,0.8f
#define POSE_VERTEX_COLOR   0.5f,0.5f,0.8f