Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
Medical Imaging Interaction Toolkit
mitkScaleOperation.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 "mitkScaleOperation.h"
14 
16  mitk::Point3D scaleFactor,
17  mitk::Point3D scaleAnchorPoint)
18  : mitk::Operation(operationType), m_ScaleFactor(scaleFactor), m_ScaleAnchorPoint(scaleAnchorPoint)
19 {
20 }
21 
23 {
24 }
25 
27 {
28  return m_ScaleFactor;
29 }
30 
32 {
33  return m_ScaleAnchorPoint;
34 }
ScaleOperation(OperationType operationType, Point3D scaleFactor, Point3D scaleAnchorPoint)
ScaleOperation constructor.
Base class of all Operation-classes.
Definition: mitkOperation.h:29
DataCollection - Class to facilitate loading/accessing structured data.
Point3D GetScaleAnchorPoint()
GetScaleAnchorPoint getter for anchor point.
~ScaleOperation() override
~ScaleOperation destructor.
Point3D GetScaleFactor()
GetScaleFactor getter for the scale factor.
int OperationType
Definition: mitkOperation.h:23