Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #include "mitkBaseController.h"
18 #include "mitkBaseRenderer.h"
19 
20 mitk::BaseController::BaseController() : m_LastUpdateTime(0)
21 {
23  m_Time = Stepper::New();
24 }
25 
27 {
28 }
29 
31 {
32 }
33 
35 {
36  return m_Slice.GetPointer();
37 }
38 
40 {
41  return m_Time.GetPointer();
42 }
mitk::Stepper * GetSlice()
Get the Stepper through the slices.
Base class of all Operation-classes.
Definition: mitkOperation.h:33
BaseController()
Default Constructor.
Stepper::Pointer m_Slice
virtual void ExecuteOperation(Operation *) override
static Pointer New()
Helper class to step through a list.
Definition: mitkStepper.h:51
Stepper::Pointer m_Time
mitk::Stepper * GetTime()
Get the Stepper through the time.
virtual ~BaseController()
Default Destructor.