casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
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< MDirectiongetEndPoints () 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

 <h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl> 

<h3>Synopsis</h3>

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]

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

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

Implements casa::AnnotationBase.


Member Data Documentation

Definition at line 89 of file AnnVector.h.


The documentation for this class was generated from the following file: