00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2010-03-31 17:34:48 +0200 (Mi, 31 Mrz 2010) $ 00006 Version: $Revision: 21985 $ 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_SPACENAVIGATORVTKCAMERACONTROLLER_H_ 00019 #define MITK_SPACENAVIGATORVTKCAMERACONTROLLER_H_ 00020 00021 #include <mitkCameraController.h> 00022 #include <mitkInputDevicesExports.h> 00023 00024 00025 class vtkRenderWindow; 00026 00027 namespace mitk { 00028 00036 class mitkInputDevices_EXPORT SpaceNavigatorVtkCameraController : public CameraController 00037 { 00038 00039 public: 00040 00041 //SmartPointer Macros 00042 mitkClassMacro(SpaceNavigatorVtkCameraController, CameraController); 00043 itkNewMacro(Self); 00044 00045 virtual bool OnSpaceNavigatorEvent(mitk::Action* a, const mitk::StateEvent* e); 00046 virtual bool OnSpaceNavigatorKeyDown(mitk::Action* a, const mitk::StateEvent* e); 00047 00048 protected: 00049 00053 SpaceNavigatorVtkCameraController(); 00054 00058 virtual ~SpaceNavigatorVtkCameraController(); 00059 00060 bool m_ClippingRangeIsSet; 00061 00062 }; // end class SpaceNavigatorVtkCameraController 00063 } // namespace mitk 00064 00065 #endif /* MITK_SPACENAVIGATORVTKCAMERACONTROLLER_H_ */