IGSTK
igstkMouseTrackerTool.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Image Guided Surgery Software Toolkit
4  Module: $RCSfile: igstkMouseTrackerTool.h,v $
5  Language: C++
6  Date: $Date: 2008-03-28 19:29:50 $
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 __igstkMouseTrackerTool_h
19 #define __igstkMouseTrackerTool_h
20 
21 #include "igstkTrackerTool.h"
22 
23 namespace igstk
24 {
25 
26 class MouseTracker;
27 
36 {
37 public:
38 
41 
42  typedef std::string MouseNameType;
43 
45  igstkGetStringMacro( MouseName );
46 
48  virtual void RequestSetMouseName( const MouseNameType & MouseName );
49 
50 protected:
51 
54 
56  virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const;
57 
58 private:
59 
62  virtual bool CheckIfTrackerToolIsConfigured() const;
63 
64  MouseTrackerTool(const Self&); //purposely not implemented
65  void operator=(const Self&); //purposely not implemented
66 
67  MouseNameType m_MouseName;
68 
69  bool m_TrackerToolConfigured;
70 
71 };
72 
73 } // namespace igstk
74 
75 
76 #endif // __igstk_MouseTrackerTool_h_
Base class for all the IGSTK classes.
Definition: igstkObject.h:40
#define igstkStandardClassTraitsMacro(classname, superclassname)
Convenience macro for traits of a non-templated class.
Definition: igstkMacros.h:275
A MouseTracker-specific TrackerTool class.
Abstract superclass for concrete IGSTK TrackerTool classes.
#define igstkGetStringMacro(name)
Get character string.
Definition: igstkMacros.h:180
virtual void RequestSetMouseName(const MouseNameType &MouseName)
Set tracker tool mouse name.
virtual void PrintSelf(std::ostream &os,::itk::Indent indent) const
Print object information.