TuttleOFX  1
rgb.hpp
Go to the documentation of this file.
00001 #ifndef _TERRY_COLOR_LAYOUT_RGB_HPP_
00002 #define _TERRY_COLOR_LAYOUT_RGB_HPP_
00003 
00004 #include "rgb.hpp"
00005 #include <boost/gil/rgb.hpp>
00006 #include <boost/gil/rgba.hpp>
00007 
00008 namespace terry {
00009 namespace color {
00010 namespace layout {
00011 
00012 ////////////////////////////////////////////////////////////////////////////////
00013 /**
00014  * 
00015  */
00016 template< class SrcLayout, class DslLayout, typename SrcP, typename DstP >
00017 void layout_convert( const SrcP& src, DstP& dst );
00018 
00019 ////////////////////////////////////////////////////////////////////////////////
00020 
00021 
00022 ////////////////////////////////////////////////////////////////////////////////
00023 // RGB //
00024         
00025 /// \addtogroup ColorNameModel
00026 /// \{
00027 namespace rgb
00028 {
00029 /// \brief Red
00030 using boost::gil::red_t;
00031 /// \brief Green
00032 using boost::gil::green_t;
00033 /// \brief Blue
00034 using boost::gil::blue_t;
00035 }
00036 /// \}
00037 /// \addtogroup ColorNameModel
00038 using boost::gil::rgb_t;
00039 
00040 /// \ingroup LayoutModel
00041 /// \{
00042 using boost::gil::rgb_layout_t;
00043 using boost::gil::bgr_layout_t;
00044 /// \}
00045 
00046 
00047 ////////////////////////////////////////////////////////////////////////////////
00048 // RGBA //
00049 /// \addtogroup ColorNameModel
00050 using boost::gil::rgba_t;
00051 
00052 /// \ingroup LayoutModel
00053 /// \{
00054 using boost::gil::rgba_layout_t;
00055 using boost::gil::bgra_layout_t;
00056 using boost::gil::argb_layout_t;
00057 using boost::gil::abgr_layout_t;
00058 /// \}
00059 
00060 
00061 
00062 }
00063 }
00064 }
00065 
00066 
00067 #endif