casa::AnnVector Class Reference

Represents a vector annotation which has a start and ending point. More...

#include <AnnVector.h>

Inheritance diagram for casa::AnnVector:
casa::AnnotationBase

List of all members.

Public Member Functions

 AnnVector (const Quantity &xStart, const Quantity &yStart, const Quantity &xEnd, const Quantity &yEnd, const String &dirRefFrameString, const CoordinateSystem &csys, const Quantity &beginFreq, const Quantity &endFreq, const String &freqRefFrame, const String &dopplerString, const Quantity &restfreq, const Vector< Stokes::StokesTypes > &stokes)
 AnnVector (const Quantity &xStart, const Quantity &yStart, const Quantity &xEnd, const Quantity &yEnd, const CoordinateSystem &csys, const Vector< Stokes::StokesTypes > &stokes)
AnnVectoroperator= (const AnnVector &other)
 implicit copy constructor and destructor are fine
Vector< MDirection > getEndPoints () const
 get the end point directions, transformed to the input coordinate system if necessary.
virtual ostream & print (ostream &os) const

Private Member Functions

void _init (const Quantity &xBegin, const Quantity &yBegin, const Quantity &xEnd, const Quantity &yEnd)

Private Attributes

AnnotationBase::Direction _inputPoints

Detailed Description

Represents a vector annotation which has a start and ending point.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Synopsis

Represents an ascii vector annotation

Definition at line 48 of file AnnVector.h.


Constructor & Destructor Documentation

casa::AnnVector::AnnVector ( const Quantity &  xStart,
const Quantity &  yStart,
const Quantity &  xEnd,
const Quantity &  yEnd,
const String &  dirRefFrameString,
const CoordinateSystem &  csys,
const Quantity &  beginFreq,
const Quantity &  endFreq,
const String &  freqRefFrame,
const String &  dopplerString,
const Quantity &  restfreq,
const Vector< Stokes::StokesTypes > &  stokes 
)
casa::AnnVector::AnnVector ( const Quantity &  xStart,
const Quantity &  yStart,
const Quantity &  xEnd,
const Quantity &  yEnd,
const CoordinateSystem &  csys,
const Vector< Stokes::StokesTypes > &  stokes 
)

Member Function Documentation

void casa::AnnVector::_init ( const Quantity &  xBegin,
const Quantity &  yBegin,
const Quantity &  xEnd,
const Quantity &  yEnd 
) [private]
Vector<MDirection> casa::AnnVector::getEndPoints (  )  const

get the end point directions, transformed to the input coordinate system if necessary.

The first element will be the starting point, the second the ending point.

AnnVector& casa::AnnVector::operator= ( const AnnVector other  ) 

implicit copy constructor and destructor are fine

Reimplemented from casa::AnnotationBase.

virtual ostream& casa::AnnVector::print ( ostream &  os  )  const [virtual]

Implements casa::AnnotationBase.


Member Data Documentation

AnnotationBase::Direction casa::AnnVector::_inputPoints [private]

Definition at line 89 of file AnnVector.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1