Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkCameraRotationController.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef CAMERAROTATIONCONTROLLER_H_HEADER_INCLUDED_NXYCBIU
18 #define CAMERAROTATIONCONTROLLER_H_HEADER_INCLUDED_NXYCBIU
19 
20 #include "mitkBaseController.h"
21 #include <MitkCoreExports.h>
22 
23 class vtkCamera;
24 class vtkRenderWindow;
25 
26 namespace mitk
27 {
29  {
30  public:
32  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
33  // mitkNewMacro1Param(Self, const char *);
34 
35  void RotateCamera();
36  void AcquireCamera();
37 
38  void SetRenderWindow(vtkRenderWindow *renWin) { m_RenderWindow = renWin; }
39  protected:
41  virtual ~CameraRotationController();
42 
43  private:
44  int m_LastStepperValue;
45  vtkCamera *m_Camera;
46  vtkRenderWindow *m_RenderWindow;
47  };
48 }
49 
50 #endif
#define MITKCORE_EXPORT
Baseclass for renderer slice-/camera-control.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44