vtkIGTOpenTrackerStream.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 #ifndef IGTOPENTRACKERSTREAM_H
00007 #define IGTOPENTRACKERSTREAM_H
00008 
00009 
00010 #include "vtkIGTWin32Header.h" 
00011 #include "vtkIGTDataStream.h"
00012 
00013 #include "OpenTracker/OpenTracker.h"
00014 #include "OpenTracker/common/CallbackModule.h"
00015 
00016 
00017 using namespace ot;
00018 
00019 
00020 class VTK_IGT_EXPORT vtkIGTOpenTrackerStream : public vtkIGTDataStream
00021 {
00022 public:
00023 
00024     static vtkIGTOpenTrackerStream *New();
00025     vtkTypeRevisionMacro(vtkIGTOpenTrackerStream,vtkIGTDataStream);
00026     void PrintSelf(ostream& os, vtkIndent indent);
00027 
00031     vtkIGTOpenTrackerStream();
00032 
00033 
00034     //Description:
00035     //Destructor
00036     virtual ~vtkIGTOpenTrackerStream ( );
00037 
00038     void Init(const char *configFile);
00039     static void callbackF(const Node&, const Event &event, void *data);
00040     void StopPulling();
00041     void PullRealTime();    
00042 
00043 
00044 private:
00045 
00046     Context *context;
00047 
00048     void CloseConnection();
00049 
00050 };
00051 
00052 #endif 
00053 

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1