color_space.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 #pragma once
00039 
00040 // Dependency:
00041 #include "../glm.hpp"
00042 
00043 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00044 #       pragma message("GLM: GLM_GTX_color_space extension included")
00045 #endif
00046 
00047 namespace glm
00048 {
00051 
00054         template <typename T, precision P>
00055         GLM_FUNC_DECL detail::tvec3<T, P> rgbColor(
00056                 detail::tvec3<T, P> const & hsvValue);
00057 
00060         template <typename T, precision P>
00061         GLM_FUNC_DECL detail::tvec3<T, P> hsvColor(
00062                 detail::tvec3<T, P> const & rgbValue);
00063                 
00066         template <typename T>
00067         GLM_FUNC_DECL detail::tmat4x4<T, defaultp> saturation(
00068                 T const s);
00069 
00072         template <typename T, precision P>
00073         GLM_FUNC_DECL detail::tvec3<T, P> saturation(
00074                 T const s,
00075                 detail::tvec3<T, P> const & color);
00076                 
00079         template <typename T, precision P>
00080         GLM_FUNC_DECL detail::tvec4<T, P> saturation(
00081                 T const s,
00082                 detail::tvec4<T, P> const & color);
00083                 
00086         template <typename T, precision P>
00087         GLM_FUNC_DECL T luminosity(
00088                 detail::tvec3<T, P> const & color);
00089 
00091 }//namespace glm
00092 
00093 #include "color_space.inl"


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:15