HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Color4< T > Class Template Reference

#include <ImathColor.h>

Public Types

typedef T BaseType
 

Public Member Functions

Toperator[] (int i)
 
const Toperator[] (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
 
TgetValue ()
 
const TgetValue () 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

T r
 
T g
 
T b
 
T a
 

Detailed Description

template<class T>
class Color4< T >

Definition at line 121 of file ImathColor.h.

Member Typedef Documentation

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

Definition at line 252 of file ImathColor.h.

Constructor & Destructor Documentation

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

Definition at line 460 of file ImathColor.h.

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

Definition at line 467 of file ImathColor.h.

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

Definition at line 474 of file ImathColor.h.

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

Definition at line 484 of file ImathColor.h.

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

Definition at line 495 of file ImathColor.h.

Member Function Documentation

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

Definition at line 243 of file ImathColor.h.

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

Definition at line 241 of file ImathColor.h.

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

Definition at line 240 of file ImathColor.h.

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

Definition at line 242 of file ImathColor.h.

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

Definition at line 233 of file ImathColor.h.

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

Definition at line 539 of file ImathColor.h.

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

Definition at line 550 of file ImathColor.h.

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

Definition at line 560 of file ImathColor.h.

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

Definition at line 567 of file ImathColor.h.

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

Definition at line 633 of file ImathColor.h.

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

Definition at line 583 of file ImathColor.h.

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

Definition at line 666 of file ImathColor.h.

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

Definition at line 673 of file ImathColor.h.

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

Definition at line 644 of file ImathColor.h.

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

Definition at line 655 of file ImathColor.h.

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

Definition at line 601 of file ImathColor.h.

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

Definition at line 590 of file ImathColor.h.

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

Definition at line 619 of file ImathColor.h.

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

Definition at line 626 of file ImathColor.h.

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

Definition at line 608 of file ImathColor.h.

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

Definition at line 702 of file ImathColor.h.

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

Definition at line 709 of file ImathColor.h.

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

Definition at line 680 of file ImathColor.h.

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

Definition at line 691 of file ImathColor.h.

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

Definition at line 505 of file ImathColor.h.

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

Definition at line 575 of file ImathColor.h.

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

Definition at line 446 of file ImathColor.h.

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

Definition at line 453 of file ImathColor.h.

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

Definition at line 517 of file ImathColor.h.

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

Definition at line 528 of file ImathColor.h.

Member Data Documentation

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

Definition at line 129 of file ImathColor.h.

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

Definition at line 129 of file ImathColor.h.

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

Definition at line 129 of file ImathColor.h.

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

Definition at line 129 of file ImathColor.h.


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