IGSTK
igstkQMouseTracker.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Image Guided Surgery Software Toolkit
4 Module: $RCSfile: igstkQMouseTracker.h,v $
5 Language: C++
6 Date: $Date: 2008-02-13 22:26:12 $
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 __igstkQMouseTracker_h
19 #define __igstkQMouseTracker_h
20 
21 #include "igstkTracker.h"
22 
23 namespace igstk
24 {
25 
37 class QMouseTracker : public Tracker
38 {
39 public:
40 
43 
44  typedef Superclass::TransformType TransformType;
45 
47  igstkSetMacro( ScaleFactor, double );
48  igstkGetMacro( ScaleFactor, double );
49 
50 protected:
51 
52  QMouseTracker();
53 
54  virtual ~QMouseTracker();
55 
57 
58  virtual ResultType InternalOpen( void );
59 
60  virtual ResultType InternalStartTracking( void );
61 
62  virtual ResultType InternalUpdateStatus( void );
63 
65 
66  virtual ResultType InternalReset( void );
67 
68  virtual ResultType InternalStopTracking( void );
69 
70  virtual ResultType InternalClose( void );
71 
74 
77  const TrackerToolType * );
78 
81  const TrackerToolType * );
82 
84  virtual void PrintSelf( std::ostream& os, itk::Indent indent ) const;
85 
86 private:
87 
88  QMouseTracker(const Self&); //purposely not implemented
89  void operator=(const Self&); //purposely not implemented
90 
91  double m_ScaleFactor;
92 };
93 
94 }
95 
96 #endif //__igstk_QMouseTracker_h_