Medical Imaging Interaction Toolkit  2018.4.99-36d69b77
Medical Imaging Interaction Toolkit
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 (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 #include <iomanip>
14 #include <sstream>
15 
16 #include "mitkGeometry3D.h"
17 
19 #include "mitkInteractionConst.h"
20 #include "mitkMatrixConvert.h"
21 #include "mitkPointOperation.h"
23 #include "mitkRotationOperation.h"
24 #include <vtkMatrix4x4.h>
25 #include <vtkMatrixToLinearTransform.h>
26 
27 // Standard constructor for the New() macro. Sets the geometry to 3 dimensions
29 {
30 }
32 {
33 }
34 
36 {
37 }
38 
39 itk::LightObject::Pointer mitk::Geometry3D::InternalClone() const
40 {
41  Self::Pointer newGeometry = new Self(*this);
42  newGeometry->UnRegister();
43  return newGeometry.GetPointer();
44 }
Standard implementation of BaseGeometry.
itk::LightObject::Pointer InternalClone() const override
clones the geometry
Constants for most interaction classes, due to the generic StateMachines.
~Geometry3D() override
BaseGeometry Describes the geometry of a data object.