casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrincipalAxesDD.h
Go to the documentation of this file.
1 //# PrincipalAxesDD.h: Base class for axis-bound 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 #ifndef TRIALDISPLAY_PRINCIPALAXESDD_H
29 #define TRIALDISPLAY_PRINCIPALAXESDD_H
30 
31 // aips includes:
32 #include <casa/aips.h>
33 
34 // trial includes:
36 
37 // display library includes:
40 
41 namespace casacore{
42 
43  template <class T> class Vector;
44  class String;
45  template <class T> class ImageInterface;
46 }
47 
48 namespace casa { //# NAMESPACE CASA - BEGIN
49 
50 // forwards:
51  class WorldCanvas;
52  class WorldCanvasHolder;
53  class AttributeBuffer;
54  class WCPositionEvent;
55  class WCMotionEvent;
56  class WCRefreshEvent;
57  class DisplayCoordinateSystem;
58  class WCCSNLAxisLabeller;
59  class PrincipalAxesDM;
60 
61  class ImageAnalysis;
62 
63 // <summary>
64 // Interface for DisplayDatas which have data arranged in axes.
65 // </summary>
66 //
67 // <synopsis>
68 // This class adds to the interface defined by DisplayData to
69 // provide the necessary infrastructure for managing data which
70 // is arranged in "axes," ie. lattice or column-based data.
71 // </synopsis>
72 
73  class PrincipalAxesDD : public DisplayData {
74 
75  public:
76 
77  // constructor
78  PrincipalAxesDD( casacore::uInt xAxis, casacore::uInt yAxis, casacore::Int mAxis = -1, casacore::Bool axisLabels = true, viewer::StatusSink *sink=0 );
79 
80  // destructor
81  virtual ~PrincipalAxesDD();
82 
83  // casacore::Coordinate transformation handlers, called by WorldCanvasHolder
84  // <group>
91  // </group>
92 
93  // casacore::Format a string containing coordinate and data information at the
94  // given world coordinate
96  const casacore::Bool &displayAxesOnly = false);
97 
98  // casacore::Format a string containing coordinate and data information at the
99  // given world coordinate. This function let's you specify output
100  // conditions (world/pixel and abs/rel)
102  const casacore::Bool &showAbs, const casacore::Bool &displayAxesOnly);
103 
104  virtual void setSubstituteTitleText( const casacore::String text );
105  // Is the DD is capable (in its current state) of drawing
106  // in the current DisplayCoordinateSystem of the WCH's WorldCanvas?
107  virtual casacore::Bool conformsToCS(const WorldCanvas &wc);
108 
109  // Miscellaneous information supply routines
110  // <group>
114  virtual void worldAxisType(casacore::Coordinate::Type &type, casacore::Int &coordinate,
115  casacore::Int &axisincoord, const casacore::uInt &worldaxisnum);
116  virtual casacore::String worldAxisCode(const casacore::uInt &worldaxisnum);
117  // </group>
118 
119  // Return the number of display elements (eg. drawable images) in this
120  // DisplayData
121  // <group>
122  virtual casacore::uInt nelements(const WorldCanvasHolder &wcHolder) const;
123  virtual casacore::uInt nelements() const;
124  // </group>
125 
126  // Set and retrieve the minimum and maximum data values
127  // <group>
128  virtual void setDataMin(casacore::Double datmin);
129  virtual void setDataMax(casacore::Double datmax);
130  virtual casacore::Double getDataMin() const;
131  virtual casacore::Double getDataMax() const;
132  // </group>
133 
134  // sizeControlFunction, called by the WorldCanvasHolder to setup the
135  // WorldCanvas linear coordinate system
136  virtual casacore::Bool sizeControl(WorldCanvasHolder& wcHolder,
137  AttributeBuffer& holderBuf);
138 
139  // Position event handler, called by the WorldCanvasHolder
140  virtual void positionEH(const WCPositionEvent& ev);
141 
142  // Motion event handler, called by the WorldCanvasHolder
143  virtual void motionEH(const WCMotionEvent& ev);
144 
145 
146  // refresh handler, called by the WorldCanvasHolder
147  virtual void refreshEH(const WCRefreshEvent& ev);
148 
149  // label/draw the axes
150  virtual casacore::Bool labelAxes(const WCRefreshEvent &ev);
151  virtual casacore::Bool canLabelAxes() const;
152 
153  // required function to tidy up our elements, primarily
154  virtual void cleanup();
155 
156  // install the default options for this DisplayData
157  virtual void setDefaultOptions();
158 
159  // apply options stored in val to the DisplayData; return value
160  // true means a refresh is needed...
162 
163 
164  // retrieve the current and default options and parameter types.
165  virtual casacore::Record getOptions( bool scrub ) const;
166 
167  // distribute options to all the axis labellers
169 
170  // retrieve options from the axis labellers
171  virtual casacore::Record getLabellerOptions( bool scrub=false ) const;
172 
173  // Sets which axes are on display and animator, and positions for
174  // animator and sliders. Pass 'reset' as false if you don't need
175  // an unzoom (e.g. when display axes are unchanged).
176  virtual void setAxes(const casacore::uInt xAxis, const casacore::uInt yAxis, const casacore::uInt mAxis,
177  const casacore::IPosition fixedPos, casacore::Bool reset=true);
178 
179  // query the number of dimensions in the data
180  virtual casacore::uInt nDim() {
181  return dataDim();
182  }
183 
184  // retrieve the DisplayCoordinateSystem
186  return itsCoordSys;
187  }
188 
189  // retrieve the original DisplayCoordinateSystem
191  return itsOrigCoordSys;
192  }
193 
194  // set the DisplayCoordinateSystem and the original DisplayCoordinateSystem
195  void setCoordinateSystem(const DisplayCoordinateSystem &coordsys);
196 
197  // set the DisplayCoordinateSystem to be the same as the original
198  // DisplayCoordinateSystem
200 
201  // set a Linear casacore::Coordinate in case of pixToWorld undefined for the
202  // blc/trc
205 
206  // Return the class name of this DisplayData; useful mostly for
207  // debugging purposes, and perhaps future use in the glish widget
208  // interface.
210  return casacore::String("PrincipalAxesDD");
211  }
212 
213  // Get the current fixed position
215  return itsFixedPosition;
216  }
217 
218  // Get the current display axis numbers
219  virtual std::vector<int> displayAxes() const {
220  return itsDisplayAxes;
221  }
222 
223  // Get the current setting of pixel treatment mode
226  }
227 
228 
229  //# (dk note 12/04: Axis Label state is maintained by eight different
230  //# PADD methods; someone has begun using the bool below to bypass that
231  //# maintenance. Well, ok; it can work that way as a construction
232  //# parameter that is unchanged thereafter. But simply turning it back
233  //# on later will not make that state available or consistent; it will
234  //# just cause crashes. Please see me for what's needed to properly
235  //# support this method if you need to restore it).
236  //#
237  //# void usesAxisLabels(casacore::Bool state) {
238  //# itsUsesAxisLabels = state;
239  //# }
240 
241 
242  // Convert a 2D worldCoordinate of the WorldCanvas to a full worldcoordinate
243  // and full pixel position
247 
248  virtual void notifyUnregister(WorldCanvasHolder& wcHolder,
249  casacore::Bool ignoreRefresh = false);
250 
251  // allow external functions to translate axes...
253  return itsTransPixelAxes[idx];
254  }
256  return itsFixedPosition[idx];
257  }
258  const casacore::String &xaxisStr( ) const {
259  return itsOptionsXAxis;
260  }
261  const casacore::String &yaxisStr( ) const {
262  return itsOptionsYAxis;
263  }
264  const casacore::String &zaxisStr( ) const {
265  return itsOptionsZAxis;
266  }
267  const casacore::String &spectStr( ) const;
268 
269  // Convert list of world axis names to pixel axis names
271 
272  const casacore::String &spectralunitStr( ) const;
274 
275  bool hasMovieDimension( ) const {
277  }
278 
279  std::string errorMessage( ) const { return error_string; }
280 
281  protected:
282 
283  // Set internal index (activeZIndex_) into the list of DMs (which cache
284  // individual drawings), according to passed animator index. This is
285  // called by conformsTo() (via conformsToZIndex()), and serves to
286  // 'focus' the DD on the current WCH's zIndex.
287  // Returns true if there is only one frame, in which case activeZIndex_
288  // is set to 0. Thus a single frame is considered to apply to any
289  // canvas zIndex setting (this allows a continuum image to be blinked
290  // with a chosen channel of a spectral image, e.g.).
291  // If there is more than one frame, the passed zindex is stored, and
292  // the return value will indicate whether it lies within the DD's
293  // current number of frames.
295 
296  // Derived classes will implement if applicable (at present,
297  // LatticePADDs may draw if they have an image with beam data).
298  virtual void drawBeamEllipse_(WorldCanvas* /*wc*/) { }
299 
300  // allow PrincipalAxesDM objects to access the coord system in
301  // parent PrincipalAxesDD object
302  friend class PrincipalAxesDM;
303 
304  virtual void setNumImages(const casacore::uInt nimages) {
305  itsNumImages = nimages;
306  }
307 
309 
310  // Internal state
312 
313  // min and max to use for drawing
316 
317  // internal bookkeeping
318  // number of axes
322 
323  // format for diplaying numbers in the tracker
325 
326  // do some setup work, part of construction and changing dataset
327  void setup(casacore::IPosition fixedPos);
328 
329  // functions need by above
330  virtual void setupElements();
331  virtual void getMinAndMax() = 0;
332 
333  // Helper routine for setting up the transpose vectors for the coordinate
334  // system.
336 
337  // helper to transpose coordinates
338  // <group>
341  // </group>
342 
343  // Set velocity state
345  const casacore::String& velTypeString,
346  const casacore::String& unitString);
347 
348  // Set Spectral formatting
350  const casacore::String& velTypeString,
351  const casacore::String& unitString,
352  const casacore::String& frequency_system = "");
353 
354  // Determine the active image (if any).
355  // (Deprecated (7/04). Use confromsToZIndex(wch) instead).
357 
358  // (Required) default constructor.
359  PrincipalAxesDD();
360 
361  // (Required) copy constructor.
362  PrincipalAxesDD(const PrincipalAxesDD &other);
363 
364  // (Required) copy assignment.
365  void operator=(const PrincipalAxesDD &other);
366 
367  std::string error_string;
368 
369  private:
370 
371  // axis numbers IN ORIGINAL COORDINATE SYSTEM; zAxisNum = -1 means
372  // no third axis in data set
376 
377  // the x (0), y (1) and z/movie (2) axis numbers
378  std::vector<int> itsDisplayAxes;
379 
380  // Store options:
381  // Axis selection ---
384 
385  // treatment of edge pixels
387 
388  // number of elements (images) in this DisplayData
390 
391  // This CS is the one we were constructed with
394 
395  // This is the working CS which is transposed and has axes removed
396  // all over the place
397 
398  // (dk note: The authors explain this poorly, and don't seem to make
399  // the distinction even for themselves very well: there are _two_
400  // relevant coordinate transformations here, not just one. itsOrigCoordSys
401  // defines the world space for the _data_ pixels. itsCoordSys defines the
402  // world space for the _canvas_. Control and setting of the canvas CS is
403  // poorly modularized, and the DDs remain involved in too much of the
404  // _canvas's_ coordinate translation chores).
405 
407 
408  // casacore::List of AxisLabellers.
410 
411  // Aspect selection ---
413 
414  // Position tracking variables
415  // This CS is the one we use to set the appropriate state for
416  // PositionTracking. It is pretty much the same as itsOriginalCoordSys
417  // but the formtting and velocity state (if there is a SC) may differ
418 
424 
425  // buffer for string sizecontrol done by this ImageDisplayData
427 
428  // the coordinates of the axes that do not vary
430 
431  // how the axes are permuted
434 
435  // world ranges for toMix conversions
437 
438  // Temporaries for coordinate conversions.
439  // You should only use one temporary per function.
443  //
445  //
449  //
451 
453 
454  // Find out if casacore::SpectralCoordinate can have velocity units
456 
457  // Remove list of pixel axes from CS
459  casacore::uInt startAxis,
461 
464 
465  };
466 
467 
468 } //# NAMESPACE CASA - END
469 
470 #endif
casacore::Vector< casacore::Double > itsWorldOutTmp3
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
casacore::Coordinate::formatType itsNotation
format for diplaying numbers in the tracker
virtual casacore::Record getLabellerOptions(bool scrub=false) const
retrieve options from the axis labellers
virtual casacore::Vector< casacore::String > worldAxisNames() const
Miscellaneous information supply routines.
casacore::Int xlatePixelAxes(casacore::Int idx) const
allow external functions to translate axes...
virtual void refreshEH(const WCRefreshEvent &ev)
refresh handler, called by the WorldCanvasHolder
int Int
Definition: aipstype.h:50
casacore::Bool itsUsesAxisLabels
casacore::Int xlateFixedPixelAxes(casacore::Int idx) const
casacore::PtrBlock< void * > itsAxisLabellers
casacore::List of AxisLabellers.
std::vector< double > Vector
Definition: ds9context.h:24
virtual casacore::Vector< casacore::String > worldAxisUnits() const
static const casacore::String HISTOGRAM_RANGE
Class which stores WorldCanvas refresh event information.
casacore::Vector< casacore::Bool > itsWorldAxesTmp3
casacore::IPosition itsFixedPosition
const casacore::String & spectralunitStr() const
void transposedToNormal(casacore::Vector< casacore::Double > &coord, const casacore::Vector< casacore::Int > &transPos)
const casacore::String & zaxisStr() const
void setVelocityState(DisplayCoordinateSystem &cSys, const casacore::String &velTypeString, const casacore::String &unitString)
Set velocity state.
casacore::Bool canHaveVelocityUnit(const DisplayCoordinateSystem &cSys) const
Find out if casacore::SpectralCoordinate can have velocity units.
void setSpectralFormatting(DisplayCoordinateSystem &cSys, const casacore::String &velTypeString, const casacore::String &unitString, const casacore::String &frequency_system="")
Set Spectral formatting.
virtual void reset()
Overrides PlotTool::reset().
virtual void setDataMin(casacore::Double datmin)
Set and retrieve the minimum and maximum data values.
casacore::String titleText
void setCoordinateSystem(const DisplayCoordinateSystem &coordsys)
set the DisplayCoordinateSystem and the original DisplayCoordinateSystem
casacore::Int itsXAxisNum
axis numbers IN ORIGINAL COORDINATE SYSTEM; zAxisNum = -1 means no third axis in data set ...
virtual casacore::Bool setLabellerOptions(casacore::Record &rec, casacore::Record &recout)
distribute options to all the axis labellers
casacore::Vector< casacore::Double > itsWorldInTmp1
Temporaries for coordinate conversions.
virtual casacore::uInt nDim()
query the number of dimensions in the data
virtual casacore::String pixelTreatment() const
Get the current setting of pixel treatment mode.
casacore::Vector< casacore::String > worldToPixelAxisNames(const DisplayCoordinateSystem &cSys) const
Convert list of world axis names to pixel axis names.
casacore::Vector< casacore::Double > itsPixelInTmp3
Buffer for storing Attributes.
void removeFakeCoordinateSystem()
virtual void motionEH(const WCMotionEvent &ev)
Motion event handler, called by the WorldCanvasHolder.
virtual Type type()
Return the type enum.
casacore::Vector< casacore::Int > itsTransPixelAxes
how the axes are permuted
casacore::Vector< casacore::Int > itsTransWorldAxes
virtual casacore::String className()
Return the class name of this DisplayData; useful mostly for debugging purposes, and perhaps future u...
virtual std::vector< int > displayAxes() const
Get the current display axis numbers.
casacore::String itsSpectralQuantity
DisplayCoordinateSystem itsCoordSysBackup
virtual casacore::IPosition fixedPosition() const
Get the current fixed position.
virtual void setNumImages(const casacore::uInt nimages)
casacore::Vector< casacore::Bool > itsPixelAxesTmp3
virtual void positionEH(const WCPositionEvent &ev)
Position event handler, called by the WorldCanvasHolder.
PrincipalAxesDD()
(Required) default constructor.
casacore::Bool itsAbsolute
DisplayCoordinateSystem coordinateSystem() const
retrieve the DisplayCoordinateSystem
virtual casacore::Double getDataMin() const
casacore::Vector< casacore::Double > itsFullWorldTmp4
static bool has_nonsingleton_nondegenerate_nondisplayed_axis(const DisplayData &other)
DisplayCoordinateSystem itsOrigCoordSys
This CS is the one we were constructed with.
casacore::Vector< casacore::Double > itsPixelInTmp2
formatType
This enum is used for formatting world values into Strings.
Definition: Coordinate.h:162
casacore::Bool findActiveImage(WorldCanvasHolder &wcHolder)
Determine the active image (if any).
virtual void setDataMax(casacore::Double datmax)
virtual casacore::Double getDataMax() const
Interface for DisplayDatas which have data arranged in axes.
virtual casacore::Bool setActiveZIndex_(casacore::Int zindex)
Set internal index (activeZIndex_) into the list of DMs (which cache individual drawings), according to passed animator index.
casacore::String itsOptionsPixelTreatment
treatment of edge pixels
virtual casacore::String showPosition(const casacore::Vector< casacore::Double > &world, const casacore::Bool &displayAxesOnly=false)
casacore::Format a string containing coordinate and data information at the given world coordinate ...
casacore::Vector< casacore::Double > itsWorldMin
world ranges for toMix conversions
casacore::Vector< casacore::Double > itsPixelInTmp1
virtual casacore::Vector< casacore::Double > worldAxisIncrements()
virtual casacore::Bool worldToLin(casacore::Vector< casacore::Double > &lin, const casacore::Vector< casacore::Double > &world)
virtual void notifyUnregister(WorldCanvasHolder &wcHolder, casacore::Bool ignoreRefresh=false)
ignoreRefresh tells the DD not to refresh just to clean up DMs
casacore::String itsOptionsYAxis
void normalToTransposed(casacore::Vector< casacore::Double > &coord, const casacore::Vector< casacore::Int > &transPos)
helper to transpose coordinates
virtual casacore::Bool linToFullWorld(casacore::Vector< casacore::Double > &fullWorld, const casacore::Vector< casacore::Double > &lin)
Class which stores WorldCanvas motion event information.
Definition: WCMotionEvent.h:79
casacore::String itsOptionsAspect
Aspect selection —.
casacore::Bool indexInserted(casacore::Int index, casacore::Int length, casacore::Vector< casacore::Int > &testVec)
Helper routine for setting up the transpose vectors for the coordinate system.
const casacore::String & spectStr() const
double Double
Definition: aipstype.h:55
casacore::Vector< casacore::Double > itsWorldMax
LatticeExprNode length(const LatticeExprNode &expr, const LatticeExprNode &axis)
2-argument function to get the length of an axis.
casacore::Vector< casacore::Double > itsFullPixelTmp4
void installFakeCoordinateSystem()
set a Linear casacore::Coordinate in case of pixToWorld undefined for the blc/trc ...
virtual casacore::Bool getFullCoord(casacore::Vector< casacore::Double > &fullWorld, casacore::Vector< casacore::Double > &fullPixel, const casacore::Vector< casacore::Double > &world)
Convert a 2D worldCoordinate of the WorldCanvas to a full worldcoordinate and full pixel position...
viewer::StatusSink * ssink
virtual void setSubstituteTitleText(const casacore::String text)
virtual void setAxes(const casacore::uInt xAxis, const casacore::uInt yAxis, const casacore::uInt mAxis, const casacore::IPosition fixedPos, casacore::Bool reset=true)
Sets which axes are on display and animator, and positions for animator and sliders.
virtual casacore::Bool canLabelAxes() const
virtual ~PrincipalAxesDD()
destructor
virtual void setupElements()
functions need by above
A hierarchical collection of named fields of various types.
Definition: Record.h:180
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
DisplayCoordinateSystem itsPosTrackCoordSys
Position tracking variables This CS is the one we use to set the appropriate state for PositionTracki...
virtual casacore::Bool setOptions(casacore::Record &rec, casacore::Record &recOut)
apply options stored in val to the DisplayData; return value true means a refresh is needed...
virtual casacore::Record getOptions(bool scrub) const
retrieve the current and default options and parameter types.
casacore::Double datamax
DisplayCoordinateSystem itsCoordSys
This is the working CS which is transposed and has axes removed all over the place.
virtual casacore::Bool conformsToCS(const WorldCanvas &wc)
Is the DD is capable (in its current state) of drawing in the current DisplayCoordinateSystem of the ...
casacore::Vector< casacore::Double > itsAddPixPos
the coordinates of the axes that do not vary
casacore::uInt itsNumImages
number of elements (images) in this DisplayData
void setup(casacore::IPosition fixedPos)
do some setup work, part of construction and changing dataset
std::string errorMessage() const
DisplayCoordinateSystem originalCoordinateSystem() const
retrieve the original DisplayCoordinateSystem
std::vector< int > itsDisplayAxes
the x (0), y (1) and z/movie (2) axis numbers
Type
This enum lists the types of the derived classes.
Definition: Coordinate.h:144
virtual casacore::String worldAxisCode(const casacore::uInt &worldaxisnum)
casacore::Vector< casacore::Double > itsPixelOutTmp3
virtual void getMinAndMax()=0
virtual casacore::uInt dataDim() const =0
casacore::Int itsZAxisNum
AttributeBuffer sizeControlBuf
buffer for string sizecontrol done by this ImageDisplayData
Class which stores WorldCanvas position event information.
casacore::Bool iAmRubbish
Internal state.
A holder to interface between DisplayDatas and a WorldCanvas.
Implementation of drawing in world coordinates on top of a PixelCanvas.
Definition: WorldCanvas.h:204
casacore::uInt nPixelAxes
casacore::Bool itsFractionalPixels
casacore::uInt nArrayAxes
internal bookkeeping number of axes
virtual casacore::uInt nelements() const
and non-specific
virtual casacore::Bool labelAxes(const WCRefreshEvent &ev)
label/draw the axes
String: the storage and methods of handling collections of characters.
Definition: String.h:223
bool hasMovieDimension() const
casacore::String itsSpectralUnit
virtual casacore::Bool sizeControl(WorldCanvasHolder &wcHolder, AttributeBuffer &holderBuf)
sizeControlFunction, called by the WorldCanvasHolder to setup the WorldCanvas linear coordinate syste...
casacore::Vector< casacore::Double > itsFullWorldTmp1
Interface for DisplayMethods which have data arranged in &quot;axes.&quot;.
casacore::Vector< casacore::Double > itsWorldInTmp3
virtual void setDefaultOptions()
install the default options for this DisplayData
void operator=(const PrincipalAxesDD &other)
(Required) copy assignment.
Base class for display objects.
Definition: DisplayData.h:317
casacore::String itsOptionsZAxis
casacore::Vector< casacore::Bool > itsWorldAxesTmp1
virtual void drawBeamEllipse_(WorldCanvas *)
Derived classes will implement if applicable (at present, LatticePADDs may draw if they have an image...
casacore::Vector< casacore::Bool > itsPixelAxesTmp1
casacore::Double datamin
min and max to use for drawing
casacore::String itsOptionsXAxis
Store options: Axis selection —.
virtual void worldAxisType(casacore::Coordinate::Type &type, casacore::Int &coordinate, casacore::Int &axisincoord, const casacore::uInt &worldaxisnum)
void restoreCoordinateSystem()
set the DisplayCoordinateSystem to be the same as the original DisplayCoordinateSystem ...
casacore::uInt nWorldAxes
virtual casacore::Bool linToWorld(casacore::Vector< casacore::Double > &world, const casacore::Vector< casacore::Double > &lin)
casacore::Coordinate transformation handlers, called by WorldCanvasHolder
unsigned int uInt
Definition: aipstype.h:51
void removePixelAxes(DisplayCoordinateSystem &cSys, casacore::uInt startAxis, const casacore::IPosition &fixedPosition)
Remove list of pixel axes from CS.
casacore::Int itsYAxisNum
virtual void cleanup()
required function to tidy up our elements, primarily
const casacore::String & xaxisStr() const
const casacore::String & yaxisStr() const
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42