17 #ifndef ANNOTATIONS_ANNPOLYLINE_H
18 #define ANNOTATIONS_ANNPOLYLINE_H
88 void worldVertices(std::vector<casacore::Quantity>& x, std::vector<casacore::Quantity>& y)
const;
91 void pixelVertices(std::vector<casacore::Double>& x, std::vector<casacore::Double>& y)
const;
94 virtual std::ostream&
print(std::ostream &os)
const;
A Vector of integers, for indexing into Array<T> objects.
A 1-D Specialization of the Array class.
void pixelVertices(std::vector< casacore::Double > &x, std::vector< casacore::Double > &y) const
get the pixel coordinates of the polygon vertices
This class represents a annotation referring to a region specified in an ascii region file as propose...
casacore::Vector< casacore::Quantity > _origXPos
void worldVertices(std::vector< casacore::Quantity > &x, std::vector< casacore::Quantity > &y) const
get the world coordinates of the polygon vertices
This class represents a single polyline (in position coordinates) annotation specified in an ascii re...
AnnPolyline & operator=(const AnnPolyline &other)
implicit copy constructor and destructor are fine
virtual std::ostream & print(std::ostream &os) const
bool Bool
Define the standard types used by Casacore.
casacore::Vector< casacore::MDirection > getCorners() const
get the vertices converted to the coordinate system used at construction.
casacore::Vector< casacore::Quantity > _origYPos
AnnPolyline(const casacore::Vector< casacore::Quantity > &xPositions, const casacore::Vector< casacore::Quantity > &yPositions, const casacore::String &dirRefFrameString, const casacore::CoordinateSystem &csys, const casacore::IPosition &imShape, const casacore::Quantity &beginFreq, const casacore::Quantity &endFreq, const casacore::String &freqRefFrameString, const casacore::String &dopplerString, const casacore::Quantity &restfreq, const casacore::Vector< casacore::Stokes::StokesTypes > stokes, const casacore::Bool annotationOnly, const casacore::Bool requireImageRegion=true)
String: the storage and methods of handling collections of characters.
Interconvert pixel and world coordinates.