00001 /*************************************************************************** 00002 swi.h - description 00003 ------------------- 00004 begin : Fri Sep 14 2007 00005 copyright : (C) 2001 by Thies Jochimsen 00006 email : jochimse@cns.mpg.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef RECOSWI_H 00019 #define RECOSWI_H 00020 00021 #include "step.h" 00022 00023 00024 class RecoSwi : public RecoStep { 00025 00026 // implementing virtual functions of RecoStep 00027 STD_string label() const {return "swi";} 00028 STD_string description() const {return "Susceptibility weighted imaging";} 00029 bool process(RecoData& rd, RecoController& controller); 00030 RecoCoord input_coord() const {return RecoCoord::coord_with_mode(RecoIndex::collected,line3d,line,readout);} 00031 void modify_coord(RecoCoord& coord) const {} 00032 RecoStep* allocate() const {return new RecoSwi;} 00033 void init() {} 00034 00035 00036 }; 00037 00038 00039 #endif 00040
1.5.6