casa
5.7.0-16
|
////////////////////////////////////////////////////////////////////////// More...
#include <Utils.h>
Public Member Functions | |
ParAngleChangeDetector () | |
The default constructor. More... | |
ParAngleChangeDetector (const casacore::Quantity &pa_tolerance) | |
set up the tolerance, which determines how much the position angle should change to report the change by this class More... | |
virtual void | setTolerance (const casacore::Quantity &pa_tolerance) |
virtual void | reset () |
reset to the state which exists just after construction More... | |
casacore::Quantity | getParAngleTolerance () const |
return parallactic angle tolerance More... | |
virtual casacore::Bool | changed (const VisBuffer2 &vb, casacore::Int row) const |
implementation of the base class' virtual functions More... | |
virtual void | update (const VisBuffer2 &vb, casacore::Int row) |
start looking for a change from the given row of the VisBuffer More... | |
Public Member Functions inherited from casa::refim::IChangeDetector | |
casacore::Bool | changed (const VisBuffer2 &vb) const |
some derived methods, which use the abstract virtual function changed(vb,row) More... | |
casacore::Bool | changedBuffer (const VisBuffer2 &vb, casacore::Int row1, casacore::Int &row2) const |
return true if a change occurs somewhere in the buffer starting from row1 up to row2 (row2=-1 means up to the end of the buffer). More... | |
Private Attributes | |
casacore::Double | pa_tolerance_p |
casacore::Double | last_pa_p |
the angle is considered to be changed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from casa::refim::IChangeDetector | |
virtual | ~IChangeDetector () |
a virtual destructor to make the compiler happy More... | |
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
ParAngleChangeDetector - a class to detect a change in the parallactic angle.
|
inline |
casa::refim::ParAngleChangeDetector::ParAngleChangeDetector | ( | const casacore::Quantity & | pa_tolerance | ) |
set up the tolerance, which determines how much the position angle should change to report the change by this class
|
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.
casacore::Quantity casa::refim::ParAngleChangeDetector::getParAngleTolerance | ( | ) | const |
return parallactic angle tolerance
|
virtual |
reset to the state which exists just after construction
Implements casa::refim::IChangeDetector.
Referenced by casa::refim::AWProjectFT::reset().
|
virtual |
|
virtual |
start looking for a change from the given row of the VisBuffer
Implements casa::refim::IChangeDetector.
|
private |
|
private |