00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2010-03-31 16:40:27 +0200 (Mi, 31 Mrz 2010) $ 00006 Version: $Revision: 21975 $ 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 MITK_SPACENAVIGATORACTIVATOR_H_ 00019 #define MITK_SPACENAVIGATORACTIVATOR_H_ 00020 00021 #include <berryObject.h> 00022 #include <berryMacros.h> 00023 00024 #include <vector> 00025 00026 #include <mitkIInputDevice.h> 00027 #include <mitkSpaceNavigatorVtkCameraController.h> 00028 00029 namespace mitk 00030 { 00036 class SpaceNavigatorActivator : public IInputDevice 00037 { 00038 00039 public: 00040 00044 bool RegisterInputDevice(); 00045 00049 bool UnRegisterInputDevice(); 00050 00054 SpaceNavigatorActivator(); 00055 00056 protected: 00057 00058 private: 00059 00060 bool m_IsRegistered; 00061 mitk::SpaceNavigatorVtkCameraController::Pointer m_Controller; 00062 00063 }; // end class SpaceNavigatorActivator 00064 } // end namespace mitk 00065 00066 #endif /* MITK_SPACENAVIGATORACTIVATOR_H_ */