// // C++ Interface: EdgeMarker // // Description: // // // Author: Takeshi Nakazato , (C) 2012 // // Copyright: See COPYING file that comes with this distribution // // #ifndef _EDGE_MARKER_H_ #define _EDGE_MARKER_H_ #include #include #include #include #include #include #include "Scantable.h" #include "EdgeDetector.h" namespace asap { class EdgeMarker { public: EdgeMarker() ; EdgeMarker( bool israster ) ; virtual ~EdgeMarker() ; void setdata( const casa::CountedPtr &s, const casa::Bool &insitu ) ; void examine() ; void setoption( const casa::Record &option ) ; void detect() ; void mark() ; casa::Block getDetectedRows() ; casa::CountedPtr get() ; // void reset() ; private: void initDetect() ; // data casa::CountedPtr st_ ; // pointer to detector object casa::CountedPtr detector_ ; // list of IFNO for WVR casa::Vector wvr_ ; // off position list casa::Block off_ ; casa::uInt noff_ ; // logger casa::LogIO os_ ; } ; } #endif /* _EDGE_MARKER_H_ */