casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
casa::LatticePADisplayMethod< T > Class Template Reference

Partial implementation of PrincipalAxesDM for casacore::Lattice-based data. More...

#include <LatticePADM.h>

Inheritance diagram for casa::LatticePADisplayMethod< T >:
casa::PrincipalAxesDM casa::DisplayMethod casa::LatticePADMContour< T > casa::LatticePADMMarker< T > casa::LatticePADMRaster< T > casa::LatticePADMVector< T >

Public Member Functions

 LatticePADisplayMethod ()
 Constructor do I need the default constructor? More...
 
 LatticePADisplayMethod (const casacore::uInt xAxis, const casacore::uInt yAxis, const casacore::uInt mAxis, const casacore::IPosition fixedPos, LatticePADisplayData< T > *arDat)
 
 LatticePADisplayMethod (const casacore::uInt xAxis, const casacore::uInt yAxis, LatticePADisplayData< T > *arDat)
 2d version More...
 
virtual ~LatticePADisplayMethod ()
 Destructor. More...
 
virtual casacore::Bool dataGetSlice (casacore::Matrix< T > &datMatrix, casacore::Matrix< casacore::Bool > &mask, const casacore::IPosition &start, const casacore::IPosition &sliceShape, const casacore::IPosition &stride)
 Extract data from the lattice: used by draw() in PrincipalAxesDM this is probably not needed in this class... More...
 
- Public Member Functions inherited from casa::PrincipalAxesDM
 PrincipalAxesDM (casacore::uInt xAxis, casacore::uInt yAxis, casacore::uInt mAxis, PrincipalAxesDD *padd)
 User constructor. More...
 
virtual ~PrincipalAxesDM ()
 Destructor. More...
 
virtual void draw (Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
 Draw on the provided WorldCanvasHolder. More...
 
virtual void cleanup ()
 clear drawlist state. More...
 
- Public Member Functions inherited from casa::DisplayMethod
 DisplayMethod (DisplayData *parentDisplayData)
 Constructor. More...
 
virtual ~DisplayMethod ()
 Destructor. More...
 
void addRestriction (Attribute &newAt, casacore::Bool permanent)
 Set & remove restrictions. More...
 
void addRestrictions (AttributeBuffer &newBuf)
 
void setRestriction (Attribute &newAt)
 
void setRestrictions (AttributeBuffer &newBuf)
 
void removeRestriction (const casacore::String &name)
 
casacore::Bool existRestriction (const casacore::String &name)
 
void clearRestrictions ()
 
casacore::Bool matches (Attribute &at)
 match restriction More...
 
casacore::Bool matches (AttributeBuffer &atBuf)
 

Protected Member Functions

virtual casacore::IPosition dataShape ()
 Query the shape of the lattice: used by draw() in PrincipalAxesDM. More...
 
virtual casacore::Bool dataGetSlice (casacore::Matrix< T > &datMatrix, casacore::Matrix< casacore::Bool > &mask, const casacore::IPosition &start, const casacore::IPosition &sliceShape, const casacore::IPosition &stride, casacore::MaskedLattice< T > &latt)
 
- Protected Member Functions inherited from casa::PrincipalAxesDM
virtual void setup (casacore::IPosition fixedPos)
 This method does setup stuff that is common to all elements of an axis-bound display data element. More...
 
virtual void setup2d ()
 
virtual casacore::uInt dataDrawSelf (WorldCanvas *wCanvas, const casacore::Vector< casacore::Double > &blc, const casacore::Vector< casacore::Double > &trc, const casacore::IPosition &start, const casacore::IPosition &sliceShape, const casacore::IPosition &stride, const casacore::Bool usePixelEdges=false)=0
 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. More...
 
virtual casacore::Bool dataRedrawSelf (WorldCanvas *, Display::RefreshReason)
 Called by draw(): an optimization for ColormapChange in 24bit mode. More...
 
virtual casacore::Bool needToTranspose ()
 Is a transpose necessary? More...
 
 PrincipalAxesDM ()
 The logic behind this cryptic code (see LatticePADM::dataGetSlice): If a either a 1xN or Nx1 slice (including 1x1) is requested, LatticePADM's latt.getSlice() casacore::Array will be 1-dimensional, which the casacore::Matrix = casacore::Array operator will turn into an Nx1 matrix. More...
 
 PrincipalAxesDM (const PrincipalAxesDM &other)
 (Required) copy constructor. More...
 
void operator= (const PrincipalAxesDM &other)
 (Required) copy assignment. More...
 
- Protected Member Functions inherited from casa::DisplayMethod
 DisplayMethod ()
 (Required) default constructor. More...
 
 DisplayMethod (const DisplayMethod &other)
 (Required) copy constructor. More...
 
void operator= (const DisplayMethod &other)
 (Required) copy assignment. More...
 
DisplayDataparentDisplayData ()
 Return the parent DisplayData. More...
 

Additional Inherited Members

- Protected Attributes inherited from casa::PrincipalAxesDM
casacore::IPosition start
 Some data members which all display elements along principal axes will play around with: More...
 
casacore::IPosition sliceShape
 
casacore::IPosition stride
 
- Protected Attributes inherited from casa::DisplayMethod
AttributeBuffer restrictions
 

Detailed Description

template<class T>
class casa::LatticePADisplayMethod< T >

Partial implementation of PrincipalAxesDM for casacore::Lattice-based data.

Synopsis

This class is a partial (ie. base) implementation of PrincipalAxesDM which adds methods particular to handling casacore::Lattice-based data.

Definition at line 58 of file LatticePADM.h.

Constructor & Destructor Documentation

Constructor do I need the default constructor?

template<class T >
casa::LatticePADisplayMethod< T >::LatticePADisplayMethod ( const casacore::uInt  xAxis,
const casacore::uInt  yAxis,
const casacore::uInt  mAxis,
const casacore::IPosition  fixedPos,
LatticePADisplayData< T > *  arDat 
)
template<class T >
casa::LatticePADisplayMethod< T >::LatticePADisplayMethod ( const casacore::uInt  xAxis,
const casacore::uInt  yAxis,
LatticePADisplayData< T > *  arDat 
)

2d version

template<class T >
virtual casa::LatticePADisplayMethod< T >::~LatticePADisplayMethod ( )
virtual

Destructor.

Member Function Documentation

template<class T >
virtual casacore::Bool casa::LatticePADisplayMethod< T >::dataGetSlice ( casacore::Matrix< T > &  datMatrix,
casacore::Matrix< casacore::Bool > &  mask,
const casacore::IPosition start,
const casacore::IPosition sliceShape,
const casacore::IPosition stride 
)
virtual

Extract data from the lattice: used by draw() in PrincipalAxesDM this is probably not needed in this class...

template<class T >
virtual casacore::Bool casa::LatticePADisplayMethod< T >::dataGetSlice ( casacore::Matrix< T > &  datMatrix,
casacore::Matrix< casacore::Bool > &  mask,
const casacore::IPosition start,
const casacore::IPosition sliceShape,
const casacore::IPosition stride,
casacore::MaskedLattice< T > &  latt 
)
protectedvirtual
template<class T >
virtual casacore::IPosition casa::LatticePADisplayMethod< T >::dataShape ( )
protectedvirtual

Query the shape of the lattice: used by draw() in PrincipalAxesDM.

Implements casa::PrincipalAxesDM.


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