Loading...
Searching...
No Matches
itkGPUAdvancedCombinationTransform.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 itkGPUAdvancedCombinationTransform_h
#define itkGPUAdvancedCombinationTransform_h
#include "itkAdvancedCombinationTransform.h"
#include "itkGPUCompositeTransformBase.h"
namespace itk
{
template <typename TScalarType = float,
unsigned int NDimensions = 3,
typename TParentTransform = AdvancedCombinationTransform<TScalarType, NDimensions>>
class ITK_TEMPLATE_EXPORT GPUAdvancedCombinationTransform
: public TParentTransform
, public GPUCompositeTransformBase<TScalarType, NDimensions>
{
public:
using Self = GPUAdvancedCombinationTransform;
using CPUSuperclass = TParentTransform;
using GPUSuperclass = GPUCompositeTransformBase<TScalarType, NDimensions>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPUAdvancedCombinationTransform, TParentTransform);
using GPUTransformType = typename GPUSuperclass::TransformType;
using TransformTypePointer = typename GPUSuperclass::TransformTypePointer;
using TransformTypeConstPointer = typename GPUSuperclass::TransformTypeConstPointer;
SizeValueType
GetNumberOfTransforms() const override
{
return CPUSuperclass::GetNumberOfTransforms();
}
const TransformTypePointer
GetNthTransform(SizeValueType n) const override
{
return CPUSuperclass::GetNthTransform(n);
}
protected:
GPUAdvancedCombinationTransform() = default;
~GPUAdvancedCombinationTransform() override = default;
void
PrintSelf(std::ostream & s, Indent indent) const override
{
CPUSuperclass::PrintSelf(s, indent);
}
private:
GPUAdvancedCombinationTransform(const Self & other) = delete;
const Self &
operator=(const Self &) = delete;
};
} // end namespace itk
#endif /* itkGPUAdvancedCombinationTransform_h */
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition itkAdvancedCombinationTransform.h:57
itk::AdvancedCombinationTransform::GetNumberOfTransforms
SizeValueType GetNumberOfTransforms() const
itk::AdvancedCombinationTransform::GetNthTransform
const TransformTypePointer GetNthTransform(SizeValueType n) const
itk::GPUAdvancedCombinationTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUAdvancedCombinationTransform.h:50
itk::GPUAdvancedCombinationTransform::GPUTransformType
typename GPUSuperclass::TransformType GPUTransformType
Definition itkGPUAdvancedCombinationTransform.h:59
itk::GPUAdvancedCombinationTransform::GPUAdvancedCombinationTransform
GPUAdvancedCombinationTransform()=default
itk::GPUAdvancedCombinationTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition itkGPUAdvancedCombinationTransform.h:47
itk::GPUAdvancedCombinationTransform::Pointer
SmartPointer< Self > Pointer
Definition itkGPUAdvancedCombinationTransform.h:49
itk::GPUAdvancedCombinationTransform::GetNumberOfTransforms
SizeValueType GetNumberOfTransforms() const override
Definition itkGPUAdvancedCombinationTransform.h:65
itk::GPUAdvancedCombinationTransform::PrintSelf
void PrintSelf(std::ostream &s, Indent indent) const override
Definition itkGPUAdvancedCombinationTransform.h:81
itk::GPUAdvancedCombinationTransform::~GPUAdvancedCombinationTransform
~GPUAdvancedCombinationTransform() override=default
itk::GPUAdvancedCombinationTransform::GetNthTransform
const TransformTypePointer GetNthTransform(SizeValueType n) const override
Definition itkGPUAdvancedCombinationTransform.h:72
itk::GPUAdvancedCombinationTransform::TransformTypePointer
typename GPUSuperclass::TransformTypePointer TransformTypePointer
Definition itkGPUAdvancedCombinationTransform.h:60
itk::GPUAdvancedCombinationTransform::GPUSuperclass
GPUCompositeTransformBase< TScalarType, NDimensions > GPUSuperclass
Definition itkGPUAdvancedCombinationTransform.h:48
itk::GPUAdvancedCombinationTransform::GPUAdvancedCombinationTransform
GPUAdvancedCombinationTransform(const Self &other)=delete
itk::GPUAdvancedCombinationTransform::Self
GPUAdvancedCombinationTransform Self
Definition itkGPUAdvancedCombinationTransform.h:46
itk::GPUAdvancedCombinationTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUAdvancedCombinationTransform::TransformTypeConstPointer
typename GPUSuperclass::TransformTypeConstPointer TransformTypeConstPointer
Definition itkGPUAdvancedCombinationTransform.h:61
itk::GPUCompositeTransformBase< TScalarType, NDimensions >::TransformTypeConstPointer
typename TransformType::ConstPointer TransformTypeConstPointer
Definition itkGPUCompositeTransformBase.h:52
itk::GPUCompositeTransformBase< TScalarType, NDimensions >::TransformTypePointer
typename TransformType::Pointer TransformTypePointer
Definition itkGPUCompositeTransformBase.h:51
itk::GPUCompositeTransformBase< TScalarType, NDimensions >::TransformType
Transform< TScalarType, NDimensions, NDimensions > TransformType
Definition itkGPUCompositeTransformBase.h:50
itk::GPUCompositeTransformBase< float, 3 >::GPUCompositeTransformBase
GPUCompositeTransformBase()=default
itkAdvancedCombinationTransform.h
itkGPUCompositeTransformBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |