Rumba C++ SDK
ImathColorAlgo.h File Reference
#include "ImathColor.h"
#include "ImathMath.h"
#include "ImathLimits.h"

Go to the source code of this file.

Namespaces

 Imath
 

Functions

Vec3< double > Imath::hsv2rgb_d (const Vec3< double > &hsv)
 
Color4< double > Imath::hsv2rgb_d (const Color4< double > &hsv)
 
Vec3< double > Imath::rgb2hsv_d (const Vec3< double > &c)
 
Color4< double > Imath::rgb2hsv_d (const Color4< double > &c)
 
template<class T >
Vec3< T > Imath::hsv2rgb (const Vec3< T > &hsv)
 
template<class T >
Color4< T > Imath::hsv2rgb (const Color4< T > &hsv)
 
template<class T >
Vec3< T > Imath::rgb2hsv (const Vec3< T > &rgb)
 
template<class T >
Color4< T > Imath::rgb2hsv (const Color4< T > &rgb)
 
template<class T >
PackedColor Imath::rgb2packed (const Vec3< T > &c)
 
template<class T >
PackedColor Imath::rgb2packed (const Color4< T > &c)
 
template<class T >
void Imath::packed2rgb (PackedColor packed, Vec3< T > &out)
 
template<class T >
void Imath::packed2rgb (PackedColor packed, Color4< T > &out)