PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusSteamVRTracker.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 __vtkPlusSteamVR_h
8 #define __vtkPlusSteamVR_h
9 
10 #include "vtkPlusDataCollectionExport.h"
11 #include "vtkPlusDevice.h"
12 
13 class vtkPlusDataSource;
14 
15 namespace vr
16 {
17  class IVRSystem;
18 }
19 
20 class vtkPlusDataCollectionExport vtkPlusSteamVRTracker : public vtkPlusDevice
21 {
22 public:
23  static vtkPlusSteamVRTracker* New();
25  void PrintSelf(ostream& os, vtkIndent indent);
26 
27  virtual bool IsTracker() const { return true; }
28 
29  virtual PlusStatus Probe();
30 
31 protected:
34 
35 protected:
37  void operator=(const vtkPlusSteamVRTracker&);
38 
40  virtual PlusStatus NotifyConfigured();
41 
42  virtual PlusStatus InternalConnect();
44  virtual PlusStatus InternalUpdate();
45 
49 
50  vr::IVRSystem* VRContext;
51 
53 };
54 
55 #endif
vtkPlusDataSource * HMDSource
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract interface for tracker and video devices.
Definition: vtkPlusDevice.h:60
virtual PlusStatus InternalConnect()
igsioStatus PlusStatus
Definition: PlusCommon.h:40
vtkPlusDataSource * RightControllerSource
virtual PlusStatus Probe()
vtkPlusDataSource * LeftControllerSource
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
virtual bool IsTracker() const
virtual PlusStatus InternalUpdate()
static vtkPlusDevice * New()
Interface to a 3D positioning tool, video source, or generalized data stream.