Medical Imaging Interaction Toolkit  2018.04.99-c3229764
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 GEOMETRY3D_H_HEADER_INCLUDED_C1EBD0AD
14 #define GEOMETRY3D_H_HEADER_INCLUDED_C1EBD0AD
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 /* GEOMETRY3D_H_HEADER_INCLUDED_C1EBD0AD */
Standard implementation of BaseGeometry.
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
DataCollection - Class to facilitate loading/accessing structured data.
QuaternionTransformType::VnlQuaternionType VnlQuaternionType
void PreSetSpacing(const mitk::Vector3D &aSpacing) override
PreSetSpacing.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
BaseGeometry Describes the geometry of a data object.
itk::QuaternionRigidTransform< ScalarType > QuaternionTransformType