GammaTable< T > Class Template Reference

#include <gamma.h>

Inheritance diagram for GammaTable< T >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

const float & get_gamma ()
void set_gamma (float g)
 GammaTable (unsigned int s, float g=1)
 ~GammaTable ()
const T & operator[] (const T &i) const

Private Member Functions

 GammaTable ()

Private Attributes

unsigned size
float sizef
T * table
float gamma

Detailed Description

template<class T>
class GammaTable< T >

Definition at line 33 of file gamma.h.


Constructor & Destructor Documentation

template<class T>
GammaTable< T >::GammaTable (  )  [inline, private]

Definition at line 42 of file gamma.h.

template<class T>
GammaTable< T >::GammaTable ( unsigned int  s,
float  g = 1 
) [inline]

Definition at line 59 of file gamma.h.

template<class T>
GammaTable< T >::~GammaTable (  )  [inline]

Definition at line 66 of file gamma.h.


Member Function Documentation

template<class T>
const float& GammaTable< T >::get_gamma (  )  [inline]

Definition at line 46 of file gamma.h.

Referenced by XMIDI::ExtractTracks(), and Image_window8::get_gamma().

template<class T>
void GammaTable< T >::set_gamma ( float  g  )  [inline]

Definition at line 49 of file gamma.h.

Referenced by XMIDI::ExtractTracks(), GammaTable< unsigned char >::GammaTable(), and Image_window8::set_gamma().

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

Definition at line 68 of file gamma.h.


Member Data Documentation

template<class T>
unsigned GammaTable< T >::size [private]

Definition at line 36 of file gamma.h.

Referenced by GammaTable< unsigned char >::GammaTable(), and GammaTable< unsigned char >::set_gamma().

template<class T>
float GammaTable< T >::sizef [private]

Definition at line 37 of file gamma.h.

Referenced by GammaTable< unsigned char >::GammaTable(), and GammaTable< unsigned char >::set_gamma().

template<class T>
T* GammaTable< T >::table [private]

Definition at line 38 of file gamma.h.

Referenced by GammaTable< unsigned char >::GammaTable(), GammaTable< unsigned char >::operator[](), GammaTable< unsigned char >::set_gamma(), and GammaTable< unsigned char >::~GammaTable().

template<class T>
float GammaTable< T >::gamma [private]

Definition at line 39 of file gamma.h.

Referenced by GammaTable< unsigned char >::get_gamma(), and GammaTable< unsigned char >::set_gamma().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 14:54:54 2007 for ExultEngine by  doxygen 1.5.1