casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ScrollingRasterDM.h
Go to the documentation of this file.
1 //# ScrollingRasterDM.h: Base class for scrolling DisplayData objects
2 //# Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //# $Id$
27 //
28 
29 #ifndef TRIALDISPLAY_SCROLLINGRASTERDM_H
30 #define TRIALDISPLAY_SCROLLINGRASTERDM_H
31 
33 
34 namespace casa { //# NAMESPACE CASA - BEGIN
35 
36 // <summary>
37 // Base class for scrolling DisplayData objects
38 // </summary>
39 
41 
42  public:
43 
45  casacore::IPosition fixedPos, PrincipalAxesDD *padd);
46 
47  protected:
48 
49  virtual void setup(casacore::IPosition fixedPos);
51 
52  virtual casacore::uInt dataDrawSelf(WorldCanvas *wCanvas,
58  const casacore::Bool usePixelEdges = false);
59 
60 
63  const casacore::IPosition& start,
64  const casacore::IPosition& sliceShape,
65  const casacore::IPosition& stride);
66 
67  private:
68 
69  };
70 
71 
72 } //# NAMESPACE CASA - END
73 
74 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
ScrollingRasterDM(casacore::uInt xAxis, casacore::uInt yAxis, casacore::Int mAxis, casacore::IPosition fixedPos, PrincipalAxesDD *padd)
casacore::IPosition sliceShape
int Int
Definition: aipstype.h:50
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)
This method should be defined in derived classes to actually draw the data contained in datMatrix...
casacore::IPosition start
Some data members which all display elements along principal axes will play around with: ...
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
casacore::IPosition stride
virtual casacore::IPosition dataShape()
This method should be defined in derived classes to simply return the shape of the data object...
virtual casacore::Bool dataGetSlice(casacore::Matrix< casacore::Float > &data, casacore::Matrix< casacore::Bool > &mask, const casacore::IPosition &start, const casacore::IPosition &sliceShape, const casacore::IPosition &stride)
Interface for DisplayDatas which have data arranged in axes.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
Definition: PlotData.h:48
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
virtual void setup(casacore::IPosition fixedPos)
This method does setup stuff that is common to all elements of an axis-bound display data element...
Base class for scrolling DisplayData objects.
Implementation of drawing in world coordinates on top of a PixelCanvas.
Definition: WorldCanvas.h:204
Interface for DisplayMethods which have data arranged in &quot;axes.&quot;.
unsigned int uInt
Definition: aipstype.h:51