7 #ifndef __vtkPlusIntuitiveDaVinciTracker_h 8 #define __vtkPlusIntuitiveDaVinciTracker_h 11 #include "vtkPlusDataCollectionExport.h" 15 #include <vtkObjectFactory.h> 27 void ISICALLBACK
streamCB(
void* userdata);
28 void ISICALLBACK
eventCB(ISI_MANIP_INDEX mid, ISI_EVENT_ID event_id, ISI_INT args[ISI_NUM_EVENT_ARGS],
void* userdata);
55 vtkSetStdStringMacro(IpAddr);
56 vtkGetStdStringMacro(IpAddr);
58 vtkSetMacro(Port,
unsigned int);
59 vtkGetMacro(Port,
unsigned int);
61 vtkSetStdStringMacro(Password);
62 vtkGetStdStringMacro(Password);
89 #ifdef USE_DAVINCI_TIMESTAMPS 90 double TrackerTimeToSystemTimeSec;
91 bool TrackerTimeToSystemTimeComputed;
102 void StreamCallback(
void);
107 ISI_MANIP_INDEX getManipIndexFromName(
const std::string& toolName);
108 void setVtkMatrixFromISITransform(vtkMatrix4x4& vtkMatrix, ISI_TRANSFORM* isiMatrix);
111 static const int MAX_ATTEMPTS = 5;
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual PlusStatus InternalStopRecording()
Abstract interface for tracker and video devices.
void ISICALLBACK eventCB(ISI_MANIP_INDEX mid, ISI_EVENT_ID event_id, ISI_INT args[ISI_NUM_EVENT_ARGS], void *userdata)
IntuitiveDaVinci * DaVinci
virtual PlusStatus InternalConnect()
static const int CONNECT_RETRY_DELAY_SEC
virtual std::string GetSdkVersion()
virtual PlusStatus Probe()
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
virtual PlusStatus InternalStartRecording()
virtual bool IsTracker() const
void ISICALLBACK streamCB(void *userData)
virtual PlusStatus InternalDisconnect()
static vtkPlusDevice * New()