Logo Search packages:      
Sourcecode: openexr version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

Imath::Color3< T > Class Template Reference

Inheritance diagram for Imath::Color3< T >:
Inheritance graph
[legend]
Collaboration diagram for Imath::Color3< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T BaseType

Public Member Functions

 Color3 (T a)
 Color3 (const Color3 &c)
template<class S >
 Color3 (const Vec3< S > &v)
 Color3 (T a, T b, T c)
Vec3 cross (const Vec3 &v) const
dot (const Vec3 &v) const
bool equalWithAbsError (const Vec3< T > &v, T e) const
bool equalWithRelError (const Vec3< T > &v, T e) const
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
length () const
template<>
short length () const
template<>
int length () const
template<>
short length () const
template<>
int length () const
length2 () const
const Color3negate ()
const Vec3normalize ()
template<>
const Vec3< short > & normalize ()
template<>
const Vec3< int > & normalize ()
template<>
const Vec3< short > & normalize ()
template<>
const Vec3< int > & normalize ()
Vec3< T > normalized () const
template<>
Vec3< short > normalized () const
template<>
Vec3< int > normalized () const
template<>
Vec3< short > normalized () const
template<>
Vec3< int > normalized () const
Vec3< T > normalizedExc () const throw (Iex::MathExc)
template<>
Vec3< short > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< int > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< int > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< short > normalizedExc () const throw(Iex::MathExc)
template<>
Vec3< int > normalizedNonNull () const
Vec3< T > normalizedNonNull () const
template<>
Vec3< short > normalizedNonNull () const
template<>
Vec3< short > normalizedNonNull () const
template<>
Vec3< int > normalizedNonNull () const
template<>
const Vec3< int > & normalizeExc () throw(Iex::MathExc)
const Vec3normalizeExc () throw (Iex::MathExc)
template<>
const Vec3< short > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec3< short > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec3< int > & normalizeExc () throw(Iex::MathExc)
template<>
const Vec3< int > & normalizeNonNull ()
template<>
const Vec3< int > & normalizeNonNull ()
template<>
const Vec3< short > & normalizeNonNull ()
template<>
const Vec3< short > & normalizeNonNull ()
const Vec3normalizeNonNull ()
template<class S >
bool operator!= (const Vec3< S > &v) const
Vec3 operator% (const Vec3 &v) const
const Vec3operator%= (const Vec3 &v)
Vec3 operator* (const Vec3 &v) const
Color3 operator* (T a) const
Color3 operator* (const Color3 &c) const
const Color3operator*= (T a)
const Color3operator*= (const Color3 &c)
const Vec3operator*= (const Vec3 &v)
Color3 operator+ (const Color3 &c) const
Vec3 operator+ (const Vec3 &v) const
const Color3operator+= (const Color3 &c)
const Vec3operator+= (const Vec3 &v)
Vec3 operator- (const Vec3 &v) const
Color3 operator- (const Color3 &c) const
Color3 operator- () const
const Vec3operator-= (const Vec3 &v)
const Color3operator-= (const Color3 &c)
Color3 operator/ (T a) const
Vec3 operator/ (const Vec3 &v) const
Color3 operator/ (const Color3 &c) const
const Color3operator/= (const Color3 &c)
const Vec3operator/= (const Vec3 &v)
const Color3operator/= (T a)
const Color3operator= (const Color3 &c)
template<class S >
bool operator== (const Vec3< S > &v) const
T & operator[] (int i)
const T & operator[] (int i) const
operator^ (const Vec3 &v) const
template<class S >
void setValue (const Vec3< S > &v)
template<class S >
void setValue (S a, S b, S c)

Static Public Member Functions

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

Public Attributes

x
y
z

Detailed Description

template<class T>
class Imath::Color3< T >

Definition at line 53 of file ImathColor.h.


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

Generated by  Doxygen 1.6.0   Back to index