HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ImathColorAlgo.h File Reference
#include "ImathColor.h"
#include "ImathExport.h"
#include "ImathMath.h"
#include "ImathLimits.h"
#include "ImathNamespace.h"
+ Include dependency graph for ImathColorAlgo.h:

Go to the source code of this file.

Functions

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

Function Documentation

template<class T >
Vec3<T> hsv2rgb ( const Vec3< T > &  hsv)

Definition at line 73 of file ImathColorAlgo.h.

template<class T >
Color4<T> hsv2rgb ( const Color4< T > &  hsv)

Definition at line 96 of file ImathColorAlgo.h.

IMATH_INTERNAL_NAMESPACE_HEADER_ENTER IMATH_EXPORT Vec3<double> hsv2rgb_d ( const Vec3< double > &  hsv)
IMATH_EXPORT Color4<double> hsv2rgb_d ( const Color4< double > &  hsv)
template<class T >
void packed2rgb ( PackedColor  packed,
Vec3< T > &  out 
)

Definition at line 214 of file ImathColorAlgo.h.

template<class T >
void packed2rgb ( PackedColor  packed,
Color4< T > &  out 
)

Definition at line 234 of file ImathColorAlgo.h.

template<class T >
Vec3<T> rgb2hsv ( const Vec3< T > &  rgb)

Definition at line 121 of file ImathColorAlgo.h.

template<class T >
Color4<T> rgb2hsv ( const Color4< T > &  rgb)

Definition at line 144 of file ImathColorAlgo.h.

IMATH_EXPORT Vec3<double> rgb2hsv_d ( const Vec3< double > &  rgb)
IMATH_EXPORT Color4<double> rgb2hsv_d ( const Color4< double > &  rgb)
template<class T >
PackedColor rgb2packed ( const Vec3< T > &  c)

Definition at line 168 of file ImathColorAlgo.h.

template<class T >
PackedColor rgb2packed ( const Color4< T > &  c)

Definition at line 187 of file ImathColorAlgo.h.