////////////////////////////////////////////////////////////////////////// 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 VisBuffer &vb, Int row) const |
| implementation of the base class' virtual functions | |
| virtual void | update (const VisBuffer &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 169 of file Utils.h.
| casa::ParAngleChangeDetector::ParAngleChangeDetector | ( | ) | [inline] |
| casa::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::ParAngleChangeDetector::changed | ( | const VisBuffer & | 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::IChangeDetector.
| Quantity casa::ParAngleChangeDetector::getParAngleTolerance | ( | ) | const |
return parallactic angle tolerance
| virtual void casa::ParAngleChangeDetector::reset | ( | ) | [virtual] |
reset to the state which exists just after construction
Implements casa::IChangeDetector.
Referenced by casa::AWProjectFT::reset(), and casa::nPBWProjectFT::reset().
| virtual void casa::ParAngleChangeDetector::setTolerance | ( | const Quantity & | pa_tolerance | ) | [virtual] |
| virtual void casa::ParAngleChangeDetector::update | ( | const VisBuffer & | vb, | |
| Int | row | |||
| ) | [virtual] |
start looking for a change from the given row of the VisBuffer
Implements casa::IChangeDetector.
Double casa::ParAngleChangeDetector::last_pa_p [private] |
Double casa::ParAngleChangeDetector::pa_tolerance_p [private] |
1.6.1