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

Base class for scrolling DisplayData objects. More...

#include <ScrollingRasterDM.h>

Inheritance diagram for casa::ScrollingRasterDM:
casa::PrincipalAxesDM casa::DisplayMethod

List of all members.

Public Member Functions

 ScrollingRasterDM (uInt xAxis, uInt yAxis, Int mAxis, IPosition fixedPos, PrincipalAxesDD *padd)

Protected Member Functions

virtual void setup (IPosition fixedPos)
 This method does setup stuff that is common to all elements of an axis-bound display data element.
virtual IPosition dataShape ()
 This method should be defined in derived classes to simply return the shape of the data object, eg.
virtual uInt dataDrawSelf (WorldCanvas *wCanvas, const Vector< Double > &blc, const Vector< Double > &trc, const IPosition &start, const IPosition &sliceShape, const IPosition &stride, const Bool usePixelEdges=False)
 This method should be defined in derived classes to actually draw the data contained in datMatrix, however it likes, starting at the point blc, on *wCanvas.
virtual Bool dataGetSlice (Matrix< Float > &data, Matrix< Bool > &mask, const IPosition &start, const IPosition &sliceShape, const IPosition &stride)

Detailed Description

Base class for scrolling DisplayData objects.

Definition at line 40 of file ScrollingRasterDM.h.


Constructor & Destructor Documentation

casa::ScrollingRasterDM::ScrollingRasterDM ( uInt  xAxis,
uInt  yAxis,
Int  mAxis,
IPosition  fixedPos,
PrincipalAxesDD padd 
)

Member Function Documentation

virtual uInt casa::ScrollingRasterDM::dataDrawSelf ( WorldCanvas wCanvas,
const Vector< Double > &  blc,
const Vector< Double > &  trc,
const IPosition start,
const IPosition sliceShape,
const IPosition stride,
const Bool  usePixelEdges = False 
) [protected, virtual]

This method should be defined in derived classes to actually draw the data contained in datMatrix, however it likes, starting at the point blc, on *wCanvas.

It must return a uInt which indicates the drawListNumber it allocated for this drawing. If usePixelEdges is True, then the given blc and trc correspond to the world blc and trc of the first and last pixels in the given data, otherwise they correspond to the world centres of the blc and trc pixels.

Implements casa::PrincipalAxesDM.

virtual Bool casa::ScrollingRasterDM::dataGetSlice ( Matrix< Float > &  data,
Matrix< Bool > &  mask,
const IPosition start,
const IPosition sliceShape,
const IPosition stride 
) [protected, virtual]
virtual IPosition casa::ScrollingRasterDM::dataShape ( ) [protected, virtual]

This method should be defined in derived classes to simply return the shape of the data object, eg.

Array.shape() or Image.shape(), etc.

Implements casa::PrincipalAxesDM.

virtual void casa::ScrollingRasterDM::setup ( IPosition  fixedPos) [protected, virtual]

This method does setup stuff that is common to all elements of an axis-bound display data element.

Reimplemented from casa::PrincipalAxesDM.


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