IGSTK
|
00001 /*========================================================================= 00002 00003 Program: Image Guided Surgery Software Toolkit 00004 Module: $RCSfile: igstkQMouseTrackerTool.h,v $ 00005 Language: C++ 00006 Date: $Date: 2008-03-28 19:29:50 $ 00007 Version: $Revision: 1.2 $ 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 __igstkQMouseTrackerTool_h 00019 #define __igstkQMouseTrackerTool_h 00020 00021 #include "igstkTrackerTool.h" 00022 00023 namespace igstk 00024 { 00025 00026 class QMouseTracker; 00027 00035 class QMouseTrackerTool : public TrackerTool 00036 { 00037 public: 00038 00040 igstkStandardClassTraitsMacro( QMouseTrackerTool, TrackerTool ) 00041 00042 typedef std::string MouseNameType; 00043 00045 igstkGetStringMacro( MouseName ); 00046 00048 virtual void RequestSetMouseName( const MouseNameType & MouseName ); 00049 00050 protected: 00051 00052 QMouseTrackerTool(); 00053 ~QMouseTrackerTool(); 00054 00056 virtual void PrintSelf( std::ostream& os, ::itk::Indent indent ) const; 00057 00058 private: 00059 00062 virtual bool CheckIfTrackerToolIsConfigured() const; 00063 00064 QMouseTrackerTool(const Self&); //purposely not implemented 00065 void operator=(const Self&); //purposely not implemented 00066 00067 MouseNameType m_MouseName; 00068 00069 bool m_TrackerToolConfigured; 00070 00071 }; 00072 00073 } // namespace igstk 00074 00075 00076 #endif // __igstk_QMouseTrackerTool_h_