IGSTK
igstkSimulatedTracker.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Image Guided Surgery Software Toolkit
4 Module: $RCSfile: igstkSimulatedTracker.h,v $
5 Language: C++
6 Date: $Date: 2008-02-13 22:26:12 $
7 Version: $Revision: 1.3 $
8 
9 Copyright (c) ISC Insight Software Consortium. All rights reserved.
10 See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.
11 
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 
18 #ifndef __igstkSimulatedTracker_h
19 #define __igstkSimulatedTracker_h
20 
21 #include "igstkTracker.h"
22 
23 namespace igstk
24 {
25 
41 class SimulatedTracker : public Tracker
42 {
43 public:
44 
47 
48  typedef Superclass::TransformType TransformType;
49 
50 
51 protected:
52 
54 
55  virtual ~SimulatedTracker();
56 
58 
59  virtual ResultType InternalOpen( void );
60 
61  virtual ResultType InternalStartTracking( void );
62 
63  virtual ResultType InternalReset( void );
64 
65  virtual ResultType InternalStopTracking( void );
66 
67  virtual ResultType InternalClose( void );
68 
71 
73  const TrackerToolType * );
74 
76  const TrackerToolType * );
77 
82  virtual ResultType InternalUpdateStatus( void );
84 
86  virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
87 
88 private:
89 
90  SimulatedTracker(const Self&); //purposely not implemented
91  void operator=(const Self&); //purposely not implemented
92 
93 };
94 
95 }
96 
97 #endif //__igstk_SimulatedTracker_h_
Transform TransformType
typedefs from Transform class
Definition: igstkTracker.h:166
Base class for all the IGSTK classes.
Definition: igstkObject.h:40
virtual ResultType RemoveTrackerToolFromInternalDataContainers(const TrackerToolType *)
This method will remove entries of the traceker tool from internal data containers.
virtual ResultType InternalStartTracking(void)
The "InternalStartTracking" method starts tracking.
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
Definition: igstkMacros.h:275
virtual ResultType AddTrackerToolToInternalDataContainers(const TrackerToolType *)
Add tracker tool entry to internal containers.
virtual ResultType InternalStopTracking(void)
The "InternalStopTracking" method stops tracking.
Tracker::ResultType ResultType
virtual ResultType InternalOpen(void)
The "InternalOpen" method opens communication with a tracking device.
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print object information.
virtual ResultType VerifyTrackerToolInformation(const TrackerToolType *)
Verify tracker tool information.
Abstract superclass for concrete IGSTK Tracker classes.
Definition: igstkTracker.h:96
Implementation of a class that simulates a tracker.
virtual ResultType InternalReset(void)
The "InternalReset" method resets tracker to a known configuration.
igstkStandardAbstractClassTraitsMacro(Tracker, Object) public typedef TrackerTool TrackerToolType
Macro with standard traits declarations.
Definition: igstkTracker.h:101
SimulatedTracker()
Macro with standard traits declarations.
virtual ResultType InternalThreadedUpdateStatus(void)
The "InternalThreadedUpdateStatus" method updates tracker status.
virtual ResultType InternalUpdateStatus(void)
This is the most important method of the SimulatedTracker family.
virtual ResultType InternalClose(void)
The "InternalClose" method closes communication with a tracking device.