My Project
|
#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 | |
QuadraticInterpolator * | dist_ |
The following class is used to record details about the current source trajectory.
Source::Source | ( | ) |
Constructor function
Exception | ....................................................................... Constructor. |
Source::~Source | ( | ) |
Destructor
....................................................................... Destructor for class Source
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
Extend the track of this source
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.
|
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
|
inline |
Set the type of source
QuadraticInterpolator* gcp::util::Source::dist_ |
The interpolated geocentric distance