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

#include <ImathColor.h>

Inheritance diagram for Imath::Color3< T >:
Imath::Vec3< T >

Public Member Functions

 Color3 ()
 
 Color3 (T a)
 
 Color3 (T a, T b, T c)
 
 Color3 (const Color3 &c)
 
template<class S >
 Color3 (const Vec3< S > &v)
 
const Color3operator= (const Color3 &c)
 
const Color3operator+= (const Color3 &c)
 
Color3 operator+ (const Color3 &c) const
 
const Color3operator-= (const Color3 &c)
 
Color3 operator- (const Color3 &c) const
 
Color3 operator- () const
 
const Color3negate ()
 
const Color3operator*= (const Color3 &c)
 
const Color3operator*= (T a)
 
Color3 operator* (const Color3 &c) const
 
Color3 operator* (T a) const
 
const Color3operator/= (const Color3 &c)
 
const Color3operator/= (T a)
 
Color3 operator/ (const Color3 &c) const
 
Color3 operator/ (T a) const
 
- Public Member Functions inherited from Imath::Vec3< T >
T & operator[] (int i)
 
const T & operator[] (int i) const
 
 Vec3 ()
 
 Vec3 (T a)
 
 Vec3 (T a, T b, T c)
 
 Vec3 (const Vec3 &v)
 
template<class S >
 Vec3 (const Vec3< S > &v)
 
const Vec3operator= (const Vec3 &v)
 
template<class S >
 Vec3 (const Vec4< S > &v)
 
template<class S >
 Vec3 (const Vec4< S > &v, InfException)
 
template<class S >
void setValue (S a, S b, S c)
 
template<class S >
void setValue (const Vec3< S > &v)
 
template<class S >
void getValue (S &a, S &b, S &c) const
 
template<class S >
void getValue (Vec3< S > &v) const
 
T * getValue ()
 
const T * getValue () const
 
template<class S >
bool operator== (const Vec3< S > &v) const
 
template<class S >
bool operator!= (const Vec3< S > &v) const
 
bool equalWithAbsError (const Vec3< T > &v, T e) const
 
bool equalWithRelError (const Vec3< T > &v, T e) const
 
dot (const Vec3 &v) const
 
operator^ (const Vec3 &v) const
 
Vec3 cross (const Vec3 &v) const
 
const Vec3operator%= (const Vec3 &v)
 
Vec3 operator% (const Vec3 &v) const
 
const Vec3operator+= (const Vec3 &v)
 
Vec3 operator+ (const Vec3 &v) const
 
const Vec3operator-= (const Vec3 &v)
 
Vec3 operator- (const Vec3 &v) const
 
Vec3 operator- () const
 
const Vec3negate ()
 
const Vec3operator*= (const Vec3 &v)
 
const Vec3operator*= (T a)
 
Vec3 operator* (const Vec3 &v) const
 
Vec3 operator* (T a) const
 
const Vec3operator/= (const Vec3 &v)
 
const Vec3operator/= (T a)
 
Vec3 operator/ (const Vec3 &v) const
 
Vec3 operator/ (T a) const
 
length () const
 
length2 () const
 
const Vec3normalize ()
 
const Vec3normalizeExc () throw (Iex::MathExc)
 
const Vec3normalizeNonNull ()
 
Vec3< T > normalized () const
 
Vec3< T > normalizedExc () const throw (Iex::MathExc)
 
Vec3< T > normalizedNonNull () const
 
template<>
short length () const
 
template<>
const Vec3< short > & normalize ()
 
template<>
const Vec3< short > & normalizeExc () throw(Iex::MathExc)
 
template<>
const Vec3< short > & normalizeNonNull ()
 
template<>
Vec3< short > normalized () const
 
template<>
Vec3< short > normalizedExc () const throw(Iex::MathExc)
 
template<>
Vec3< short > normalizedNonNull () const
 
template<>
int length () const
 
template<>
const Vec3< int > & normalize ()
 
template<>
const Vec3< int > & normalizeExc () throw(Iex::MathExc)
 
template<>
const Vec3< int > & normalizeNonNull ()
 
template<>
Vec3< int > normalized () const
 
template<>
Vec3< int > normalizedExc () const throw(Iex::MathExc)
 
template<>
Vec3< int > normalizedNonNull () const
 
template<>
short length () const
 
template<>
const Vec3< short > & normalize ()
 
template<>
const Vec3< short > & normalizeExc () throw(Iex::MathExc)
 
template<>
const Vec3< short > & normalizeNonNull ()
 
template<>
Vec3< short > normalized () const
 
template<>
Vec3< short > normalizedExc () const throw(Iex::MathExc)
 
template<>
Vec3< short > normalizedNonNull () const
 
template<>
int length () const
 
template<>
const Vec3< int > & normalize ()
 
template<>
const Vec3< int > & normalizeExc () throw(Iex::MathExc)
 
template<>
const Vec3< int > & normalizeNonNull ()
 
template<>
Vec3< int > normalized () const
 
template<>
Vec3< int > normalizedExc () const throw(Iex::MathExc)
 
template<>
Vec3< int > normalizedNonNull () const
 

Additional Inherited Members

- Public Types inherited from Imath::Vec3< T >
typedef T BaseType
 
- Static Public Member Functions inherited from Imath::Vec3< T >
static unsigned int dimensions ()
 
static T baseTypeMin ()
 
static T baseTypeMax ()
 
static T baseTypeSmallest ()
 
static T baseTypeEpsilon ()
 
- Public Attributes inherited from Imath::Vec3< T >
x
 
y
 
z
 

Constructor & Destructor Documentation

◆ Color3() [1/5]

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

◆ Color3() [2/5]

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

◆ Color3() [3/5]

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

◆ Color3() [4/5]

template<class T >
Imath::Color3< T >::Color3 ( const Color3< T > &  c)
inline

◆ Color3() [5/5]

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

Member Function Documentation

◆ negate()

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

◆ operator*() [1/2]

template<class T >
Color3< T > Imath::Color3< T >::operator* ( const Color3< T > &  c) const
inline

◆ operator*() [2/2]

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

◆ operator*=() [1/2]

template<class T >
const Color3< T > & Imath::Color3< T >::operator*= ( const Color3< T > &  c)
inline

◆ operator*=() [2/2]

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

◆ operator+()

template<class T >
Color3< T > Imath::Color3< T >::operator+ ( const Color3< T > &  c) const
inline

◆ operator+=()

template<class T >
const Color3< T > & Imath::Color3< T >::operator+= ( const Color3< T > &  c)
inline

◆ operator-() [1/2]

template<class T >
Color3< T > Imath::Color3< T >::operator- ( const Color3< T > &  c) const
inline

◆ operator-() [2/2]

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

◆ operator-=()

template<class T >
const Color3< T > & Imath::Color3< T >::operator-= ( const Color3< T > &  c)
inline

◆ operator/() [1/2]

template<class T >
Color3< T > Imath::Color3< T >::operator/ ( const Color3< T > &  c) const
inline

◆ operator/() [2/2]

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

◆ operator/=() [1/2]

template<class T >
const Color3< T > & Imath::Color3< T >::operator/= ( const Color3< T > &  c)
inline

◆ operator/=() [2/2]

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

◆ operator=()

template<class T >
const Color3< T > & Imath::Color3< T >::operator= ( const Color3< T > &  c)
inline

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