28 #ifndef TRIALDISPLAY_PRINCIPALAXESDM_H
29 #define TRIALDISPLAY_PRINCIPALAXESDM_H
39 template <
class T>
class Vector;
44 class WorldCanvasHolder;
A Vector of integers, for indexing into Array<T> objects.
casacore::IPosition sliceShape
std::vector< double > Vector
virtual ~PrincipalAxesDM()
Destructor.
casacore::IPosition start
Some data members which all display elements along principal axes will play around with: ...
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...
casacore::uInt itsZAxisNum
Buffer for storing Attributes.
virtual casacore::Bool dataRedrawSelf(WorldCanvas *, Display::RefreshReason)
Called by draw(): an optimization for ColormapChange in 24bit mode.
casacore::Bool notUsed
Drawlist state.
virtual void cleanup()
clear drawlist state.
casacore::IPosition stride
virtual void setup(casacore::IPosition fixedPos)
This method does setup stuff that is common to all elements of an axis-bound display data element...
casacore::uInt itsYAxisNum
virtual casacore::IPosition dataShape()=0
This method should be defined in derived classes to simply return the shape of the data object...
Interface for DisplayDatas which have data arranged in axes.
PrincipalAxesDM()
The logic behind this cryptic code (see LatticePADM::dataGetSlice): If a either a 1xN or Nx1 slice (i...
void operator=(const PrincipalAxesDM &other)
(Required) copy assignment.
bool Bool
Define the standard types used by Casacore.
virtual void draw(Display::RefreshReason reason, WorldCanvasHolder &wcHolder)
Draw on the provided WorldCanvasHolder.
casacore::uInt drawListNumber
RefreshReason
Callback reasons for PCRefreshEvent and WCRefreshEvent.
Base class for drawing a particular element (view) of a DisplayData.
A holder to interface between DisplayDatas and a WorldCanvas.
Implementation of drawing in world coordinates on top of a PixelCanvas.
AttributeBuffer drawState
virtual casacore::Bool needToTranspose()
Is a transpose necessary?
Interface for DisplayMethods which have data arranged in "axes.".
casacore::uInt itsXAxisNum
Axis numbers for internal book-keeping.
WorldCanvasHolder * holder
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.