go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUIdentityTransform.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 __itkGPUIdentityTransform_h
19#define __itkGPUIdentityTransform_h
20
21#include "itkIdentityTransform.h"
22#include "itkVersion.h"
23
24#include "itkGPUTransformBase.h"
25
26namespace itk
27{
29itkGPUKernelClassMacro( GPUIdentityTransformKernel );
30
42template< typename TScalarType = float, unsigned int NDimensions = 3,
43typename TParentTransform = IdentityTransform< TScalarType, NDimensions > >
44class GPUIdentityTransform : public TParentTransform, public GPUTransformBase
45{
46public:
47
50 typedef TParentTransform CPUSuperclass;
53 typedef SmartPointer< const Self > ConstPointer;
54
56 itkNewMacro( Self );
57
59 itkTypeMacro( GPUIdentityTransform, TParentTransform );
60
63 bool IsIdentityTransform( void ) const override { return true; }
64
65protected:
66
69 void PrintSelf( std::ostream & os, Indent indent ) const override;
70
73 bool GetSourceCode( std::string & source ) const override;
74
75private:
76
77 GPUIdentityTransform( const Self & other ); // purposely not implemented
78 const Self & operator=( const Self & ); // purposely not implemented
79
80 std::vector< std::string > m_Sources;
81};
82
83} // end namespace itk
84
85#ifndef ITK_MANUAL_INSTANTIATION
86#include "itkGPUIdentityTransform.hxx"
87#endif
88
89#endif /* __itkGPUIdentityTransform_h */
GPU version of IdentityTransform.
void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
std::vector< std::string > m_Sources
bool IsIdentityTransform(void) const override
const Self & operator=(const Self &)
bool GetSourceCode(std::string &source) const override
GPUIdentityTransform(const Self &other)
Base class for all GPU transforms.
itkGPUKernelClassMacro(GPUBSplineTransformKernel)


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo