PCTestPattern.h

Classes

PCTestPattern -- PixelCanvas test pattern display refresh event handler. (full description)

class PCTestPattern : public PCRefreshEH

Interface

Public Members
PCTestPattern()
~PCTestPattern()
void operator()(const PCRefreshEvent &ev)
Protected Members
PCTestPattern(const PCTestPattern &other)
PCTestPattern &operator=(const PCTestPattern &other)

Description

Etymology

"PCTestPattern" refers to a PixelCanvas Test Pattern.

Synopsis

Motivation

In a number of places, notably test programs, it is useful to be able to see a test pattern on the PixelCanvas which displays currently registered Colormaps for Indexed ColorTables, or views of the color cube for RGB / HSV ColorTables.

Example

To Do

Member Description

PCTestPattern()

Default (and only) constructor.

~PCTestPattern()

Destructor.

void operator()(const PCRefreshEvent &ev)

Refresh event handling operator. This implementation draws the test pattern/s on the PixelCanvas stored in ev.

PCTestPattern(const PCTestPattern &other)

(Required) copy constructor.

PCTestPattern &operator=(const PCTestPattern &other)

(Required) copy assignment.