Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::BaseController Class Reference

Base class for renderer slice, camera, and time control. More...

#include <mitkBaseController.h>

Inheritance diagram for mitk::BaseController:
Collaboration diagram for mitk::BaseController:

Public Member Functions

 mitkClassMacroItkParent (BaseController, OperationActor)
 
Stepper * GetStepper ()
 Get the stepper for stepping through the controlled dimension. More...
 
const Stepper * GetStepper () const
 Get the stepper for stepping through the controlled dimension (const). More...
 
- Public Member Functions inherited from mitk::OperationActor
 itkTypeMacroNoParent (OperationActor) virtual ~OperationActor()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 BaseController ()
 Default constructor. More...
 
 ~BaseController () override
 Destructor. More...
 
void ExecuteOperation (Operation *) override
 Execute an undo/redo operation. More...
 

Protected Attributes

Stepper::Pointer m_Stepper
 Stepper through the controlled dimension. More...
 
unsigned long m_LastUpdateTime
 Timestamp of the last update. More...
 

Detailed Description

Base class for renderer slice, camera, and time control.

Tells the renderer (subclass of BaseRenderer) which slice (SliceNavigationController), which camera direction (CameraController), or which time point (TimeNavigationController) to render. Contains a Stepper for stepping through slices, camera views, or time steps.

See also
SliceNavigationController
CameraController
TimeNavigationController
Stepper
BaseRenderer

Definition at line 40 of file mitkBaseController.h.

Constructor & Destructor Documentation

◆ BaseController()

mitk::BaseController::BaseController ( )
protected

Default constructor.

◆ ~BaseController()

mitk::BaseController::~BaseController ( )
overrideprotected

Destructor.

Member Function Documentation

◆ ExecuteOperation()

void mitk::BaseController::ExecuteOperation ( Operation *  )
overrideprotectedvirtual

Execute an undo/redo operation.

Implements mitk::OperationActor.

Reimplemented in mitk::SliceNavigationController.

◆ GetStepper() [1/2]

Stepper* mitk::BaseController::GetStepper ( )

Get the stepper for stepping through the controlled dimension.

Returns
Pointer to the mutable Stepper.

◆ GetStepper() [2/2]

const Stepper* mitk::BaseController::GetStepper ( ) const

Get the stepper for stepping through the controlled dimension (const).

Returns
Pointer to the const Stepper.

◆ mitkClassMacroItkParent()

mitk::BaseController::mitkClassMacroItkParent ( BaseController  ,
OperationActor   
)

◆ New()

static Pointer mitk::BaseController::New ( )
static

Member Data Documentation

◆ m_LastUpdateTime

unsigned long mitk::BaseController::m_LastUpdateTime
protected

Timestamp of the last update.

Definition at line 73 of file mitkBaseController.h.

◆ m_Stepper

Stepper::Pointer mitk::BaseController::m_Stepper
protected

Stepper through the controlled dimension.

Definition at line 71 of file mitkBaseController.h.


The documentation for this class was generated from the following file: