go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUAffineTransform.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkGPUAffineTransform_h
19#define itkGPUAffineTransform_h
20
21#include "itkAffineTransform.h"
23
24namespace itk
25{
37template <typename TScalarType = float,
38 unsigned int NDimensions = 3,
39 typename TParentTransform = AffineTransform<TScalarType, NDimensions>>
40class ITK_TEMPLATE_EXPORT GPUAffineTransform
41 : public TParentTransform
42 , public GPUMatrixOffsetTransformBase<TScalarType, NDimensions, NDimensions>
43{
44public:
47 using CPUSuperclass = TParentTransform;
49
50 using Pointer = SmartPointer<Self>;
51 using ConstPointer = SmartPointer<const Self>;
52
54 itkNewMacro(Self);
55
58
63
65 virtual const CPUMatrixType &
67 {
68 return this->GetMatrix();
69 }
70
72 virtual const CPUOutputVectorType &
74 {
75 return this->GetOffset();
76 }
77
78protected:
81
82private:
83 GPUAffineTransform(const Self & other) = delete;
84 const Self &
85 operator=(const Self &) = delete;
86};
87
88} // end namespace itk
89
90#endif /* itkGPUAffineTransform_h */
GPU version of AffineTransform.
virtual const CPUMatrixType & GetCPUMatrix() const
typename GPUSuperclass::CPUInverseMatrixType CPUInverseMatrixType
GPUAffineTransform(const Self &other)=delete
const Self & operator=(const Self &)=delete
typename GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
SmartPointer< const Self > ConstPointer
virtual const CPUOutputVectorType & GetCPUOffset() const
typename GPUSuperclass::CPUMatrixType CPUMatrixType
Base version of the GPU MatrixOffsetTransform.
Matrix< TScalarType, Self::InputSpaceDimension, Self::OutputSpaceDimension > CPUInverseMatrixType
Matrix< TScalarType, Self::OutputSpaceDimension, Self::InputSpaceDimension > CPUMatrixType
Vector< TScalarType, Self::OutputSpaceDimension > CPUOutputVectorType


Generated on 2023-01-13 for elastix by doxygen 1.9.6 elastix logo