Public Member Functions | Private Attributes

LibGeoDecomp::QuickPalette< VALUE > Class Template Reference

This class is similar to Palette, but trades flexibility for speed. More...

#include <quickpalette.h>

Collaboration diagram for LibGeoDecomp::QuickPalette< VALUE >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QuickPalette (VALUE min, VALUE max)
Color operator[] (VALUE val) const

Private Attributes

VALUE mark0
VALUE mark1
VALUE mark2
VALUE mark3
VALUE mark4
VALUE mult

Detailed Description

template<typename VALUE>
class LibGeoDecomp::QuickPalette< VALUE >

This class is similar to Palette, but trades flexibility for speed.

Works ony well for floating point numbers.


Constructor & Destructor Documentation

template<typename VALUE >
LibGeoDecomp::QuickPalette< VALUE >::QuickPalette ( VALUE  min,
VALUE  max 
) [inline]

Member Function Documentation

template<typename VALUE >
Color LibGeoDecomp::QuickPalette< VALUE >::operator[] ( VALUE  val  )  const [inline]

Member Data Documentation

template<typename VALUE >
VALUE LibGeoDecomp::QuickPalette< VALUE >::mark0 [private]
template<typename VALUE >
VALUE LibGeoDecomp::QuickPalette< VALUE >::mark1 [private]
template<typename VALUE >
VALUE LibGeoDecomp::QuickPalette< VALUE >::mark2 [private]
template<typename VALUE >
VALUE LibGeoDecomp::QuickPalette< VALUE >::mark3 [private]
template<typename VALUE >
VALUE LibGeoDecomp::QuickPalette< VALUE >::mark4 [private]
template<typename VALUE >
VALUE LibGeoDecomp::QuickPalette< VALUE >::mult [private]

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