PBRT
Imath::Color4< T > Class Template Reference

List of all members.

Public Types

typedef T BaseType

Public Member Functions

T & operator[] (int i)
const T & operator[] (int i) const
 Color4 (T a)
 Color4 (T a, T b, T c, T d)
 Color4 (const Color4 &v)
template<class S >
 Color4 (const Color4< S > &v)
const Color4operator= (const Color4 &v)
template<class S >
void setValue (S a, S b, S c, S d)
template<class S >
void setValue (const Color4< S > &v)
template<class S >
void getValue (S &a, S &b, S &c, S &d) const
template<class S >
void getValue (Color4< S > &v) const
T * getValue ()
const T * getValue () const
template<class S >
bool operator== (const Color4< S > &v) const
template<class S >
bool operator!= (const Color4< S > &v) const
const Color4operator+= (const Color4 &v)
Color4 operator+ (const Color4 &v) const
const Color4operator-= (const Color4 &v)
Color4 operator- (const Color4 &v) const
Color4 operator- () const
const Color4negate ()
const Color4operator*= (const Color4 &v)
const Color4operator*= (T a)
Color4 operator* (const Color4 &v) const
Color4 operator* (T a) const
const Color4operator/= (const Color4 &v)
const Color4operator/= (T a)
Color4 operator/ (const Color4 &v) const
Color4 operator/ (T a) const

Static Public Member Functions

static unsigned int dimensions ()
static T baseTypeMin ()
static T baseTypeMax ()
static T baseTypeSmallest ()
static T baseTypeEpsilon ()

Public Attributes

r
g
b
a

template<class T>
class Imath::Color4< T >


The documentation for this class was generated from the following file: