#include <itkGPUTransformCopier.h>
A helper class which creates an GPU transform which is perfect copy of the CPU transform.
This class is NOT a filter. Although it has an API similar to a filter, this class is not intended to be used in a pipeline. Instead, the typical use will be like it is illustrated in the following code:
Note that the Update() method must be called explicitly in the filter that provides the input to the GPUTransformCopier object. This is needed because the GPUTransformCopier is not a pipeline filter.
Definition at line 62 of file itkGPUTransformCopier.h.
Data Structures | |
struct | TransformSpaceDimensionToType |
Public Types | |
using | ConstPointer = SmartPointer<const Self> |
using | CPUFixedParametersType = typename CPUTransformType::FixedParametersType |
using | CPUParametersType = typename CPUTransformType::ParametersType |
using | CPUScalarType = typename CPUTransformType::ScalarType |
using | CPUTransformConstPointer = typename CPUTransformType::ConstPointer |
using | CPUTransformType = TTransform |
using | GPUFixedParametersType = typename GPUTransformType::FixedParametersType |
using | GPUParametersType = typename GPUTransformType::ParametersType |
using | GPUScalarType = TOutputTransformPrecisionType |
using | GPUTransformPointer = typename GPUTransformType::Pointer |
using | GPUTransformType = Transform<GPUScalarType, InputSpaceDimension, OutputSpaceDimension> |
using | Pointer = SmartPointer<Self> |
using | Self = GPUTransformCopier |
using | Superclass = Object |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | GetExplicitMode () const |
ITK_DISALLOW_COPY_AND_MOVE (GPUTransformCopier) | |
itkGetModifiableObjectMacro (Output, GPUTransformType) | |
itkStaticConstMacro (InputSpaceDimension, unsigned int, CPUTransformType::InputSpaceDimension) | |
itkStaticConstMacro (OutputSpaceDimension, unsigned int, CPUTransformType::OutputSpaceDimension) | |
virtual void | SetExplicitMode (bool _arg) |
virtual void | SetInputTransform (const CPUTransformType *_arg) |
void | Update () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | CastCopyFixedParameters (const CPUFixedParametersType &from, GPUFixedParametersType &to) |
void | CastCopyParameters (const CPUParametersType &from, GPUParametersType &to) |
void | CastCopyTransformParameters (const CPUTransformConstPointer &fromTransform, GPUTransformPointer &toTransform) |
bool | CopyTransform (const CPUTransformConstPointer &fromTransform, GPUTransformPointer &toTransform) |
GPUTransformCopier () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~GPUTransformCopier () override | |
Private Attributes | |
bool | m_ExplicitMode {} |
CPUTransformConstPointer | m_InputTransform {} |
ModifiedTimeType | m_InternalTransformTime {} |
GPUTransformPointer | m_Output {} |
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::ConstPointer = SmartPointer<const Self> |
Definition at line 71 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUFixedParametersType = typename CPUTransformType::FixedParametersType |
Definition at line 83 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUParametersType = typename CPUTransformType::ParametersType |
Definition at line 82 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUScalarType = typename CPUTransformType::ScalarType |
Definition at line 84 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUTransformConstPointer = typename CPUTransformType::ConstPointer |
Definition at line 81 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUTransformType = TTransform |
Type CPU definitions for the transform.
Definition at line 80 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUFixedParametersType = typename GPUTransformType::FixedParametersType |
Definition at line 95 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUParametersType = typename GPUTransformType::ParametersType |
Definition at line 94 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUScalarType = TOutputTransformPrecisionType |
Type GPU definitions for the transform.
Definition at line 91 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUTransformPointer = typename GPUTransformType::Pointer |
Definition at line 93 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUTransformType = Transform<GPUScalarType, InputSpaceDimension, OutputSpaceDimension> |
Definition at line 92 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Pointer = SmartPointer<Self> |
Definition at line 70 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Self = GPUTransformCopier |
Standard class typedefs.
Definition at line 68 of file itkGPUTransformCopier.h.
using itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Superclass = Object |
Definition at line 69 of file itkGPUTransformCopier.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 127 of file itkGPUTransformCopier.h.
|
protected |
Method to copy the fixed parameters.
|
protected |
Method to copy the parameters.
|
protected |
Cast and copy the transform parameters.
|
private |
Copy method for BSpline transform.
|
inlineprivate |
Copy method for Euler2D transform.
Definition at line 160 of file itkGPUTransformCopier.h.
|
private |
Copy method for Euler2D transform, partial specialization.
|
inlineprivate |
Copy method for Euler3D transform.
Definition at line 171 of file itkGPUTransformCopier.h.
|
private |
Copy method for Euler3D transform, partial specialization.
|
inlineprivate |
Copy method for Similarity2D transform.
Definition at line 194 of file itkGPUTransformCopier.h.
|
private |
Copy method for Similarity2D transform, partial specialization.
|
inlineprivate |
Copy method for Similarity3D transform.
Definition at line 205 of file itkGPUTransformCopier.h.
|
private |
Copy method for Similarity3D transform, partial specialization.
|
protected |
Method to copy the transforms parameters.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get/Set the explicit mode. The default is true. If the explicit mode has been set to false that means that early in the code the factories has been created. ObjectFactoryBase::RegisterFactory( GPUAffineTransformFactory::New() ); ObjectFactoryBase::RegisterFactory( GPUTranslationTransformFactory::New() ); ObjectFactoryBase::RegisterFactory( GPUBSplineTransformFactory::New() ); ObjectFactoryBase::RegisterFactory( GPUEuler3DTransformFactory::New() ); ObjectFactoryBase::RegisterFactory( GPUSimilarity3DTransformFactory::New() );
itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::ITK_DISALLOW_COPY_AND_MOVE | ( | GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType > | ) |
itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::itkGetModifiableObjectMacro | ( | Output | , |
GPUTransformType | ) |
Compute of the output transform.
itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned int | , | ||
CPUTransformType::InputSpaceDimension | ) |
Dimension of the domain space.
itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned int | , | ||
CPUTransformType::OutputSpaceDimension | ) |
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
virtual |
|
virtual |
Get/Set the input transform.
void itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Update | ( | ) |
Update method.
|
private |
Definition at line 229 of file itkGPUTransformCopier.h.
|
private |
Definition at line 226 of file itkGPUTransformCopier.h.
|
private |
Definition at line 228 of file itkGPUTransformCopier.h.
|
private |
Definition at line 227 of file itkGPUTransformCopier.h.
Generated on 2024-07-17 for elastix by 1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d) |