00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef RECOREADERCUSTOM_H
00019 #define RECOREADERCUSTOM_H
00020
00021 #include "reader.h"
00022
00023
00034 class RecoReaderCustom : public virtual RecoReaderInterface {
00035
00036 public:
00037 RecoReaderCustom(JcampDxBlock&) {}
00038
00039 private:
00040
00041
00042 bool init(const STD_string& input_filename);
00043 bool fetch(RecoCoord& coord, ComplexData<1>& adc);
00044 const STD_vector<RecoCoord>& get_coords() const {return coord_vec_cache;}
00045 dvector dim_values(recoDim dim) const;
00046 const TinyVector<float,3>& reloffset() const {return reloffset_cache;}
00047 STD_string image_proc() const {return "";}
00048 const TinyVector<int,3>& image_size() const {return size_cache;}
00049 const Protocol& protocol() const {return prot_cache;}
00050 STD_string seqrecipe() const {return "";}
00051 STD_string postProc3D() const {return "";}
00052 STD_string preProc3D() const {return "";}
00053 STD_string cmdline_opts() const;
00054
00055
00056 TinyVector<float,3> reloffset_cache;
00057 TinyVector<int,3> size_cache;
00058 Protocol prot_cache;
00059
00060 ComplexData<2> rawdata;
00061 mutable STD_vector<RecoCoord> coord_vec_cache;
00062 unsigned int count;
00063
00064 };
00065
00066
00067
00072 #endif
00073