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