go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUAdvancedMatrixOffsetTransformBase.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 __itkGPUAdvancedMatrixOffsetTransformBase_h
19 #define __itkGPUAdvancedMatrixOffsetTransformBase_h
20 
23 
24 namespace itk
25 {
37 template< typename TScalarType = float, unsigned int NDimensions = 3,
38 typename TParentTransform = AdvancedMatrixOffsetTransformBase< TScalarType, NDimensions, NDimensions > >
40  public TParentTransform,
41  public GPUMatrixOffsetTransformBase< TScalarType, NDimensions, NDimensions >
42 {
43 public:
44 
49  TScalarType, NDimensions, NDimensions > GPUSuperclass;
51  typedef SmartPointer< const Self > ConstPointer;
52 
54  itkNewMacro( Self );
55 
57  itkTypeMacro( GPUAdvancedMatrixOffsetTransformBase, CPUSuperclass );
58 
63 
65  virtual const CPUMatrixType & GetCPUMatrix( void ) const { return this->GetMatrix(); }
66 
68  virtual const CPUInverseMatrixType & GetCPUInverseMatrix( void ) const { return this->GetInverseMatrix(); }
69 
71  virtual const CPUOutputVectorType & GetCPUOffset( void ) const { return this->GetOffset(); }
72 
73 protected:
74 
77 
78 private:
79 
80  GPUAdvancedMatrixOffsetTransformBase( const Self & other ); // purposely not implemented
81  const Self & operator=( const Self & ); // purposely not implemented
82 
83 };
84 
85 } // end namespace itk
86 
87 #endif /* __itkGPUAdvancedMatrixOffsetTransformBase_h */
GPUMatrixOffsetTransformBase< TScalarType, NDimensions, NDimensions > GPUSuperclass
Base version of the GPU MatrixOffsetTransform.
GPU version of AdvancedMatrixOffsetTransformBase.
virtual const CPUMatrixType & GetCPUMatrix(void) const
virtual const CPUOutputVectorType & GetCPUOffset(void) const
const Self & operator=(const Self &)
virtual const CPUInverseMatrixType & GetCPUInverseMatrix(void) const
Vector< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension) > CPUOutputVectorType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo