Medical Imaging Interaction Toolkit  2024.06.00
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 mitkCameraRotationController_h
14 #define mitkCameraRotationController_h
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
mitk::CameraRotationController::SetRenderWindow
void SetRenderWindow(vtkRenderWindow *renWin)
Definition: mitkCameraRotationController.h:35
mitk::BaseController
Baseclass for renderer slice-/camera-/time-control.
Definition: mitkBaseController.h:35
mitkBaseController.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::CameraRotationController
Definition: mitkCameraRotationController.h:24
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15