00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html 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 MITKCLARONTOOL_H_HEADER_INCLUDED_ 00019 #define MITKCLARONTOOL_H_HEADER_INCLUDED_ 00020 00021 #include <mitkClaronInterface.h> 00022 #include <mitkInternalTrackingTool.h> 00023 #include <itkFastMutexLock.h> 00024 00025 namespace mitk 00026 { 00027 class ClaronTrackingDevice; 00034 class MitkIGT_EXPORT ClaronTool : public InternalTrackingTool 00035 { 00036 public: 00037 friend class ClaronTrackingDevice; 00038 mitkClassMacro(ClaronTool, InternalTrackingTool); 00039 00040 00044 bool LoadFile(const char* filename); 00048 bool LoadFile(std::string filename); 00049 00050 std::string GetFile(); 00051 00056 void SetToolHandle (claronToolHandle handle); 00057 00061 std::string GetCalibrationName(); 00062 00067 void SetCalibrationName(std::string name); 00068 00072 claronToolHandle GetToolHandle(); 00073 00074 protected: 00075 itkNewMacro(Self); 00076 ClaronTool(); 00077 virtual ~ClaronTool(); 00079 claronToolHandle m_ToolHandle; 00081 std::string m_CalibrationName; 00083 std::string m_Filename; 00084 }; 00085 }//mitk 00086 #endif // MITKCLARONTOOL_H_HEADER_INCLUDED_