00001 /*************************************************************************** 00002 filter_align.h - description 00003 ------------------- 00004 begin : Fri Jan 16 2009 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 FILTER_ALIGN_H 00019 #define FILTER_ALIGN_H 00020 00021 #include <odindata/filter_step.h> 00022 00023 class FilterAlign : public FilterStep { 00024 00025 JDXfileName fname; 00026 JDXint blowup; 00027 00028 STD_string label() const {return "align";} 00029 STD_string description() const {return "Align data to the geometry (voxel locations) of an external file";} 00030 bool process(Data<float,4>& data, Protocol& prot) const; 00031 FilterStep* allocate() const {return new FilterAlign();} 00032 void init(); 00033 }; 00034 00035 #endif
1.7.1