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

#include <ImathColor.h>

+ Inheritance diagram for Color3< 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 Vec3< T >
Toperator[] (int i)
 
const Toperator[] (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
 
TgetValue ()
 
const TgetValue () 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
 
T dot (const Vec3 &v) const
 
T 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
 
T length () const
 
T length2 () const
 
const Vec3normalize ()
 
const Vec3normalizeExc ()
 
const Vec3normalizeNonNull ()
 
Vec3< Tnormalized () const
 
Vec3< TnormalizedExc () const
 
Vec3< TnormalizedNonNull () const
 
template<>
short length () const
 
template<>
const Vec3< short > & normalize ()
 
template<>
const Vec3< short > & normalizeExc ()
 
template<>
const Vec3< short > & normalizeNonNull ()
 
template<>
Vec3< short > normalized () const
 
template<>
Vec3< short > normalizedExc () const
 
template<>
Vec3< short > normalizedNonNull () const
 
template<>
int length () const
 
template<>
const Vec3< int > & normalize ()
 
template<>
const Vec3< int > & normalizeExc ()
 
template<>
const Vec3< int > & normalizeNonNull ()
 
template<>
Vec3< intnormalized () const
 
template<>
Vec3< intnormalizedExc () const
 
template<>
Vec3< intnormalizedNonNull () const
 

Additional Inherited Members

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

Detailed Description

template<class T>
class Color3< T >

Definition at line 54 of file ImathColor.h.

Constructor & Destructor Documentation

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

Definition at line 293 of file ImathColor.h.

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

Definition at line 300 of file ImathColor.h.

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

Definition at line 307 of file ImathColor.h.

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

Definition at line 314 of file ImathColor.h.

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

Definition at line 322 of file ImathColor.h.

Member Function Documentation

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

Definition at line 374 of file ImathColor.h.

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

Definition at line 398 of file ImathColor.h.

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

Definition at line 405 of file ImathColor.h.

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

Definition at line 382 of file ImathColor.h.

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

Definition at line 390 of file ImathColor.h.

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

Definition at line 345 of file ImathColor.h.

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

Definition at line 337 of file ImathColor.h.

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

Definition at line 360 of file ImathColor.h.

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

Definition at line 367 of file ImathColor.h.

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

Definition at line 352 of file ImathColor.h.

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

Definition at line 428 of file ImathColor.h.

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

Definition at line 435 of file ImathColor.h.

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

Definition at line 412 of file ImathColor.h.

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

Definition at line 420 of file ImathColor.h.

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

Definition at line 329 of file ImathColor.h.


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