13 #ifndef mitkCameraController_h
14 #define mitkCameraController_h
105 void AdjustCameraToPlane(
const Point2D &PlanePoint);
107 void AdjustConstrainedCameraPosition(
Point2D &planePoint);
Baseclass for renderer slice-/camera-/time-control.
controls the camera used by the associated BaseRenderer
virtual void SetViewToDexter()
void AdjustCameraToPlane()
AdjustCameraToPlane Moves the camera of a 2D Renderwindow without panning or zooming,...
void SetRenderer(const BaseRenderer *renderer)
Point2D GetCameraPositionOnPlane()
virtual void SetViewToSinister()
CameraController()
Default Constructor.
const BaseRenderer * m_Renderer
void Zoom(ScalarType factor, const Point2D &zoomPointInMM)
~CameraController() override
Default Destructor.
virtual void SetStandardView(StandardView view)
ScalarType ComputeMaxParallelScale()
virtual void SetViewToPosterior()
virtual void SetViewToAnterior()
virtual void SetViewToCranial()
void MoveBy(const Vector2D &moveVectorInMM)
void MoveCameraToPoint(const Point2D &planePoint)
MoveCameraToPoint Move camera so that the point on the plane is in the view center.
void SetScaleFactorInMMPerDisplayUnit(ScalarType scale)
Set the desired zoom-level to the absolute value given.
virtual void SetViewToCaudal()
void Fit()
Fit Adjust the camera, so that the world bounding box is fully visible.
#define mitkClassMacro(className, SuperClassName)
Find image slices visible on a given plane.