Loading...
Searching...
No Matches
itkGPUIdentityTransform.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 itkGPUIdentityTransform_h
#define itkGPUIdentityTransform_h
#include "itkIdentityTransform.h"
#include "itkVersion.h"
#include "itkGPUTransformBase.h"
namespace itk
{
itkGPUKernelClassMacro(GPUIdentityTransformKernel);
template <typename TScalarType = float,
unsigned int NDimensions = 3,
typename TParentTransform = IdentityTransform<TScalarType, NDimensions>>
class ITK_EXPORT GPUIdentityTransform
: public TParentTransform
, public GPUTransformBase
{
public:
using Self = GPUIdentityTransform;
using CPUSuperclass = TParentTransform;
using GPUSuperclass = GPUTransformBase;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(GPUIdentityTransform, TParentTransform);
bool
IsIdentityTransform() const override
{
return true;
}
protected:
GPUIdentityTransform();
~GPUIdentityTransform() override = default;
void
PrintSelf(std::ostream & os, Indent indent) const override;
bool
GetSourceCode(std::string & source) const override;
private:
GPUIdentityTransform(const Self & other) = delete;
const Self &
operator=(const Self &) = delete;
std::vector<std::string> m_Sources{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkGPUIdentityTransform.hxx"
#endif
#endif /* itkGPUIdentityTransform_h */
IdentityTransform
TScalarType
float
itk::GPUIdentityTransform::GPUSuperclass
GPUTransformBase GPUSuperclass
Definition itkGPUIdentityTransform.h:53
itk::GPUIdentityTransform::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::GPUIdentityTransform::GPUIdentityTransform
GPUIdentityTransform()
itk::GPUIdentityTransform::~GPUIdentityTransform
~GPUIdentityTransform() override=default
itk::GPUIdentityTransform::Pointer
SmartPointer< Self > Pointer
Definition itkGPUIdentityTransform.h:54
itk::GPUIdentityTransform::operator=
const Self & operator=(const Self &)=delete
itk::GPUIdentityTransform::IsIdentityTransform
bool IsIdentityTransform() const override
Definition itkGPUIdentityTransform.h:66
itk::GPUIdentityTransform::GPUIdentityTransform
GPUIdentityTransform(const Self &other)=delete
itk::GPUIdentityTransform::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkGPUIdentityTransform.h:55
itk::GPUIdentityTransform::Self
GPUIdentityTransform Self
Definition itkGPUIdentityTransform.h:51
itk::GPUIdentityTransform::GetSourceCode
bool GetSourceCode(std::string &source) const override
itk::GPUIdentityTransform::CPUSuperclass
TParentTransform CPUSuperclass
Definition itkGPUIdentityTransform.h:52
itk::GPUIdentityTransform::m_Sources
std::vector< std::string > m_Sources
Definition itkGPUIdentityTransform.h:87
itk::GPUTransformBase::GPUTransformBase
GPUTransformBase()
itkGPUTransformBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::itkGPUKernelClassMacro
itkGPUKernelClassMacro(GPUBSplineTransformKernel)

Generated on 1768596610 for elastix by 1.15.0 |