ITK
6.0.0
Insight Toolkit
|
#include <itkTransformBase.h>
This class is an abstract class to represent a spatial transform.
This class is templated over the scalar type used to store the transform's parameters.
Definition at line 68 of file itkTransformBase.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = OptimizerParameters< FixedParametersValueType > |
using | FixedParametersValueType = double |
using | NumberOfParametersType = IdentifierType |
using | ParametersType = OptimizerParameters< ParametersValueType > |
using | ParametersValueType = TParametersValueType |
using | Pointer = SmartPointer< Self > |
using | Self = TransformBaseTemplate |
using | Superclass = Object |
using | TransformCategoryEnum = TransformBaseTemplateEnums::TransformCategory |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
virtual void | CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end)=0 |
virtual void | CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end)=0 |
virtual const FixedParametersType & | GetFixedParameters () const =0 |
virtual unsigned int | GetInputSpaceDimension () const =0 |
virtual const std::string & | GetInputSpaceName () const |
const char * | GetNameOfClass () const override |
virtual NumberOfParametersType | GetNumberOfParameters () const =0 |
virtual unsigned int | GetOutputSpaceDimension () const =0 |
virtual const std::string & | GetOutputSpaceName () const |
virtual const ParametersType & | GetParameters () const =0 |
virtual TransformCategoryEnum | GetTransformCategory () const =0 |
virtual std::string | GetTransformTypeAsString () const =0 |
virtual void | SetFixedParameters (const FixedParametersType &)=0 |
virtual void | SetInputSpaceName (std::string _arg) |
virtual void | SetOutputSpaceName (std::string _arg) |
virtual void | SetParameters (const ParametersType &)=0 |
virtual void | SetParametersByValue (const ParametersType &p)=0 |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
TransformBaseTemplate ()=default | |
~TransformBaseTemplate () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
std::string | m_InputSpaceName {} |
std::string | m_OutputSpaceName {} |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::TransformBaseTemplate< TParametersValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 77 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::FixedParametersType = OptimizerParameters<FixedParametersValueType> |
Definition at line 84 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::FixedParametersValueType = double |
Definition at line 83 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::NumberOfParametersType = IdentifierType |
The number of parameters can potentially be very large, therefore we use here a large capacity integer.
Definition at line 91 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::ParametersType = OptimizerParameters<ParametersValueType> |
Definition at line 82 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::ParametersValueType = TParametersValueType |
Type of the input parameters.
Definition at line 81 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 76 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::Self = TransformBaseTemplate |
Standard class type aliases.
Definition at line 74 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::Superclass = Object |
Definition at line 75 of file itkTransformBase.h.
using itk::TransformBaseTemplate< TParametersValueType >::TransformCategoryEnum = TransformBaseTemplateEnums::TransformCategory |
Definition at line 162 of file itkTransformBase.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
pure virtual |
This function allow copying a range of values into the FixedParameters The range of values must conform to std::copy(begin, end, m_FixedParameters) requirements.
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, and itk::Transform< TParametersValueType, VDimension, VDimension >.
|
pure virtual |
This function allow copying a range of values into the Parameters The range of values must conform to std::copy(begin, end, m_Parameters) requirements.
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, and itk::Transform< TParametersValueType, VDimension, VDimension >.
|
pure virtual |
Get the fixed parameters.
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, itk::Transform< TParametersValueType, VDimension, VDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 >, itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >, itk::MatrixOffsetTransformBase< TParametersValueType, VDimension, VDimension >, itk::CompositeTransform< TParametersValueType, VDimension >, itk::MultiTransform< TParametersValueType, VDimension, VSubDimensions >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::TranslationTransform< TParametersValueType, VDimension >, itk::IdentityTransform< TParametersValueType, VDimension >, itk::KernelTransform< TParametersValueType, VDimension >, itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, itk::CenteredSimilarity2DTransform< TParametersValueType >, itk::CenteredRigid2DTransform< TParametersValueType >, and itk::Euler3DTransform< TParametersValueType >.
|
pure virtual |
Get the size of the input space
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, and itk::Transform< TParametersValueType, VDimension, VDimension >.
|
virtual |
|
overridevirtual |
Reimplemented from itk::Object.
Reimplemented in itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 >, itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >, itk::MatrixOffsetTransformBase< TParametersValueType, VDimension, VDimension >, itk::DisplacementFieldTransform< TParametersValueType, VDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, itk::Transform< TParametersValueType, VDimension, VDimension >, itk::TimeVaryingBSplineVelocityFieldTransform< TParametersValueType, VDimension >, itk::v3::Rigid3DTransform< TParametersValueType >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::BSplineExponentialDiffeomorphicTransform< TParametersValueType, VDimension >, itk::GaussianExponentialDiffeomorphicTransform< TParametersValueType, VDimension >, itk::TimeVaryingVelocityFieldTransform< TParametersValueType, VDimension >, itk::BSplineSmoothingOnUpdateDisplacementFieldTransform< TParametersValueType, VDimension >, itk::VersorRigid3DTransform< TParametersValueType >, itk::VersorTransform< TParametersValueType >, itk::GaussianSmoothingOnUpdateDisplacementFieldTransform< TParametersValueType, VDimension >, itk::TranslationTransform< TParametersValueType, VDimension >, itk::GaussianSmoothingOnUpdateTimeVaryingVelocityFieldTransform< TParametersValueType, VDimension >, itk::VolumeSplineKernelTransform< TParametersValueType, VDimension >, itk::ConstantVelocityFieldTransform< TParametersValueType, VDimension >, and itk::VelocityFieldTransform< TParametersValueType, VDimension >.
|
pure virtual |
Return the number of parameters that completely define the Transform
Implemented in itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, itk::Transform< TParametersValueType, VDimension, VDimension >, itk::CompositeTransform< TParametersValueType, VDimension >, itk::MultiTransform< TParametersValueType, VDimension, VSubDimensions >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::BSplineDeformableTransform< TParametersValueType, VDimension, VSplineOrder >, itk::BSplineTransform< TParametersValueType, VDimension, VSplineOrder >, and itk::TranslationTransform< TParametersValueType, VDimension >.
|
pure virtual |
Get the size of the output space
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, and itk::Transform< TParametersValueType, VDimension, VDimension >.
|
virtual |
|
pure virtual |
Get the Transformation Parameters.
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, itk::Transform< TParametersValueType, VDimension, VDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 >, itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >, itk::MatrixOffsetTransformBase< TParametersValueType, VDimension, VDimension >, itk::CompositeTransform< TParametersValueType, VDimension >, itk::MultiTransform< TParametersValueType, VDimension, VSubDimensions >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::IdentityTransform< TParametersValueType, VDimension >, itk::Rigid2DTransform< TParametersValueType >, itk::KernelTransform< TParametersValueType, VDimension >, itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, itk::Similarity2DTransform< TParametersValueType >, itk::CenteredSimilarity2DTransform< TParametersValueType >, itk::Rigid3DPerspectiveTransform< TParametersValueType >, itk::ScaleSkewVersor3DTransform< TParametersValueType >, itk::ComposeScaleSkewVersor3DTransform< TParametersValueType >, itk::CenteredRigid2DTransform< TParametersValueType >, itk::QuaternionRigidTransform< TParametersValueType >, itk::Similarity3DTransform< TParametersValueType >, itk::ScaleVersor3DTransform< TParametersValueType >, itk::TranslationTransform< TParametersValueType, VDimension >, itk::ScaleTransform< TParametersValueType, VDimension >, itk::VersorTransform< TParametersValueType >, itk::VersorRigid3DTransform< TParametersValueType >, itk::CenteredEuler3DTransform< TParametersValueType >, itk::Euler3DTransform< TParametersValueType >, itk::ScaleLogarithmicTransform< TParametersValueType, VDimension >, and itk::CenteredAffineTransform< TParametersValueType, VDimension >.
|
pure virtual |
Get transform category
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, itk::Transform< TParametersValueType, VDimension, VDimension >, itk::DisplacementFieldTransform< TParametersValueType, VDimension >, itk::CompositeTransform< TParametersValueType, VDimension >, itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, itk::MultiTransform< TParametersValueType, VDimension, VSubDimensions >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::KernelTransform< TParametersValueType, VDimension >, itk::TranslationTransform< TParametersValueType, VDimension >, itk::IdentityTransform< TParametersValueType, VDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 >, itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >, itk::MatrixOffsetTransformBase< TParametersValueType, VDimension, VDimension >, and itk::AzimuthElevationToCartesianTransform< TParametersValueType, VDimension >.
|
pure virtual |
Generate a platform independent name
Implemented in itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::Transform< TParametersValueType, 3, 2 >, itk::Transform< TParametersValueType, VDimension, VSubDimensions >, itk::Transform< TParametersValueType, VDimension, VDimension >, and itk::BSplineTransform< TParametersValueType, VDimension, VSplineOrder >.
|
pure virtual |
Set the fixed parameters.
Implemented in itk::BSplineDeformableTransform< TParametersValueType, VDimension, VSplineOrder >, itk::BSplineTransform< TParametersValueType, VDimension, VSplineOrder >, itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, itk::Euler3DTransform< TParametersValueType >, itk::CompositeTransform< TParametersValueType, VDimension >, itk::MultiTransform< TParametersValueType, VDimension, VSubDimensions >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 >, itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >, itk::MatrixOffsetTransformBase< TParametersValueType, VDimension, VDimension >, itk::DisplacementFieldTransform< TParametersValueType, VDimension >, itk::TranslationTransform< TParametersValueType, VDimension >, itk::IdentityTransform< TParametersValueType, VDimension >, itk::KernelTransform< TParametersValueType, VDimension >, itk::CenteredSimilarity2DTransform< TParametersValueType >, itk::CenteredRigid2DTransform< TParametersValueType >, itk::Rigid3DPerspectiveTransform< TParametersValueType >, itk::VelocityFieldTransform< TParametersValueType, VDimension >, and itk::ConstantVelocityFieldTransform< TParametersValueType, VDimension >.
|
virtual |
|
virtual |
For storing the name of InputSpace/OutputSpace.
InputSpaceName, OutputSpaceName provide identifiers for the world spaces that the transform applied to and the direction of the spatial transformation. The direction of the transform goes from the input space to output space. Typical values include the names of an atlas or a dataset.
|
pure virtual |
Set the transformation parameters and update internal transformation.
Implemented in itk::DisplacementFieldTransform< TParametersValueType, VDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >, itk::MatrixOffsetTransformBase< TParametersValueType, 2, 2 >, itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >, itk::MatrixOffsetTransformBase< TParametersValueType, VDimension, VDimension >, itk::Rigid2DTransform< TParametersValueType >, itk::Similarity2DTransform< TParametersValueType >, itk::Rigid3DPerspectiveTransform< TParametersValueType >, itk::ScaleSkewVersor3DTransform< TParametersValueType >, itk::ComposeScaleSkewVersor3DTransform< TParametersValueType >, itk::CenteredSimilarity2DTransform< TParametersValueType >, itk::QuaternionRigidTransform< TParametersValueType >, itk::Similarity3DTransform< TParametersValueType >, itk::CenteredRigid2DTransform< TParametersValueType >, itk::Rigid3DTransform< TParametersValueType >, itk::ScaleVersor3DTransform< TParametersValueType >, itk::TranslationTransform< TParametersValueType, VDimension >, itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, itk::ScaleTransform< TParametersValueType, VDimension >, itk::VersorTransform< TParametersValueType >, itk::VersorRigid3DTransform< TParametersValueType >, itk::Euler3DTransform< TParametersValueType >, itk::CenteredEuler3DTransform< TParametersValueType >, itk::ScaleLogarithmicTransform< TParametersValueType, VDimension >, itk::CenteredAffineTransform< TParametersValueType, VDimension >, itk::CompositeTransform< TParametersValueType, VDimension >, itk::MultiTransform< TParametersValueType, VDimension, VSubDimensions >, itk::MultiTransform< TParametersValueType, VDimension, VDimension >, itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >, itk::IdentityTransform< TParametersValueType, VDimension >, and itk::KernelTransform< TParametersValueType, VDimension >.
|
pure virtual |
Set the transformation by copying parameters and update internal transformation. This method forces the transform to copy the parameters. The default implementation is to call SetParameters. This call must be overridden if the transform normally implements SetParameters by keeping a reference to the parameters.
Implemented in itk::BSplineBaseTransform< TParametersValueType, VDimension, VSplineOrder >, and itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >.
|
private |
Definition at line 186 of file itkTransformBase.h.
|
private |
Definition at line 187 of file itkTransformBase.h.