PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusOptiTrack.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4 See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __vtkPlusOptiTrack_h
8 #define __vtkPlusOptiTrack_h
9 
10 #include "vtkPlusDataCollectionExport.h"
11 #include "vtkPlusDevice.h"
12 
20 class vtkPlusDataCollectionExport vtkPlusOptiTrack : public vtkPlusDevice
21 {
22 public:
23  static vtkPlusOptiTrack *New();
25  void PrintSelf( ostream& os, vtkIndent indent );
26 
27  /* Device is a hardware tracker. */
28  virtual bool IsTracker() const { return true; }
29  virtual bool IsVirtual() const { return false; }
30 
32  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* config);
33 
35  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* config);
36 
39 
42 
44  PlusStatus Probe();
45 
48 
49 protected:
52 
53 private: // Functions
55  void operator=(const vtkPlusOptiTrack&);
56 
59 
62 
63  class vtkInternal;
64  vtkInternal* Internal;
65 };
66 
67 #endif
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual PlusStatus InternalStopRecording()
Abstract interface for tracker and video devices.
Definition: vtkPlusDevice.h:60
Interface to the OptiTrack trackers This class talks with a OptiTrack Tracker over the NatNet SDK....
virtual PlusStatus InternalConnect()
igsioStatus PlusStatus
Definition: PlusCommon.h:40
virtual bool IsTracker() const
virtual PlusStatus Probe()
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
virtual PlusStatus InternalStartRecording()
virtual bool IsVirtual() const
virtual PlusStatus InternalDisconnect()
virtual PlusStatus InternalUpdate()
static vtkPlusDevice * New()