Destructor.
Draw on the provided WorldCanvasHolder. This method provides generic preparation that is common to all objects which are being sliced along principal axes. It calls the pure virtual functions (below) which must be defined in fully typed derived classes.
clear drawlist state.
This method should be defined in derived classes to simply return the shape of the data object, eg. Array.shape() or Image.shape(), etc.
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.
Called by draw(): an optimization for ColormapChange in 24bit mode. Redraws the last image using only mapToColor on the WorldCanvas, if possible. If it returns True, the new method WC::redrawIndexedImage() was used successfully (otherwise, draw() continues in the normal way). Override to enable, if necessary (see LatticePADMRaster for an example).
Is a transpose necessary?
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() Array will be 1-dimensional, which the Matrix = Array operator will turn into an Nx1 matrix. If, on the other hand, there is no degeneracy in the desired slice Matrix, it is returned in lattice (not X,Y) order. (dk)
(Required) default constructor.
(Required) copy constructor.
(Required) copy assignment.