Medical Imaging Interaction Toolkit  2026.06.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 {
45  {
46  public:
48 
50  typedef itk::QuaternionRigidTransform<ScalarType> QuaternionTransformType;
52  typedef QuaternionTransformType::VnlQuaternionType VnlQuaternionType;
53 
55  itkFactorylessNewMacro(Self);
56  mitkNewMacro1Param(Self, const Self&);
57 
58  itkCloneMacro(Self);
59 
60  protected : Geometry3D();
62 
63  ~Geometry3D() override;
64 
66 
74  void PreSetSpacing(const mitk::Vector3D &aSpacing) override { Superclass::PreSetSpacing(aSpacing); };
75  };
76 } // namespace mitk
77 
78 #endif
#define MITKCORE_EXPORT
Abstract base class describing the geometry of a data object.
Standard three-dimensional geometry.
QuaternionTransformType::VnlQuaternionType VnlQuaternionType
VNL quaternion type derived from QuaternionTransformType.
Geometry3D(const Geometry3D &)
mitkClassMacro(Geometry3D, mitk::BaseGeometry)
itk::QuaternionRigidTransform< ScalarType > QuaternionTransformType
Quaternion rigid transform type (for rotation representations).
void PreSetSpacing(const mitk::Vector3D &aSpacing) override
PreSetSpacing.
mitkNewMacro1Param(Self, const Self &)
~Geometry3D() override
Convenience header that includes all MITK numeric types.
Find image slices visible on a given plane.