00001 /* 00002 * 00003 * Program: Slicer Image-Guided Navigator (The SIGN) 00004 * Module: $RCSfile: ScanPlaneOrientationTransform.h,v $ 00005 */ 00016 #ifndef __SIGNORIENTATIONTRANSFORM_H__ 00017 #define __SIGNORIENTATIONTRANSFORM_H__ 00018 00019 #include <string> 00020 00021 #include <OpenTracker/OpenTracker.h> 00022 00023 #include <OpenTracker/dllinclude.h> 00024 00025 class OPENTRACKER_API ScanPlaneOrientationTransform : public ot::Node 00026 { 00027 private: 00028 std::string plane; 00029 ot::Event stored_event; 00030 // Methods 00031 public: 00035 ScanPlaneOrientationTransform(); 00036 00040 virtual int isEventGenerator() 00041 { 00042 return 1; 00043 } 00044 00045 00051 virtual void onEventGenerated( ot::Event& event, ot::Node & generator); 00052 00053 00054 void SetPlane(std::string p); 00055 void SetName(std::string stationName); 00056 00057 }; 00058 00059 #endif
1.4.6