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
mitkGeometry3D.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 <iomanip>
18 #include <sstream>
19 
20 #include "mitkGeometry3D.h"
21 
23 #include "mitkInteractionConst.h"
24 #include "mitkMatrixConvert.h"
25 #include "mitkPointOperation.h"
27 #include "mitkRotationOperation.h"
28 #include <vtkMatrix4x4.h>
29 #include <vtkMatrixToLinearTransform.h>
30 
31 // Standard constructor for the New() macro. Sets the geometry to 3 dimensions
33 {
34 }
36 {
37 }
38 
40 {
41 }
42 
44 {
45  Self::Pointer newGeometry = new Self(*this);
46  newGeometry->UnRegister();
47  return newGeometry.GetPointer();
48 }
itk::SmartPointer< Self > Pointer
Standard implementation of BaseGeometry.
virtual itk::LightObject::Pointer InternalClone() const override
clones the geometry
Constants for most interaction classes, due to the generic StateMachines.
BaseGeometry Describes the geometry of a data object.