PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusOpenIGTLinkTracker.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 __vtkPlusOpenIGTLinkTracker_h
8 #define __vtkPlusOpenIGTLinkTracker_h
9 
10 #include "PlusConfigure.h"
11 #include "vtkPlusDataCollectionExport.h"
14 
21 class vtkPlusDataCollectionExport vtkPlusOpenIGTLinkTracker : public vtkPlusOpenIGTLinkDevice
22 {
23 public:
26  virtual void PrintSelf(ostream& os, vtkIndent indent);
27 
30 
33 
35  virtual PlusStatus ReadConfiguration(vtkXMLDataElement* config);
36 
38  virtual PlusStatus WriteConfiguration(vtkXMLDataElement* config);
39 
40  virtual bool IsTracker() const
41  {
42  return true;
43  }
44 
45 protected:
47  virtual ~vtkPlusOpenIGTLinkTracker();
48 
49  virtual bool IsTDataMessageType();
50 
52 
54  PlusStatus InternalUpdateGeneral();
55 
57  PlusStatus ProcessTransformMessageGeneral(bool& moreMessagesPossible);
58 
60  PlusStatus InternalUpdateTData();
61 
67  PlusStatus StoreMostRecentTransformValues(double unfilteredTimestamp);
68 
74  PlusStatus StoreInvalidTransforms(double unfilteredTimestamp);
75 
76  vtkSetMacro(UseLastTransformsOnReceiveTimeout, bool);
77 
80 
81 private:
83  void operator=(const vtkPlusOpenIGTLinkTracker&);
84 };
85 
86 #endif
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *config)
igsioStatus PlusStatus
Definition: PlusCommon.h:40
virtual PlusStatus InternalDisconnect()
virtual PlusStatus SendRequestedMessageTypes()
Common base class for OpenIGTLink-based tracking and video devices.
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
OpenIGTLink tracker client.
virtual PlusStatus InternalUpdate()
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *config)
static vtkPlusDevice * New()