Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#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 63 of file itkGPUTransformCopier.h.
Data Structures | |
struct | TransformSpaceDimensionToType |
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef CPUTransformType::FixedParametersType | CPUFixedParametersType |
typedef CPUTransformType::ParametersType | CPUParametersType |
typedef CPUTransformType::ScalarType | CPUScalarType |
typedef CPUTransformType::ConstPointer | CPUTransformConstPointer |
typedef TTransform | CPUTransformType |
typedef GPUTransformType::FixedParametersType | GPUFixedParametersType |
typedef GPUTransformType::ParametersType | GPUParametersType |
typedef TOutputTransformPrecisionType | GPUScalarType |
typedef GPUTransformType::Pointer | GPUTransformPointer |
typedef Transform< GPUScalarType, InputSpaceDimension, OutputSpaceDimension > | GPUTransformType |
typedef SmartPointer< Self > | Pointer |
typedef GPUTransformCopier | Self |
typedef Object | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual bool | GetExplicitMode () const |
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 (void) |
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 |
typedef SmartPointer< const Self > itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::ConstPointer |
Definition at line 71 of file itkGPUTransformCopier.h.
typedef CPUTransformType::FixedParametersType itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUFixedParametersType |
Definition at line 83 of file itkGPUTransformCopier.h.
typedef CPUTransformType::ParametersType itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUParametersType |
Definition at line 82 of file itkGPUTransformCopier.h.
typedef CPUTransformType::ScalarType itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUScalarType |
Definition at line 84 of file itkGPUTransformCopier.h.
typedef CPUTransformType::ConstPointer itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUTransformConstPointer |
Definition at line 81 of file itkGPUTransformCopier.h.
typedef TTransform itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::CPUTransformType |
Type CPU definitions for the transform.
Definition at line 80 of file itkGPUTransformCopier.h.
typedef GPUTransformType::FixedParametersType itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUFixedParametersType |
Definition at line 96 of file itkGPUTransformCopier.h.
typedef GPUTransformType::ParametersType itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUParametersType |
Definition at line 95 of file itkGPUTransformCopier.h.
typedef TOutputTransformPrecisionType itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUScalarType |
Type GPU definitions for the transform.
Definition at line 91 of file itkGPUTransformCopier.h.
typedef GPUTransformType::Pointer itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUTransformPointer |
Definition at line 94 of file itkGPUTransformCopier.h.
typedef Transform< GPUScalarType, InputSpaceDimension, OutputSpaceDimension > itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::GPUTransformType |
Definition at line 93 of file itkGPUTransformCopier.h.
typedef SmartPointer< Self > itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Pointer |
Definition at line 70 of file itkGPUTransformCopier.h.
typedef GPUTransformCopier itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Self |
Standard class typedefs.
Definition at line 68 of file itkGPUTransformCopier.h.
typedef Object itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Superclass |
Definition at line 69 of file itkGPUTransformCopier.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 128 of file itkGPUTransformCopier.h.
|
private |
|
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 164 of file itkGPUTransformCopier.h.
|
private |
Copy method for Euler2D transform, partial specialization.
|
inlineprivate |
Copy method for Euler3D transform.
Definition at line 175 of file itkGPUTransformCopier.h.
|
private |
Copy method for Euler3D transform, partial specialization.
|
inlineprivate |
Copy method for Similarity2D transform.
Definition at line 196 of file itkGPUTransformCopier.h.
|
private |
Copy method for Similarity2D transform, partial specialization.
|
inlineprivate |
Copy method for Similarity3D transform.
Definition at line 207 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 >::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.
|
private |
|
overrideprotected |
|
virtual |
|
virtual |
Get/Set the input transform.
void itk::GPUTransformCopier< TTypeList, NDimensions, TTransform, TOutputTransformPrecisionType >::Update | ( | void | ) |
Update method.
|
private |
Definition at line 234 of file itkGPUTransformCopier.h.
|
private |
Definition at line 231 of file itkGPUTransformCopier.h.
|
private |
Definition at line 233 of file itkGPUTransformCopier.h.
|
private |
Definition at line 232 of file itkGPUTransformCopier.h.
Generated on 1667476801 for elastix by 1.9.4 |