Rumba C++ SDK
Imath::Color4< T > Class Template Reference

#include <ImathColor.h>

Public Types

typedef T BaseType
 

Public Member Functions

T & operator[] (int i)
 
const T & operator[] (int i) const
 
 Color4 ()
 
 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
 

Member Typedef Documentation

◆ BaseType

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

Constructor & Destructor Documentation

◆ Color4() [1/5]

template<class T >
Imath::Color4< T >::Color4 ( )
inline

◆ Color4() [2/5]

template<class T >
Imath::Color4< T >::Color4 ( a)
inlineexplicit

◆ Color4() [3/5]

template<class T >
Imath::Color4< T >::Color4 ( a,
b,
c,
d 
)
inline

◆ Color4() [4/5]

template<class T >
Imath::Color4< T >::Color4 ( const Color4< T > &  v)
inline

◆ Color4() [5/5]

template<class T >
template<class S >
Imath::Color4< T >::Color4 ( const Color4< S > &  v)
inline

Member Function Documentation

◆ baseTypeEpsilon()

template<class T>
static T Imath::Color4< T >::baseTypeEpsilon ( )
inlinestatic

◆ baseTypeMax()

template<class T>
static T Imath::Color4< T >::baseTypeMax ( )
inlinestatic

◆ baseTypeMin()

template<class T>
static T Imath::Color4< T >::baseTypeMin ( )
inlinestatic

◆ baseTypeSmallest()

template<class T>
static T Imath::Color4< T >::baseTypeSmallest ( )
inlinestatic

◆ dimensions()

template<class T>
static unsigned int Imath::Color4< T >::dimensions ( )
inlinestatic

◆ getValue() [1/4]

template<class T >
template<class S >
void Imath::Color4< T >::getValue ( S &  a,
S &  b,
S &  c,
S &  d 
) const
inline

◆ getValue() [2/4]

template<class T >
template<class S >
void Imath::Color4< T >::getValue ( Color4< S > &  v) const
inline

◆ getValue() [3/4]

template<class T >
T * Imath::Color4< T >::getValue ( )
inline

◆ getValue() [4/4]

template<class T >
const T * Imath::Color4< T >::getValue ( ) const
inline

◆ negate()

template<class T >
const Color4< T > & Imath::Color4< T >::negate ( )
inline

◆ operator!=()

template<class T >
template<class S >
bool Imath::Color4< T >::operator!= ( const Color4< S > &  v) const
inline

◆ operator*() [1/2]

template<class T >
Color4< T > Imath::Color4< T >::operator* ( const Color4< T > &  v) const
inline

◆ operator*() [2/2]

template<class T >
Color4< T > Imath::Color4< T >::operator* ( a) const
inline

◆ operator*=() [1/2]

template<class T >
const Color4< T > & Imath::Color4< T >::operator*= ( const Color4< T > &  v)
inline

◆ operator*=() [2/2]

template<class T >
const Color4< T > & Imath::Color4< T >::operator*= ( a)
inline

◆ operator+()

template<class T >
Color4< T > Imath::Color4< T >::operator+ ( const Color4< T > &  v) const
inline

◆ operator+=()

template<class T >
const Color4< T > & Imath::Color4< T >::operator+= ( const Color4< T > &  v)
inline

◆ operator-() [1/2]

template<class T >
Color4< T > Imath::Color4< T >::operator- ( const Color4< T > &  v) const
inline

◆ operator-() [2/2]

template<class T >
Color4< T > Imath::Color4< T >::operator- ( ) const
inline

◆ operator-=()

template<class T >
const Color4< T > & Imath::Color4< T >::operator-= ( const Color4< T > &  v)
inline

◆ operator/() [1/2]

template<class T >
Color4< T > Imath::Color4< T >::operator/ ( const Color4< T > &  v) const
inline

◆ operator/() [2/2]

template<class T >
Color4< T > Imath::Color4< T >::operator/ ( a) const
inline

◆ operator/=() [1/2]

template<class T >
const Color4< T > & Imath::Color4< T >::operator/= ( const Color4< T > &  v)
inline

◆ operator/=() [2/2]

template<class T >
const Color4< T > & Imath::Color4< T >::operator/= ( a)
inline

◆ operator=()

template<class T >
const Color4< T > & Imath::Color4< T >::operator= ( const Color4< T > &  v)
inline

◆ operator==()

template<class T >
template<class S >
bool Imath::Color4< T >::operator== ( const Color4< S > &  v) const
inline

◆ operator[]() [1/2]

template<class T >
T & Imath::Color4< T >::operator[] ( int  i)
inline

◆ operator[]() [2/2]

template<class T >
const T & Imath::Color4< T >::operator[] ( int  i) const
inline

◆ setValue() [1/2]

template<class T >
template<class S >
void Imath::Color4< T >::setValue ( a,
b,
c,
d 
)
inline

◆ setValue() [2/2]

template<class T >
template<class S >
void Imath::Color4< T >::setValue ( const Color4< S > &  v)
inline

Member Data Documentation

◆ a

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

◆ b

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

◆ g

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

◆ r

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

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