casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Attributes
casa::PCTestPattern Class Reference

PixelCanvas test pattern display refresh event handler. More...

#include <PCTestPattern.h>

Inheritance diagram for casa::PCTestPattern:
casa::PCRefreshEH

List of all members.

Public Member Functions

 PCTestPattern ()
 Default (and only) constructor.
 ~PCTestPattern ()
 Destructor.
void operator() (const PCRefreshEvent &ev)
 Refresh event handling operator.

Protected Member Functions

 PCTestPattern (const PCTestPattern &other)
 (Required) copy constructor.
PCTestPatternoperator= (const PCTestPattern &other)
 (Required) copy assignment.

Private Attributes

Bool itsFirstTime
uInt itsWidth
uInt itsHeight
uInt itsListLength
uIntitsImList

Detailed Description

PixelCanvas test pattern display refresh event handler.

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

Definition at line 60 of file PCTestPattern.h.


Constructor & Destructor Documentation

Default (and only) constructor.

Destructor.

casa::PCTestPattern::PCTestPattern ( const PCTestPattern other) [protected]

(Required) copy constructor.


Member Function Documentation

void casa::PCTestPattern::operator() ( const PCRefreshEvent ev) [virtual]

Refresh event handling operator.

This implementation draws the test pattern/s on the PixelCanvas stored in ev.

Reimplemented from casa::PCRefreshEH.

PCTestPattern& casa::PCTestPattern::operator= ( const PCTestPattern other) [protected]

(Required) copy assignment.


Member Data Documentation

Definition at line 84 of file PCTestPattern.h.

Definition at line 85 of file PCTestPattern.h.

Definition at line 87 of file PCTestPattern.h.

Definition at line 86 of file PCTestPattern.h.

Definition at line 85 of file PCTestPattern.h.


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