Controls azimuthal camera rotation driven by a Stepper.
More...
#include <mitkCameraRotationController.h>
|
| static Pointer | New () |
| |
| static Pointer | New () |
| |
Controls azimuthal camera rotation driven by a Stepper.
Uses an internal Stepper (inherited from BaseController) with 360 steps and auto-repeat to rotate the VTK camera around its focal point. Each time the stepper position changes, the camera is rotated by the corresponding azimuth delta and the render window is updated.
- See also
- BaseController CameraController
Definition at line 35 of file mitkCameraRotationController.h.
◆ CameraRotationController()
| mitk::CameraRotationController::CameraRotationController |
( |
| ) |
|
|
protected |
Constructor. Initializes the stepper with 360 steps and auto-repeat.
◆ ~CameraRotationController()
| mitk::CameraRotationController::~CameraRotationController |
( |
| ) |
|
|
overrideprotected |
◆ AcquireCamera()
| void mitk::CameraRotationController::AcquireCamera |
( |
| ) |
|
Acquire the active VTK camera from the render window.
Retrieves the vtkCamera from the VtkPropRenderer associated with the current render window and stores it internally.
◆ Clone()
| Pointer mitk::CameraRotationController::Clone |
( |
| ) |
const |
◆ mitkClassMacro()
◆ New()
| static Pointer mitk::CameraRotationController::New |
( |
| ) |
|
|
static |
◆ RotateCamera()
| void mitk::CameraRotationController::RotateCamera |
( |
| ) |
|
Rotate the camera by the azimuth delta since the last stepper position.
Called automatically when the internal stepper changes. Acquires the camera on first invocation if it has not been acquired yet.
◆ SetRenderWindow()
| void mitk::CameraRotationController::SetRenderWindow |
( |
vtkRenderWindow * |
renWin | ) |
|
|
inline |
The documentation for this class was generated from the following file: