Public Member Functions | Private Attributes

LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE > Class Template Reference

#include <simplecellplotter.h>

Inherits Filter< CELL, MEMBER, Color >.

Collaboration diagram for LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CellToColor (const PALETTE &palette)
void copyStreakInImpl (const Color *first, const Color *last, MEMBER *target)
 Copy a streak of variables to an AoS layout.
void copyStreakOutImpl (const MEMBER *first, const MEMBER *last, Color *target)
 Extract a steak of members from an AoS layout.
void copyMemberInImpl (const Color *source, CELL *target, int num, MEMBER CELL::*memberPointer)
 Copy a streak of variables to the members of a streak of cells.
void copyMemberOutImpl (const CELL *source, Color *target, int num, MEMBER CELL::*memberPointer)
 Extract a streak of members from a streak of cells.

Private Attributes

PALETTE palette

template<typename CELL, typename MEMBER, typename PALETTE>
class LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >


Constructor & Destructor Documentation

template<typename CELL , typename MEMBER , typename PALETTE >
LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >::CellToColor ( const PALETTE &  palette  )  [inline, explicit]

Member Function Documentation

template<typename CELL , typename MEMBER , typename PALETTE >
void LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >::copyMemberInImpl ( const Color source,
CELL *  target,
int  num,
MEMBER CELL::*  memberPointer 
) [inline, virtual]

Copy a streak of variables to the members of a streak of cells.

Implements LibGeoDecomp::Filter< CELL, MEMBER, Color >.

template<typename CELL , typename MEMBER , typename PALETTE >
void LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >::copyMemberOutImpl ( const CELL *  source,
Color target,
int  num,
MEMBER CELL::*  memberPointer 
) [inline, virtual]
template<typename CELL , typename MEMBER , typename PALETTE >
void LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >::copyStreakInImpl ( const Color first,
const Color last,
MEMBER *  target 
) [inline, virtual]

Copy a streak of variables to an AoS layout.

Implements LibGeoDecomp::Filter< CELL, MEMBER, Color >.

template<typename CELL , typename MEMBER , typename PALETTE >
void LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >::copyStreakOutImpl ( const MEMBER *  first,
const MEMBER *  last,
Color target 
) [inline, virtual]

Member Data Documentation

template<typename CELL , typename MEMBER , typename PALETTE >
PALETTE LibGeoDecomp::SimpleCellPlotterHelpers::CellToColor< CELL, MEMBER, PALETTE >::palette [private]

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