Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 
18 
19 namespace mitk
20 {
22  OperationType operationType,
23  ScalarType width,
24  ScalarType height,
25  Vector3D spacing,
26  unsigned int pos,
27  Vector3D direction,
28  AffineTransform3D::Pointer transform /*, PlaneOrientation orientation*/)
29  : Operation(operationType),
30  m_Spacing(spacing),
31  m_DirectionVector(direction),
32  m_Width(width),
33  m_Height(height),
34  m_Pos(pos),
35  m_Transform(transform) /*, m_Orientation(orientation)*/
36  {
37  // MITK_INFO<<"Width: "<<width<<"height: "<<height<<"spacing: "<<spacing<<"direction: "<<direction<<"transform:
38  // "<<transform;
39  }
40 
46  unsigned int RestorePlanePositionOperation::GetPos() { return m_Pos; }
48 } // namespace mitk
itk::SmartPointer< Self > Pointer
Base class of all Operation-classes.
Definition: mitkOperation.h:33
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:27