Medical Imaging Interaction Toolkit  2018.4.99-b585543d
Medical Imaging Interaction Toolkit
mitkBaseController.cpp
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 #include "mitkBaseController.h"
14 #include "mitkBaseRenderer.h"
15 
16 mitk::BaseController::BaseController() : m_LastUpdateTime(0)
17 {
19  m_Time = Stepper::New();
20 }
21 
23 {
24 }
25 
27 {
28 }
29 
31 {
32  return m_Slice.GetPointer();
33 }
34 
36 {
37  return m_Time.GetPointer();
38 }
mitk::Stepper * GetSlice()
Get the Stepper through the slices.
Base class of all Operation-classes.
Definition: mitkOperation.h:29
BaseController()
Default Constructor.
~BaseController() override
Default Destructor.
Stepper::Pointer m_Slice
void ExecuteOperation(Operation *) override
static Pointer New()
Helper class to step through a list.
Definition: mitkStepper.h:47
Stepper::Pointer m_Time
mitk::Stepper * GetTime()
Get the Stepper through the time.