geometry.hpp
Go to the documentation of this file.
00001 
00004 /*****************************************************************************
00005 ** Ifdefs
00006 *****************************************************************************/
00007 
00008 #ifndef qglv_opengl_GEOMETRY_HPP_
00009 #define qglv_opengl_GEOMETRY_HPP_
00010 
00011 /*****************************************************************************
00012 ** Includes
00013 *****************************************************************************/
00014 
00015 #include <Eigen/Core>
00016 #include <vector>
00017 
00018 /*****************************************************************************
00019 ** Namespaces
00020 *****************************************************************************/
00021 
00022 namespace qglv {
00023 
00024 /*****************************************************************************
00025 ** Interfaces
00026 *****************************************************************************/
00027 
00028 
00029 void line( const Eigen::Vector3f & p1, const Eigen::Vector3f & p2);
00030 void point( const Eigen::Vector3f & p, const float size = 1.0f );
00031 void points( const std::vector< Eigen::Vector3f, Eigen::aligned_allocator<Eigen::Vector3f> > & p, const float size = 1.0f );
00032 void vertex(const Eigen::Vector3f& p);
00033 
00041 void square(const float &width, const float& height);
00042 
00043 /*****************************************************************************
00044 ** Trailers
00045 *****************************************************************************/
00046 
00047 } // namespace qglv
00048 
00049 #endif /* qglv_opengl_GEOMETRY_HPP_ */


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