Go to the documentation of this file.00001
00005
00006
00007
00008
00009 #include <qglv/opengl.hpp>
00010 #include <QGLViewer/qglviewer.h>
00011 #include <sophus/se3.hpp>
00012
00013 #include "../../include/qglv/converters/sophus_to_qgl.hpp"
00014 #include "../../include/qglv/primitives/qgl_pose.hpp"
00015
00016
00017
00018
00019
00020 namespace qglv {
00021
00022
00023
00024
00025
00030 void poseQGLStyle(const Sophus::SE3f &pose, float size) {
00031 glPushMatrix();
00032 glMultMatrixd(sophusPose2QGLFrame(pose).matrix());
00033 QGLViewer::drawAxis(size);
00034 glPopMatrix();
00035 }
00036
00037 }
00038