helpers.hpp
Go to the documentation of this file.
00001 
00004 /*****************************************************************************
00005  ** Ifdefs
00006  *****************************************************************************/
00007 
00008 #ifndef qglv_GL_HELPERS_HPP_
00009 #define qglv_GL_HELPERS_HPP_
00010 
00011 /*****************************************************************************
00012  ** Includes
00013  *****************************************************************************/
00014 
00015 #include <Eigen/Core>
00016 #include <sophus/se3.hpp>
00017 
00018 #include "../gl/headers.hpp"
00019 
00020 /*****************************************************************************
00021  ** Namespaces
00022  *****************************************************************************/
00023 
00024 namespace qglv {
00025 
00026 /*****************************************************************************
00027  ** Interfaces
00028  *****************************************************************************/
00029 
00030 template<typename T>
00031 inline void translate(const Eigen::Matrix<T, 3, 1> & v)
00032 {
00033   glTranslatef(v[0], v[1], v[2]);
00034 }
00035 
00040 void moveTo(const Sophus::SE3f& T);
00041 
00053 void seeWhatISee(const Sophus::SE3f& pose, const unsigned int& image_width, const unsigned int& image_height,
00054                  const float &focal_length);
00055 
00056 } // namespace qglv
00057 
00058 #endif /* qglv_GL_HELPERS_HPP_ */


qglv_opengl
Author(s): Daniel Stonier
autogenerated on Sat Jun 18 2016 08:19:28