Source
const casacore::Array<casacore::uInt> &inArrayRed, const casacore::Array<casacore::uInt> &inArrayGreen, const casacore::Array<casacore::uInt>& inArrayBlue) {
//# PixelCanvas.h: Base class defining interface to PixelCanvases
//# Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//# $Id$
namespace casacore{
template <class T> class Vector;
template <class T> class Matrix;
}
namespace casa { //# NAMESPACE CASA - BEGIN
class Colormap;
class PCMotionEH;
class PCPositionEH;
class PCRefreshEH;
// <summary>
// Base class defining interface to pixel-based output devices.
// </summary>
//
// <prerequisite>
// <li> <linkto class="Colormap">Colormap</linkto>
// <li> <linkto class="PixelCanvasColorTable">PixelCanvasColorTable</linkto>
// <li> <linkto class="PCMotionEH">PCMotionEH</linkto>
// <li> <linkto class="PCRefreshEH">PCRefreshEH</linkto>
// <li> <linkto class="PCPositionEH">PCPositionEH</linkto>
// </prerequisite>
//
// <etymology>
// PixelCanvas is the mechanism for drawing on the screen.
// </etymology>
//
// <synopsis>
// The philosophy of the PixelCanvas is to provide flexible fast interface to
// an underlying graphics system in terms of integer pixel positions and
// color values. The interface should be as simple as possible and not demand
// complicated structures on its interface.
//
// The PixelCanvas performs minimal management, leaving up to the derived classes
// for most of the work required to interface to the underlying graphics library.
///
//
// To make it flexible, the fundamental interface accepts pointers to arrays of all
// the scalar AIPS++ types. The casacore::Bool type is not acceptable at the PixelCanvas
// level because it cannot be used to represent a color index, as are the two
// complex number types.
//
// To make it fast, a caching mechanism is used to allow display lists to be
// created in the format native to the underlying graphics library.
// The caching works like OpenGL display lists.
//
// To create a display list:
//
// <ol>
// <li> Call the function newList() which will return a list id. You need to
// store the returned id somewhere so that it may be recalled later.