Medical Imaging Interaction Toolkit  2023.12.99-29da53b2
Medical Imaging Interaction Toolkit
mitkBaseController.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 mitkBaseController_h
14 #define mitkBaseController_h
15 
16 #include "mitkEventStateMachine.h"
17 #include "mitkOperationActor.h"
18 #include "mitkStepper.h"
19 #include <MitkCoreExports.h>
20 #include <itkObjectFactory.h>
21 
22 namespace mitk
23 {
24  class BaseRenderer;
25 
35  class MITKCORE_EXPORT BaseController : public OperationActor, public itk::Object
36  {
37  public:
38 
40  itkFactorylessNewMacro(Self);
41 
45  Stepper* GetStepper();
46  const Stepper* GetStepper() const;
47 
48  protected:
53 
57  ~BaseController() override;
58 
59  void ExecuteOperation(Operation *) override;
60 
61  //## @brief Stepper through the different dimensions
63 
64  unsigned long m_LastUpdateTime;
65  };
66 
67 } // namespace mitk
68 
69 #endif
mitk::BaseController::m_LastUpdateTime
unsigned long m_LastUpdateTime
Definition: mitkBaseController.h:64
mitk::OperationActor
abstract class, that can be used by Undo to undo an operation.
Definition: mitkOperationActor.h:41
mitk::Operation
Base class of all Operation-classes.
Definition: mitkOperation.h:29
mitkOperationActor.h
itk::SmartPointer< Self >
mitk::BaseController
Baseclass for renderer slice-/camera-/time-control.
Definition: mitkBaseController.h:35
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::BaseController::m_Stepper
Stepper::Pointer m_Stepper
Definition: mitkBaseController.h:62
MitkCoreExports.h
mitk::Stepper
Helper class to step through a list.
Definition: mitkStepper.h:47
mitkStepper.h
mitkEventStateMachine.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15