////////////////////////////////////////////////////////////////////////// More...
#include <Utils.h>
Public Member Functions | |
| ParAngleChangeDetector () | |
| The default constructor. | |
| ParAngleChangeDetector (const Quantity &pa_tolerance) | |
| set up the tolerance, which determines how much the position angle should change to report the change by this class | |
| virtual void | setTolerance (const Quantity &pa_tolerance) |
| virtual void | reset () |
| reset to the state which exists just after construction | |
| Quantity | getParAngleTolerance () const |
| return parallactic angle tolerance | |
| virtual Bool | changed (const VisBuffer2 &vb, Int row) const |
| implementation of the base class' virtual functions | |
| virtual void | update (const VisBuffer2 &vb, Int row) |
| start looking for a change from the given row of the VisBuffer | |
Private Attributes | |
| Double | pa_tolerance_p |
| Double | last_pa_p |
| the angle is considered to be changed. | |
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
ParAngleChangeDetector - a class to detect a change in the parallactic angle.
Definition at line 174 of file Utils.h.
| casa::refim::ParAngleChangeDetector::ParAngleChangeDetector | ( | ) | [inline] |
| casa::refim::ParAngleChangeDetector::ParAngleChangeDetector | ( | const Quantity & | pa_tolerance | ) |
set up the tolerance, which determines how much the position angle should change to report the change by this class
| virtual Bool casa::refim::ParAngleChangeDetector::changed | ( | const VisBuffer2 & | vb, | |
| Int | row | |||
| ) | const [virtual] |
implementation of the base class' virtual functions
return True if a change occurs in the given row since the last call of update
Implements casa::refim::IChangeDetector.
| Quantity casa::refim::ParAngleChangeDetector::getParAngleTolerance | ( | ) | const |
return parallactic angle tolerance
| virtual void casa::refim::ParAngleChangeDetector::reset | ( | ) | [virtual] |
reset to the state which exists just after construction
Implements casa::refim::IChangeDetector.
Referenced by casa::refim::AWProjectFT::reset().
| virtual void casa::refim::ParAngleChangeDetector::setTolerance | ( | const Quantity & | pa_tolerance | ) | [virtual] |
| virtual void casa::refim::ParAngleChangeDetector::update | ( | const VisBuffer2 & | vb, | |
| Int | row | |||
| ) | [virtual] |
start looking for a change from the given row of the VisBuffer
Implements casa::refim::IChangeDetector.
Double casa::refim::ParAngleChangeDetector::last_pa_p [private] |
Double casa::refim::ParAngleChangeDetector::pa_tolerance_p [private] |
1.6.1