Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
Medical Imaging Interaction Toolkit
mitkRestorePlanePositionOperation.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 
14 
15 namespace mitk
16 {
18  OperationType operationType,
19  ScalarType width,
20  ScalarType height,
21  Vector3D spacing,
22  unsigned int pos,
23  Vector3D direction,
24  AffineTransform3D::Pointer transform /*, PlaneOrientation orientation*/)
25  : Operation(operationType),
26  m_Spacing(spacing),
27  m_DirectionVector(direction),
28  m_Width(width),
29  m_Height(height),
30  m_Pos(pos),
31  m_Transform(transform) /*, m_Orientation(orientation)*/
32  {
33  // MITK_INFO<<"Width: "<<width<<"height: "<<height<<"spacing: "<<spacing<<"direction: "<<direction<<"transform:
34  // "<<transform;
35  }
36 
42  unsigned int RestorePlanePositionOperation::GetPos() { return m_Pos; }
43  AffineTransform3D::Pointer RestorePlanePositionOperation::GetTransform() { return m_Transform; }
44 } // namespace mitk
Base class of all Operation-classes.
Definition: mitkOperation.h:29
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
RestorePlanePositionOperation(OperationType operationType, ScalarType width, ScalarType height, Vector3D spacing, unsigned int pos, Vector3D direction, AffineTransform3D::Pointer transform)
Operation that handles all actions on one Point.
int OperationType
Definition: mitkOperation.h:23