casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::PCTestPattern Class Reference

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

#include <PCTestPattern.h>

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

Public Member Functions

 PCTestPattern ()
 Default (and only) constructor. More...
 
 ~PCTestPattern ()
 Destructor. More...
 
void operator() (const PCRefreshEvent &ev)
 Refresh event handling operator. More...
 
- Public Member Functions inherited from casa::PCRefreshEH
 PCRefreshEH ()
 Default Constructor Required. More...
 
 PCRefreshEH (const PCRefreshEH &other)
 
virtual ~PCRefreshEH ()
 Destructor. More...
 

Protected Member Functions

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

Private Attributes

casacore::Bool itsFirstTime
 
casacore::uInt itsWidth
 
casacore::uInt itsHeight
 
casacore::uInt itsListLength
 
casacore::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

casa::PCTestPattern::PCTestPattern ( )

Default (and only) constructor.

casa::PCTestPattern::~PCTestPattern ( )

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

casacore::Bool casa::PCTestPattern::itsFirstTime
private

Definition at line 84 of file PCTestPattern.h.

casacore::uInt casa::PCTestPattern::itsHeight
private

Definition at line 85 of file PCTestPattern.h.

casacore::uInt* casa::PCTestPattern::itsImList
private

Definition at line 87 of file PCTestPattern.h.

casacore::uInt casa::PCTestPattern::itsListLength
private

Definition at line 86 of file PCTestPattern.h.

casacore::uInt casa::PCTestPattern::itsWidth
private

Definition at line 85 of file PCTestPattern.h.


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