Medical Imaging Interaction Toolkit  2018.4.99-b20efe7f
Medical Imaging Interaction Toolkit
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef CAMERAROTATIONCONTROLLER_H_HEADER_INCLUDED_NXYCBIU
14 #define CAMERAROTATIONCONTROLLER_H_HEADER_INCLUDED_NXYCBIU
15 
16 #include "mitkBaseController.h"
17 #include <MitkCoreExports.h>
18 
19 class vtkCamera;
20 class vtkRenderWindow;
21 
22 namespace mitk
23 {
25  {
26  public:
28  itkFactorylessNewMacro(Self);
29  itkCloneMacro(Self)
30  // mitkNewMacro1Param(Self, const char *);
31 
32  void RotateCamera();
33  void AcquireCamera();
34 
35  void SetRenderWindow(vtkRenderWindow *renWin) { m_RenderWindow = renWin; }
36  protected:
38  ~CameraRotationController() override;
39 
40  private:
41  int m_LastStepperValue;
42  vtkCamera *m_Camera;
43  vtkRenderWindow *m_RenderWindow;
44  };
45 }
46 
47 #endif
#define MITKCORE_EXPORT
Baseclass for renderer slice-/camera-control.
void SetRenderWindow(vtkRenderWindow *renWin)
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40