go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUCompositeTransform.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 itkGPUCompositeTransform_h
19#define itkGPUCompositeTransform_h
20
21#include "itkCompositeTransform.h"
23
24namespace itk
25{
37template <typename TScalarType = float,
38 unsigned int NDimensions = 3,
39 typename TParentTransform = CompositeTransform<TScalarType, NDimensions>>
40class ITK_TEMPLATE_EXPORT GPUCompositeTransform
41 : public TParentTransform
42 , public GPUCompositeTransformBase<TScalarType, NDimensions>
43{
44public:
47 using CPUSuperclass = TParentTransform;
49 using Pointer = SmartPointer<Self>;
50 using ConstPointer = SmartPointer<const Self>;
51
53 itkNewMacro(Self);
54
56 itkTypeMacro(GPUCompositeTransform, TParentTransform);
57
62
64 virtual SizeValueType
66 {
67 return CPUSuperclass::GetNumberOfTransforms();
68 }
69
71 virtual const TransformTypePointer
72 GetNthTransform(SizeValueType n) const
73 {
74 return CPUSuperclass::GetNthTransform(n);
75 }
76
77protected:
80 void
81 PrintSelf(std::ostream & s, Indent indent) const
82 {
83 CPUSuperclass::PrintSelf(s, indent);
84 }
85
86private:
87 GPUCompositeTransform(const Self & other) = delete;
88 const Self &
89 operator=(const Self &) = delete;
90};
91
92} // end namespace itk
93
94#endif /* itkGPUCompositeTransform_h */
typename TransformType::ConstPointer TransformTypeConstPointer
typename TransformType::Pointer TransformTypePointer
Transform< TScalarType, NDimensions, NDimensions > TransformType
GPU version of CompositeTransform.
typename GPUSuperclass::TransformType GPUTransformType
virtual const TransformTypePointer GetNthTransform(SizeValueType n) const
void PrintSelf(std::ostream &s, Indent indent) const
const Self & operator=(const Self &)=delete
GPUCompositeTransform(const Self &other)=delete
typename GPUSuperclass::TransformTypeConstPointer TransformTypeConstPointer
typename GPUSuperclass::TransformTypePointer TransformTypePointer
virtual SizeValueType GetNumberOfTransforms() const
SmartPointer< const Self > ConstPointer


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