00001 /* 00002 * Copyright (c) 2004 CSIRO ICT Centre 00003 * 00004 * $Id: DecPlaneSweepFilter.h 587 2004-12-03 15:06:33Z nch $ 00005 */ 00006 00007 /* 00008 * DecPlaneSweep implements Filter using a plane sweep algorithm 00009 * in which the sweep line travels along the declination axis 00010 * from -90 degrees to 90 degrees. 00011 */ 00012 00013 #ifndef DECPLANESWEEPFILTER_DEFINED 00014 #define DECPLANESWEEPFILTER_DEFINED 00015 00016 #include "String.h" 00017 00018 #include "Filter.h" 00019 00020 class Matcher; 00021 00022 00023 class DecPlaneSweepFilter : public Filter 00024 { 00025 public: 00026 DecPlaneSweepFilter(Matcher * matcher); 00027 virtual ~DecPlaneSweepFilter(); 00028 virtual String const & getName() const { return name(); }; 00029 virtual void filter(); 00030 00031 static String const & name() { return s_name; }; 00032 00033 private: 00034 static String s_name; 00035 00036 DecPlaneSweepFilter(); 00037 DecPlaneSweepFilter(DecPlaneSweepFilter const &); 00038 DecPlaneSweepFilter & operator=(DecPlaneSweepFilter const &); 00039 }; 00040 00041 #endif // ifndef DECPLANESWEEPFILTER_DEFINED