Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkScaleOperation.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 mitkScaleOperation_h
14 #define mitkScaleOperation_h
15 
16 #include <mitkOperation.h>
17 #include <mitkPoint.h>
18 #include <MitkCoreExports.h>
19 
20 namespace mitk
21 {
29  {
30  public:
38  ScaleOperation(OperationType operationType, Point3D scaleFactor, Point3D scaleAnchorPoint);
39 
40  ~ScaleOperation() override;
41 
47 
53 
54  private:
55  Point3D m_ScaleFactor;
56  Point3D m_ScaleAnchorPoint;
57  };
58 } // namespace mitk
59 #endif
#define MITKCORE_EXPORT
Base class for all operations in the undo/redo framework.
Definition: mitkOperation.h:38
Operation to scale any mitk::BaseGeometry.
~ScaleOperation() override
Point3D GetScaleAnchorPoint()
Get the anchor point for scaling.
ScaleOperation(OperationType operationType, Point3D scaleFactor, Point3D scaleAnchorPoint)
Construct a ScaleOperation.
Point3D GetScaleFactor()
Get the scale factor.
Find image slices visible on a given plane.
int OperationType
Type alias for operation type identifiers.
Definition: mitkOperation.h:24