casa
$Rev:20696$
|
#include <ScrollingRasterDD.h>
Public Member Functions | |
ScrollingRasterDD (const uInt nDim, const IPosition, const Vector< String >, const Vector< String >, uInt sAxis=2, uInt scanNo=100) | |
virtual | ~ScrollingRasterDD () |
virtual void | updateLattice (const Record &) |
virtual void | updateLattice (Array< Float > &, CoordinateSystem &) |
virtual String | className () |
Return the class name of this DisplayData; useful mostly for debugging purposes, and perhaps future use in the glish widget interface. | |
virtual Bool | setOptions (Record &rec, Record &recOut) |
apply options stored in val to the DisplayData; return value True means a refresh is needed... | |
virtual Record | getOptions () |
retrieve the current and default options and parameter types. | |
virtual void | setDefaultOptions () |
install the default options for this DisplayData | |
virtual Bool | setLabellerOptions (Record &, Record &) |
distribute options to all the axis labellers - empty here, we use WorldAxesDD | |
virtual Record | getLabellerOptions () |
retrieve options from the axis labellers - empty here, we use WorldAxesDD | |
virtual Bool | sizeControl (WorldCanvasHolder &wcHolder, AttributeBuffer &holderBuf) |
sizeControlFunction, called by the WorldCanvasHolder to setup the WorldCanvas linear coordinate system | |
virtual WCResampleHandler * | resampleHandler () |
Protected Member Functions | |
virtual void | updateLatticeConcat (Array< Float > *=NULL, CoordinateSystem *=NULL) |
virtual void | initLattice (const Record &) |
virtual void | initLattice (const Float, const Float, const uInt) |
virtual void | recreateEmptyLattices (uInt changedScanNumber=0) |
virtual const IPosition | dataShape () const |
virtual const uInt | dataDim () const |
virtual const Unit | dataUnit () const |
virtual void | setupElements () |
functions need by above | |
virtual void | getMinAndMax () |
virtual void | updateLatticeStatistics () |
virtual Bool | labelAxes (const WCRefreshEvent &ev) |
virtual void refresh(Bool); | |
virtual MaskedLattice< Float > * | maskedLattice () |
virtual Display::DisplayDataType | classType () |
Return the DisplayData type; used by the WorldCanvasHolder to determine the order of drawing. | |
String | dataType () const |
Pure virtual function from DisplayData... | |
virtual String | showValue (const Vector< Double > &world) |
Format a string containing value information at the given world coordinate. | |
virtual const Float | dataValue (IPosition pos) |
virtual const Bool | maskValue (const IPosition &pos) |
virtual Vector< String > | worldAxisNames () const |
Miscellaneous information supply routines. | |
virtual Vector< String > | worldAxisUnits () const |
ScrollingRasterDD (uInt mAxis=2, uInt scanNo=100) | |
(Required) default constructor. | |
ScrollingRasterDD (const ScrollingRasterDD &other) | |
(Required) copy constructor. | |
void | operator= (const ScrollingRasterDD &other) |
(Required) copy assignment. | |
virtual void | setSpectralPreference (CoordinateSystem &, const String &, const String &) |
Set Spectral preference -> not used here. | |
void | setHeaderMin (Float x) |
void | setHeaderMax (Float x) |
Float | headerMin () |
Float | headerMax () |
void | setScanNumber (uInt x) |
uInt | scanNumber () |
Bool | headerReceived () |
void | setHeaderReceived (Bool x) |
IPosition | latticesShape () |
uInt | shiftAxis () |
void | setNeedResize (const Bool x) |
Bool | needResize () |
IPosition | fixedPos () |
void | setLatticeShape (const IPosition x) |
void setPlaneNumber(const uInt x) { itsPlaneNumber = x; } uInt planeNumber() { return itsPlaneNumber; } | |
IPosition | latticeShape () |
Private Member Functions | |
void | initSRDD (const Vector< String > aAxisNames, const Vector< String > aAxisUnits, uInt mAxis) |
Worker function for c'tors. | |
Private Attributes | |
uInt | nDim |
LatticeConcat< Float > * | itsLatticeConcatPtr |
ImageInterface<Float> *itsImagePtr; Array<Float> *itsBaseArrayPtr;. | |
LatticeStatistics< Float > * | itsLatticeStatisticsPtr |
MaskedLattice<Float> *itsMaskedLatticePtr;. | |
SubLattice< Float > * | itsFilledDisplayedLatticePtr |
IPosition | itsFixedPos |
Int itsM2Axis;. | |
Int | itsFilledCount |
MaskedLattice< Float > ** | itsLattices |
Bool | itsNeedResize |
uInt | itsShiftAxis |
Bool | itsHeaderReceived |
Float | itsHeaderMin |
Float | itsHeaderMax |
uInt | itsScanNumber |
IPosition | itsLatticeShape |
String | itsResample |
IPosition itsScanShape; uInt itsPlaneNumber;. | |
WCResampleHandler * | itsResampleHandler |
pointer to resampler | |
Friends | |
class | ScrollingRasterDM |
Definition at line 53 of file ScrollingRasterDD.h.
casa::ScrollingRasterDD::ScrollingRasterDD | ( | const uInt | nDim, |
const IPosition | , | ||
const Vector< String > | , | ||
const Vector< String > | , | ||
uInt | sAxis = 2 , |
||
uInt | scanNo = 100 |
||
) |
virtual casa::ScrollingRasterDD::~ScrollingRasterDD | ( | ) | [virtual] |
casa::ScrollingRasterDD::ScrollingRasterDD | ( | uInt | mAxis = 2 , |
uInt | scanNo = 100 |
||
) | [protected] |
(Required) default constructor.
casa::ScrollingRasterDD::ScrollingRasterDD | ( | const ScrollingRasterDD & | other | ) | [protected] |
(Required) copy constructor.
virtual String casa::ScrollingRasterDD::className | ( | ) | [inline, virtual] |
Return the class name of this DisplayData; useful mostly for debugging purposes, and perhaps future use in the glish widget interface.
Reimplemented from casa::PrincipalAxesDD.
Definition at line 64 of file ScrollingRasterDD.h.
References String.
virtual Display::DisplayDataType casa::ScrollingRasterDD::classType | ( | ) | [inline, protected, virtual] |
Return the DisplayData type; used by the WorldCanvasHolder to determine the order of drawing.
Implements casa::DisplayData.
Definition at line 108 of file ScrollingRasterDD.h.
References casa::Display::Raster.
virtual const uInt casa::ScrollingRasterDD::dataDim | ( | ) | const [protected, virtual] |
Implements casa::DisplayData.
virtual const IPosition casa::ScrollingRasterDD::dataShape | ( | ) | const [protected, virtual] |
Implements casa::DisplayData.
String casa::ScrollingRasterDD::dataType | ( | ) | const [inline, protected, virtual] |
Pure virtual function from DisplayData...
Implements casa::DisplayData.
Definition at line 111 of file ScrollingRasterDD.h.
virtual const Unit casa::ScrollingRasterDD::dataUnit | ( | ) | const [protected, virtual] |
Implements casa::DisplayData.
virtual const Float casa::ScrollingRasterDD::dataValue | ( | IPosition | pos | ) | [protected, virtual] |
IPosition casa::ScrollingRasterDD::fixedPos | ( | ) | [inline, protected] |
Definition at line 148 of file ScrollingRasterDD.h.
References itsFixedPos.
virtual Record casa::ScrollingRasterDD::getLabellerOptions | ( | ) | [inline, virtual] |
retrieve options from the axis labellers - empty here, we use WorldAxesDD
Reimplemented from casa::PrincipalAxesDD.
Definition at line 77 of file ScrollingRasterDD.h.
virtual void casa::ScrollingRasterDD::getMinAndMax | ( | ) | [protected, virtual] |
Implements casa::PrincipalAxesDD.
virtual Record casa::ScrollingRasterDD::getOptions | ( | ) | [virtual] |
retrieve the current and default options and parameter types.
Reimplemented from casa::PrincipalAxesDD.
Float casa::ScrollingRasterDD::headerMax | ( | ) | [inline, protected] |
Definition at line 136 of file ScrollingRasterDD.h.
References itsHeaderMax.
Float casa::ScrollingRasterDD::headerMin | ( | ) | [inline, protected] |
Definition at line 135 of file ScrollingRasterDD.h.
References itsHeaderMin.
Bool casa::ScrollingRasterDD::headerReceived | ( | ) | [inline, protected] |
Definition at line 139 of file ScrollingRasterDD.h.
References itsHeaderReceived.
virtual void casa::ScrollingRasterDD::initLattice | ( | const Record & | ) | [protected, virtual] |
virtual void casa::ScrollingRasterDD::initLattice | ( | const Float | , |
const Float | , | ||
const uInt | |||
) | [protected, virtual] |
void casa::ScrollingRasterDD::initSRDD | ( | const Vector< String > | aAxisNames, |
const Vector< String > | aAxisUnits, | ||
uInt | mAxis | ||
) | [private] |
Worker function for c'tors.
virtual Bool casa::ScrollingRasterDD::labelAxes | ( | const WCRefreshEvent & | ev | ) | [protected, virtual] |
virtual void refresh(Bool);
Reimplemented from casa::PrincipalAxesDD.
IPosition casa::ScrollingRasterDD::latticeShape | ( | ) | [inline, protected] |
Definition at line 154 of file ScrollingRasterDD.h.
References itsLatticeShape.
IPosition casa::ScrollingRasterDD::latticesShape | ( | ) | [inline, protected] |
Definition at line 142 of file ScrollingRasterDD.h.
References itsLattices, and casa::LatticeBase::shape().
virtual MaskedLattice<Float>* casa::ScrollingRasterDD::maskedLattice | ( | ) | [inline, protected, virtual] |
Definition at line 105 of file ScrollingRasterDD.h.
References itsLatticeConcatPtr.
virtual const Bool casa::ScrollingRasterDD::maskValue | ( | const IPosition & | pos | ) | [protected, virtual] |
Bool casa::ScrollingRasterDD::needResize | ( | ) | [inline, protected] |
Definition at line 146 of file ScrollingRasterDD.h.
References itsNeedResize.
void casa::ScrollingRasterDD::operator= | ( | const ScrollingRasterDD & | other | ) | [protected] |
(Required) copy assignment.
virtual void casa::ScrollingRasterDD::recreateEmptyLattices | ( | uInt | changedScanNumber = 0 | ) | [protected, virtual] |
virtual WCResampleHandler* casa::ScrollingRasterDD::resampleHandler | ( | ) | [inline, virtual] |
Definition at line 83 of file ScrollingRasterDD.h.
References itsResampleHandler.
uInt casa::ScrollingRasterDD::scanNumber | ( | ) | [inline, protected] |
Definition at line 138 of file ScrollingRasterDD.h.
References itsScanNumber.
virtual void casa::ScrollingRasterDD::setDefaultOptions | ( | ) | [virtual] |
install the default options for this DisplayData
Reimplemented from casa::PrincipalAxesDD.
void casa::ScrollingRasterDD::setHeaderMax | ( | Float | x | ) | [inline, protected] |
Definition at line 134 of file ScrollingRasterDD.h.
References itsHeaderMax.
void casa::ScrollingRasterDD::setHeaderMin | ( | Float | x | ) | [inline, protected] |
Definition at line 133 of file ScrollingRasterDD.h.
References itsHeaderMin.
void casa::ScrollingRasterDD::setHeaderReceived | ( | Bool | x | ) | [inline, protected] |
Definition at line 140 of file ScrollingRasterDD.h.
References itsHeaderReceived.
virtual Bool casa::ScrollingRasterDD::setLabellerOptions | ( | Record & | , |
Record & | |||
) | [inline, virtual] |
distribute options to all the axis labellers - empty here, we use WorldAxesDD
Reimplemented from casa::PrincipalAxesDD.
Definition at line 74 of file ScrollingRasterDD.h.
References casa::False.
void casa::ScrollingRasterDD::setLatticeShape | ( | const IPosition | x | ) | [inline, protected] |
void setPlaneNumber(const uInt x) { itsPlaneNumber = x; } uInt planeNumber() { return itsPlaneNumber; }
Definition at line 153 of file ScrollingRasterDD.h.
References itsLatticeShape.
void casa::ScrollingRasterDD::setNeedResize | ( | const Bool | x | ) | [inline, protected] |
Definition at line 145 of file ScrollingRasterDD.h.
References itsNeedResize.
virtual Bool casa::ScrollingRasterDD::setOptions | ( | Record & | rec, |
Record & | recOut | ||
) | [virtual] |
apply options stored in val to the DisplayData; return value True means a refresh is needed...
Reimplemented from casa::PrincipalAxesDD.
void casa::ScrollingRasterDD::setScanNumber | ( | uInt | x | ) | [inline, protected] |
Definition at line 137 of file ScrollingRasterDD.h.
References itsScanNumber.
virtual void casa::ScrollingRasterDD::setSpectralPreference | ( | CoordinateSystem & | , |
const String & | , | ||
const String & | |||
) | [inline, protected, virtual] |
Set Spectral preference -> not used here.
Definition at line 130 of file ScrollingRasterDD.h.
virtual void casa::ScrollingRasterDD::setupElements | ( | ) | [protected, virtual] |
functions need by above
Reimplemented from casa::PrincipalAxesDD.
uInt casa::ScrollingRasterDD::shiftAxis | ( | ) | [inline, protected] |
Definition at line 143 of file ScrollingRasterDD.h.
References itsShiftAxis.
virtual String casa::ScrollingRasterDD::showValue | ( | const Vector< Double > & | world | ) | [protected, virtual] |
Format a string containing value information at the given world coordinate.
Implements casa::DisplayData.
virtual Bool casa::ScrollingRasterDD::sizeControl | ( | WorldCanvasHolder & | wcHolder, |
AttributeBuffer & | holderBuf | ||
) | [virtual] |
sizeControlFunction, called by the WorldCanvasHolder to setup the WorldCanvas linear coordinate system
Reimplemented from casa::PrincipalAxesDD.
virtual void casa::ScrollingRasterDD::updateLattice | ( | const Record & | ) | [inline, virtual] |
Definition at line 61 of file ScrollingRasterDD.h.
virtual void casa::ScrollingRasterDD::updateLattice | ( | Array< Float > & | , |
CoordinateSystem & | |||
) | [virtual] |
virtual void casa::ScrollingRasterDD::updateLatticeConcat | ( | Array< Float > * | = NULL , |
CoordinateSystem * | = NULL |
||
) | [protected, virtual] |
virtual void casa::ScrollingRasterDD::updateLatticeStatistics | ( | ) | [protected, virtual] |
virtual Vector<String> casa::ScrollingRasterDD::worldAxisNames | ( | ) | const [protected, virtual] |
Miscellaneous information supply routines.
Reimplemented from casa::PrincipalAxesDD.
virtual Vector<String> casa::ScrollingRasterDD::worldAxisUnits | ( | ) | const [protected, virtual] |
Reimplemented from casa::PrincipalAxesDD.
friend class ScrollingRasterDM [friend] |
Definition at line 86 of file ScrollingRasterDD.h.
Int casa::ScrollingRasterDD::itsFilledCount [private] |
Definition at line 172 of file ScrollingRasterDD.h.
Definition at line 168 of file ScrollingRasterDD.h.
Float casa::ScrollingRasterDD::itsHeaderMax [private] |
Definition at line 181 of file ScrollingRasterDD.h.
Referenced by headerMax(), and setHeaderMax().
Float casa::ScrollingRasterDD::itsHeaderMin [private] |
Definition at line 180 of file ScrollingRasterDD.h.
Referenced by headerMin(), and setHeaderMin().
Definition at line 179 of file ScrollingRasterDD.h.
Referenced by headerReceived(), and setHeaderReceived().
ImageInterface<Float> *itsImagePtr; Array<Float> *itsBaseArrayPtr;.
Definition at line 165 of file ScrollingRasterDD.h.
Referenced by maskedLattice().
MaskedLattice<Float>** casa::ScrollingRasterDD::itsLattices [private] |
Definition at line 174 of file ScrollingRasterDD.h.
Referenced by latticesShape().
Definition at line 183 of file ScrollingRasterDD.h.
Referenced by latticeShape(), and setLatticeShape().
MaskedLattice<Float> *itsMaskedLatticePtr;.
Definition at line 167 of file ScrollingRasterDD.h.
Bool casa::ScrollingRasterDD::itsNeedResize [private] |
Definition at line 176 of file ScrollingRasterDD.h.
Referenced by needResize(), and setNeedResize().
String casa::ScrollingRasterDD::itsResample [private] |
IPosition itsScanShape; uInt itsPlaneNumber;.
storage for the display parameters
Definition at line 188 of file ScrollingRasterDD.h.
pointer to resampler
Definition at line 191 of file ScrollingRasterDD.h.
Referenced by resampleHandler().
uInt casa::ScrollingRasterDD::itsScanNumber [private] |
Definition at line 182 of file ScrollingRasterDD.h.
Referenced by scanNumber(), and setScanNumber().
uInt casa::ScrollingRasterDD::itsShiftAxis [private] |
Definition at line 177 of file ScrollingRasterDD.h.
Referenced by shiftAxis().
uInt casa::ScrollingRasterDD::nDim [private] |
Definition at line 161 of file ScrollingRasterDD.h.