00001 #ifndef _RDSRECON_H
00002 #define _RDSRECON_H
00003
00004 #include <OpenTracker/OpenTracker.h>
00005 #include <OpenTracker/dllinclude.h>
00006 #include "newmat.h"
00007
00008 typedef std::map<int,Matrix*> MatrixMap;
00009
00010 typedef struct{
00011 short re;
00012 short im;
00013 } SHORTCOMPLEX;
00014
00015 namespace ot {
00016
00017 class OPENTRACKER_API RDSRecon : public Node
00018 {
00019 private:
00020 int channels;
00021 std::string lineorder;
00022 MatrixMap R;
00023 MatrixMap I;
00024 short **full_data;
00025
00026 public:
00028 RDSRecon(int channels_, std::string lineorder_);
00029
00030 public:
00031 bool CheckChannels();
00035 virtual int isEventGenerator()
00036 {
00037 return 1;
00038 }
00039
00045 virtual void onEventGenerated( Event& event, Node & generator);
00046
00047 friend class CommonNodeFactory;
00048 };
00049
00050 }
00051
00052
00053
00054
00055 #endif