00001 /*========================================================================= 00002 00003 Program: Image Guided Surgery Software Toolkit 00004 Module: $RCSfile: igstkSimulatedTracker.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008-02-13 22:26:12 $ 00007 Version: $Revision: 1.3 $ 00008 00009 Copyright (c) ISC Insight Software Consortium. All rights reserved. 00010 See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef __igstkSimulatedTracker_h 00019 #define __igstkSimulatedTracker_h 00020 00021 #include "igstkTracker.h" 00022 00023 namespace igstk 00024 { 00025 00041 class SimulatedTracker : public Tracker 00042 { 00043 public: 00044 00046 igstkStandardClassTraitsMacro( SimulatedTracker, Tracker ) 00047 00048 typedef Superclass::TransformType TransformType; 00049 00050 00051 protected: 00052 00053 SimulatedTracker(); 00054 00055 virtual ~SimulatedTracker(); 00056 00057 typedef Tracker::ResultType ResultType; 00058 00059 virtual ResultType InternalOpen( void ); 00060 00061 virtual ResultType InternalStartTracking( void ); 00062 00063 virtual ResultType InternalReset( void ); 00064 00065 virtual ResultType InternalStopTracking( void ); 00066 00067 virtual ResultType InternalClose( void ); 00068 00070 virtual ResultType VerifyTrackerToolInformation( const TrackerToolType * ); 00071 00072 virtual ResultType RemoveTrackerToolFromInternalDataContainers( 00073 const TrackerToolType * ); 00074 00075 virtual ResultType AddTrackerToolToInternalDataContainers( 00076 const TrackerToolType * ); 00077 00082 virtual ResultType InternalUpdateStatus( void ); 00083 virtual ResultType InternalThreadedUpdateStatus( void ); 00084 00086 virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const; 00087 00088 private: 00089 00090 SimulatedTracker(const Self&); //purposely not implemented 00091 void operator=(const Self&); //purposely not implemented 00092 00093 }; 00094 00095 } 00096 00097 #endif //__igstk_SimulatedTracker_h_