Cinder  0.9.1
Classes | Namespaces | Typedefs | Enumerations | Functions
Color.h File Reference
#include "cinder/Cinder.h"
#include "cinder/ChanTraits.h"
#include "cinder/Vector.h"
#include "cinder/CinderMath.h"

Classes

class  cinder::ColorT< T >
 
class  cinder::ColorAT< T >
 
struct  cinder::COLORDIM< DIM, T >
 
struct  cinder::COLORDIM< 3, float >
 
struct  cinder::COLORDIM< 3, uint8_t >
 
struct  cinder::COLORDIM< 4, float >
 
struct  cinder::COLORDIM< 4, uint8_t >
 

Namespaces

 cinder
 

Typedefs

typedef ColorT< float > cinder::Colorf
 
typedef Colorf cinder::Color
 
typedef ColorT< uint8_t > cinder::Color8u
 
typedef ColorAT< float > cinder::ColorA
 
typedef ColorAT< float > cinder::ColorAf
 
typedef ColorAT< uint8_t > cinder::ColorA8u
 

Enumerations

enum  cinder::ColorModel { cinder::CM_RGB, cinder::CM_HSV }
 

Functions

template<typename T , typename Y >
ColorT< T > cinder::operator* (Y s, const ColorT< T > &c)
 
template<typename T , typename Y >
ColorAT< T > cinder::operator* (Y s, const ColorAT< T > &c)
 
ColorT< float > cinder::hsvToRgb (const vec3 &hsv)
 
vec3 cinder::rgbToHsv (const ColorT< float > &c)
 
ColorT< uint8_t > cinder::svgNameToRgb (const char *svgName, bool *found=NULL)
 
template<typename T >
float cinder::distance (const ColorT< T > &c0, const ColorT< T > &c1)
 
template<typename T >
float cinder::distance (const ColorAT< T > &c0, const ColorAT< T > &c1)
 
template<typename T >
CHANTRAIT< T >::Accum cinder::distance2 (const ColorT< T > &c0, const ColorT< T > &c1)
 
template<typename T >
CHANTRAIT< T >::Accum cinder::distance2 (const ColorAT< T > &c0, const ColorAT< T > &c1)
 
template<typename T >
float cinder::length (const ColorT< T > &c)
 
template<typename T >
float cinder::length (const ColorAT< T > &c)
 
template<typename T >
CHANTRAIT< T >::Accum cinder::length2 (const ColorT< T > &c)
 
template<typename T >
CHANTRAIT< T >::Accum cinder::length2 (const ColorAT< T > &c)
 
template<typename T >
CHANTRAIT< T >::Accum cinder::dot (const ColorT< T > &c0, const ColorT< T > &c1)
 
template<typename T >
CHANTRAIT< T >::Accum cinder::dot (const ColorAT< T > &c0, const ColorAT< T > &c1)
 
template<typename T >
ColorT< T > cinder::normalize (const ColorT< T > &c0)
 
template<typename T >
ColorAT< T > cinder::normalize (const ColorAT< T > &c0)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorT< float > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorAT< float > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorT< uint8_t > &rhs)
 
std::ostream & cinder::operator<< (std::ostream &lhs, const ColorAT< uint8_t > &rhs)