My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::Source Class Reference

#include <Source.h>

Public Member Functions

 Source ()
 
 ~Source ()
 
void reset ()
 
void setName (char *name)
 
void setAxis (gcp::util::Axis::Type axisType, Angle az, Angle el, Angle pa)
 
char * getName ()
 
void extend (double mjd, HourAngle ra, DecAngle dec, double dist)
 
Angle getAz ()
 
Angle getEl ()
 
HourAngle getRa (double tt)
 
DecAngle getDec (double tt)
 
double getDist (double tt)
 
HourAngle getGradRa (double tt)
 
DecAngle getGradDec (double tt)
 
void setType (gcp::control::SourceType type)
 
gcp::control::SourceType getType ()
 
bool isJ2000 ()
 
bool isEphem ()
 
bool isRaDec ()
 
bool isAzEl ()
 
bool canBracket (double mjd)
 

Public Attributes

QuadraticInterpolatordist_
 

Detailed Description

The following class is used to record details about the current source trajectory.

Constructor & Destructor Documentation

Source::Source ( )

Constructor function

Exceptions
Exception....................................................................... Constructor.
Source::~Source ( )

Destructor

....................................................................... Destructor for class Source

Member Function Documentation

bool Source::canBracket ( double  mjd)

True if we can calculate source parameters for this timestamp

....................................................................... Return true if source parameters can be bracketed for this timestamp

void Source::extend ( double  mjd,
HourAngle  ra,
DecAngle  dec,
double  dist 
)

Extend the track of this source

Exceptions
Exception....................................................................... Extend the ephemeris of this source
Angle Source::getAz ( )

Return the Az of this source

....................................................................... Return the Az of this source

DecAngle Source::getDec ( double  tt)

Return the interpolated dec of this source.

....................................................................... Return the interpolated DEC of this source.

double Source::getDist ( double  tt)

Return the interpolated distance of this source.

....................................................................... Return the interpolated distance of this source.

Angle Source::getEl ( )

Return the El of this source

....................................................................... Return the El of this source

DecAngle Source::getGradDec ( double  tt)

Return the gradient for the DEC.

....................................................................... Return the gradient of the DEC of this source.

HourAngle Source::getGradRa ( double  tt)

Return the gradient for the RA.

....................................................................... Return the gradient of the RA of this source.

char * Source::getName ( )

Return the name of this source

....................................................................... Return a pointer to the source name

HourAngle Source::getRa ( double  tt)

Return the interpolated ra of this source.

....................................................................... Return the interpolated RA of this source.

gcp::control::SourceType gcp::util::Source::getType ( )
inline

Get the type of this source

bool Source::isAzEl ( )

True if this source is an Az/El source

....................................................................... Return true if this is an Az/El source

bool Source::isEphem ( )

True if this source is an ephemeris source

....................................................................... Return true if this is an J2000 source

bool Source::isJ2000 ( )

True if this source is a J2000 source

....................................................................... Return true if this is an J2000 source

bool Source::isRaDec ( )

True if this source is an RaDec source

....................................................................... Return true if this is an Ra/Dec source

void Source::reset ( )

Reset this object's data

....................................................................... Reset the source

void Source::setAxis ( gcp::util::Axis::Type  axisMask,
Angle  az,
Angle  el,
Angle  pa 
)

Set axis values for this source

....................................................................... Set axes for a source

void Source::setName ( char *  name)

Set the name of this source

....................................................................... Set the source name

void gcp::util::Source::setType ( gcp::control::SourceType  type)
inline

Set the type of source

Member Data Documentation

QuadraticInterpolator* gcp::util::Source::dist_

The interpolated geocentric distance


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