Loading...
Searching...
No Matches
itkGPUTranslationTransform.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkGPUTranslationTransform_h
#define itkGPUTranslationTransform_h
#include "itkTranslationTransform.h"
#include "itkGPUTranslationTransformBase.h"
namespace itk
{
template <typename TScalarType = float,
unsigned int NDimensions = 3,
typename TParentTransform = TranslationTransform<TScalarType, NDimensions>>
class ITK_TEMPLATE_EXPORT GPUTranslationTransform
: public TParentTransform
, public GPUTranslationTransformBase<TScalarType, NDimensions>
{
public:
using Self = GPUTranslationTransform;
using CPUSuperclass = TParentTransform;
using GPUSuperclass = GPUTranslationTransformBase<TScalarType, NDimensions>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPUTranslationTransform, CPUSuperclass);
using CPUOutputVectorType = typename GPUSuperclass::CPUOutputVectorType;
virtual const CPUOutputVectorType &
GetCPUOffset() const
{
return this->GetOffset();
}
protected:
GPUTranslationTransform() {}
virtual ~GPUTranslationTransform() {}
private:
GPUTranslationTransform(const Self & other) = delete;
const Self &
operator=(const Self &) = delete;
};
} // end namespace itk
#endif /* itkGPUTranslationTransform_h */
itk::GPUTranslationTransformBase< TScalarType, NDimensions >::CPUOutputVectorType
Vector< TScalarType, NDimensions > CPUOutputVectorType
Definition itkGPUTranslationTransformBase.h:66
itk::GPUTranslationTransformBase< float, 3 >::GPUTranslationTransformBase
GPUTranslationTransformBase()
itk::GPUTranslationTransform::GPUSuperclass
GPUTranslationTransformBase< TScalarType, NDimensions > GPUSuperclass
Definition itkGPUTranslationTransform.h:48
itk::GPUTranslationTransform::Self
GPUTranslationTransform Self
Definition itkGPUTranslationTransform.h:46
itk::GPUTranslationTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUTranslationTransform::CPUOutputVectorType
typename GPUSuperclass::CPUOutputVectorType CPUOutputVectorType
Definition itkGPUTranslationTransform.h:59
itk::GPUTranslationTransform::GPUTranslationTransform
GPUTranslationTransform()
Definition itkGPUTranslationTransform.h:69
itk::GPUTranslationTransform::GPUTranslationTransform
GPUTranslationTransform(const Self &other)=delete
itk::GPUTranslationTransform::GetCPUOffset
virtual const CPUOutputVectorType & GetCPUOffset() const
Definition itkGPUTranslationTransform.h:63
itk::GPUTranslationTransform::Pointer
SmartPointer< Self > Pointer
Definition itkGPUTranslationTransform.h:49
itk::GPUTranslationTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUTranslationTransform.h:50
itk::GPUTranslationTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition itkGPUTranslationTransform.h:47
itk::GPUTranslationTransform::~GPUTranslationTransform
virtual ~GPUTranslationTransform()
Definition itkGPUTranslationTransform.h:70
itkGPUTranslationTransformBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |