Loading...
Searching...
No Matches
itkGPUBSplineTransform.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 itkGPUBSplineTransform_h
#define itkGPUBSplineTransform_h
#include "itkBSplineTransform.h"
#include "itkGPUBSplineBaseTransform.h"
namespace itk
{
template <typename TScalarType = float,
unsigned int NDimensions = 3,
unsigned int VSplineOrder = 3,
typename TParentTransform = BSplineTransform<TScalarType, NDimensions, VSplineOrder>>
class ITK_EXPORT GPUBSplineTransform
: public TParentTransform
, public GPUBSplineBaseTransform<TScalarType, NDimensions>
{
public:
using Self = GPUBSplineTransform;
using CPUSuperclass = TParentTransform;
using GPUSuperclass = GPUBSplineBaseTransform<TScalarType, NDimensions>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
using ParametersType = typename CPUSuperclass::ParametersType;
using CoefficientImageArray = typename CPUSuperclass::CoefficientImageArray;
itkNewMacro(Self);
itkTypeMacro(GPUBSplineTransform, TParentTransform);
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions);
void
SetParameters(const ParametersType & parameters);
void
SetCoefficientImages(const CoefficientImageArray & images);
protected:
GPUBSplineTransform();
virtual ~GPUBSplineTransform() {}
void
PrintSelf(std::ostream & os, Indent indent) const override;
void
CopyCoefficientImagesToGPU();
private:
GPUBSplineTransform(const Self & other) = delete;
const Self &
operator=(const Self &) = delete;
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUBSplineTransform.hxx"
#endif
#endif /* itkGPUBSplineTransform_h */
itk::GPUBSplineBaseTransform< float, 3 >::GPUBSplineBaseTransform
GPUBSplineBaseTransform()
itk::GPUBSplineTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUBSplineTransform.h:51
itk::GPUBSplineTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUBSplineTransform::GPUSuperclass
GPUBSplineBaseTransform< TScalarType, NDimensions > GPUSuperclass
Definition itkGPUBSplineTransform.h:49
itk::GPUBSplineTransform::GPUBSplineTransform
GPUBSplineTransform()
itk::GPUBSplineTransform::CoefficientImageArray
typename CPUSuperclass::CoefficientImageArray CoefficientImageArray
Definition itkGPUBSplineTransform.h:53
itk::GPUBSplineTransform::SetParameters
void SetParameters(const ParametersType &parameters)
itk::GPUBSplineTransform::Pointer
SmartPointer< Self > Pointer
Definition itkGPUBSplineTransform.h:50
itk::GPUBSplineTransform::GPUBSplineTransform
GPUBSplineTransform(const Self &other)=delete
itk::GPUBSplineTransform::ParametersType
typename CPUSuperclass::ParametersType ParametersType
Definition itkGPUBSplineTransform.h:52
itk::GPUBSplineTransform::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, NDimensions)
itk::GPUBSplineTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition itkGPUBSplineTransform.h:48
itk::GPUBSplineTransform::~GPUBSplineTransform
virtual ~GPUBSplineTransform()
Definition itkGPUBSplineTransform.h:74
itk::GPUBSplineTransform::Self
GPUBSplineTransform Self
Definition itkGPUBSplineTransform.h:47
itk::GPUBSplineTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUBSplineTransform::SetCoefficientImages
void SetCoefficientImages(const CoefficientImageArray &images)
itk::GPUBSplineTransform::CopyCoefficientImagesToGPU
void CopyCoefficientImagesToGPU()
itkGPUBSplineBaseTransform.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |