19 #ifndef G2O_OPENGL_PRIMITIVES_H 20 #define G2O_OPENGL_PRIMITIVES_H 31 #include "g2o/config.h" 34 # ifdef G2O_SHARED_LIBS 35 # ifdef opengl_helper_EXPORTS 36 # define G2O_OPENGL_API __declspec(dllexport) 38 # define G2O_OPENGL_API __declspec(dllimport) 41 # define G2O_OPENGL_API 44 # define G2O_OPENGL_API 136 #define POSE_VERTEX_COLOR 0.5f,0.5f,0.8f 137 #define POSE_PARAMETER_COLOR 0.5f,0.5f,0.8f 138 #define POSE_EDGE_COLOR 0.4f,0.4f,0.7f 139 #define POSE_EDGE_GHOST_COLOR 0.4f,0.4f,0.7f 141 #define LANDMARK_VERTEX_COLOR 0.8f,0.5f,0.3f 142 #define LANDMARK_EDGE_COLOR 0.7f,0.4f,0.2f 143 #define LANDMARK_EDGE_GHOST_COLOR 0.7f,0.4f,0.2f
void drawDisk(GLfloat radius)
void drawArrow2D(float len, float head_width, float head_len)
void drawEllipsoid(GLfloat r1, GLfloat r2, GLfloat r3)
void drawPlane(GLfloat l, GLfloat w)
void drawBox(GLfloat l, GLfloat w, GLfloat h)
void drawPoint(float pointSize)
void drawCone(GLfloat radius, GLfloat height)
void drawSphere(GLfloat radius)
void drawSlice(GLfloat radius, GLfloat height, GLfloat fov, int slices_per_circle)
void drawRangeRing(GLfloat range, GLfloat fov, GLfloat range_width)
void drawCylinder(GLfloat radius, GLfloat height)
void drawPyramid(GLfloat length, GLfloat height)