Source
xxxxxxxxxx
const DisplayCoordinateSystem& cSys, casacore::String& err);
//# QtWCBox.h: Class to define a box shaped WC region
//# Copyright (C) 1998,1999,2001
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//# $Id: QtWCBox.h 20567 2009-04-09 23:12:39Z gervandiepen $
//# Includes
namespace casacore{
class LCRegion;
class TableRecord;
class IPosition;
}
namespace casa { //# NAMESPACE CASA - BEGIN
//# Forward Declarations
class QtWCBox : public casacore::WCRegion {
public:
QtWCBox();
// Construct from vectors of world coordinates
// defining the box corners. It is assumed that the
// order of the values is in the order of the pixel axes
// in the given coordinate system.
// <group>
QtWCBox(const casacore::Vector<casacore::Quantum<casacore::Double> >& blc,
const casacore::Vector<casacore::Quantum<casacore::Double> >& trc,
const DisplayCoordinateSystem& cSys,
const casacore::Vector<casacore::Int>& absRel);
// </group>
// Construct from vectors of world coordinates
// defining the box corners. You specify the pixel
// axis order of the world values.
// <group>
QtWCBox(const casacore::Vector<casacore::Quantum<casacore::Double> >& blc,
const casacore::Vector<casacore::Quantum<casacore::Double> >& trc,
const casacore::IPosition& pixelAxes,
const DisplayCoordinateSystem& cSys,
const casacore::Vector<casacore::Int>& absRel);
// </group>
// Construct from the bounding box of an <src>casacore::LCRegion</src>.
QtWCBox(const casacore::LCRegion& region,
const DisplayCoordinateSystem& cSys);
// Copy constructor (reference semantics [except for <src>DisplayCoordinateSystem</src>])
QtWCBox (const QtWCBox& other);
// Destructor
virtual ~QtWCBox();
// Assignment (copy semantics)
QtWCBox& operator= (const QtWCBox& other);
// Comparison