Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkGeometry3D.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 mitkGeometry3D_h
14 #define mitkGeometry3D_h
15 
16 #include "mitkNumericTypes.h"
17 #include <MitkCoreExports.h>
18 #include <mitkCommon.h>
19 
20 #include "itkScalableAffineTransform.h"
21 #include <itkIndex.h>
22 
23 #include "mitkBaseGeometry.h"
24 
25 class vtkLinearTransform;
26 
27 namespace mitk
28 {
33  {
34  public:
36 
37  typedef itk::QuaternionRigidTransform<ScalarType> QuaternionTransformType;
38  typedef QuaternionTransformType::VnlQuaternionType VnlQuaternionType;
39 
41  itkFactorylessNewMacro(Self);
43 
44  itkCloneMacro(Self);
45 
46  protected : Geometry3D();
47  Geometry3D(const Geometry3D &);
48 
60  itk::LightObject::Pointer InternalClone() const override;
61 
62  ~Geometry3D() override;
63 
71  void PreSetSpacing(const mitk::Vector3D &aSpacing) override { Superclass::PreSetSpacing(aSpacing); };
72  };
73 } // namespace mitk
74 
75 #endif
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
mitk::Geometry3D::QuaternionTransformType
itk::QuaternionRigidTransform< ScalarType > QuaternionTransformType
Definition: mitkGeometry3D.h:35
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::Vector< ScalarType, 3 >
MitkCoreExports.h
mitk::BaseGeometry
BaseGeometry Describes the geometry of a data object.
Definition: mitkBaseGeometry.h:94
mitkNumericTypes.h
mitkCommon.h
mitk::Geometry3D::VnlQuaternionType
QuaternionTransformType::VnlQuaternionType VnlQuaternionType
Definition: mitkGeometry3D.h:38
mitkBaseGeometry.h
mitk::Geometry3D::PreSetSpacing
void PreSetSpacing(const mitk::Vector3D &aSpacing) override
PreSetSpacing.
Definition: mitkGeometry3D.h:71
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::Geometry3D
Standard implementation of BaseGeometry.
Definition: mitkGeometry3D.h:32
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15