Public Member Functions | Private Attributes

LibGeoDecomp::SimpleCellPlotter< CELL_TYPE > Class Template Reference

This is a convenience class which uses a Palette to map a single value of a cell to a color range. More...

#include <simplecellplotter.h>

Collaboration diagram for LibGeoDecomp::SimpleCellPlotter< CELL_TYPE >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

template<typename MEMBER , typename PALETTE >
 SimpleCellPlotter (MEMBER CELL_TYPE::*memberPointer, const PALETTE &palette)
template<typename PAINTER >
void operator() (const CELL_TYPE &cell, PAINTER &painter, const Coord< 2 > &cellDimensions) const

Private Attributes

Selector< CELL_TYPE > cellToColor

Detailed Description

template<typename CELL_TYPE>
class LibGeoDecomp::SimpleCellPlotter< CELL_TYPE >

This is a convenience class which uses a Palette to map a single value of a cell to a color range.


Constructor & Destructor Documentation

template<typename CELL_TYPE >
template<typename MEMBER , typename PALETTE >
LibGeoDecomp::SimpleCellPlotter< CELL_TYPE >::SimpleCellPlotter ( MEMBER CELL_TYPE::*  memberPointer,
const PALETTE &  palette 
) [inline, explicit]

Member Function Documentation

template<typename CELL_TYPE >
template<typename PAINTER >
void LibGeoDecomp::SimpleCellPlotter< CELL_TYPE >::operator() ( const CELL_TYPE &  cell,
PAINTER &  painter,
const Coord< 2 > &  cellDimensions 
) const [inline]

Member Data Documentation

template<typename CELL_TYPE >
Selector<CELL_TYPE> LibGeoDecomp::SimpleCellPlotter< CELL_TYPE >::cellToColor [private]

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