IGSTK
igstkMicronTrackerTool.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkMicronTrackerTool.h,v $
5  Language: C++
6  Date: $Date: 2008-03-28 19:29:50 $
7  Version: $Revision: 1.2 $
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 __igstkMicronTrackerTool_h
19 #define __igstkMicronTrackerTool_h
20 
21 #include "igstkTrackerTool.h"
22 
23 
24 namespace igstk
25 {
26 
27 class MicronTracker;
28 
42 {
43 public:
44 
47 
48 
49  igstkGetStringMacro( MarkerName );
50 
52  void RequestSetMarkerName( const std::string & markerName);
53 
54 protected:
55 
57  virtual ~MicronTrackerTool();
58 
60  virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
61 
62 private:
63  MicronTrackerTool(const Self&); //purposely not implemented
64  void operator=(const Self&); //purposely not implemented
65 
67  igstkDeclareStateMacro( Idle );
68  igstkDeclareStateMacro( MarkerNameSpecified );
69 
71  igstkDeclareInputMacro( ValidMarkerName );
72  igstkDeclareInputMacro( InValidMarkerName );
73 
76  virtual bool CheckIfTrackerToolIsConfigured() const;
77 
79  void ReportInvalidMarkerNameSpecifiedProcessing( );
80 
82  void ReportInvalidRequestProcessing();
83 
85  void SetMarkerNameProcessing();
86 
87  std::string m_MarkerName;
88  std::string m_MarkerNameToBeSet;
89 
90  bool m_TrackerToolConfigured;
91 
92 };
93 
94 } // namespace igstk
95 
96 
97 #endif // __igstk_MicronTrackerTool_h_