SimpleITK  1.1.0
Classes | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::simple::TranslationTransform Class Reference

Translation of a 2D or 3D coordinate space. More...

#include <sitkTranslationTransform.h>

+ Inheritance diagram for itk::simple::TranslationTransform:
+ Collaboration diagram for itk::simple::TranslationTransform:

Classes

struct  MyVisitor
 

Public Types

typedef TranslationTransform Self
 
typedef Transform Superclass
 
- Public Types inherited from itk::simple::Transform
typedef Transform Self
 

Public Member Functions

std::vector< double > GetOffset () const
 
TranslationTransformoperator= (const TranslationTransform &)
 
SelfSetOffset (const std::vector< double > &params)
 
 TranslationTransform (const Transform &)
 
 TranslationTransform (const TranslationTransform &)
 
 TranslationTransform (unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0))
 
virtual ~TranslationTransform ()
 
- Public Member Functions inherited from itk::simple::Transform
SelfAddTransform (Transform t)
 
unsigned int GetDimension (void) const
 
Transform GetInverse () const
 Return a new inverse transform of the same type as this. More...
 
virtual std::string GetName () const
 
virtual bool IsLinear () const
 
void MakeUnique (void)
 Performs actually coping if needed to make object unique. More...
 
virtual void SetIdentity ()
 
virtual bool SetInverse ()
 Try to change the current transform to it's inverse. More...
 
std::string ToString (void) const
 
 Transform (Image &displacement, TransformEnum type=sitkDisplacementField)
 Use an image to construct a transform. More...
 
template<unsigned int NDimension>
 Transform (itk::CompositeTransform< double, NDimension > *compositeTransform)
 Construct a SimpleITK Transform from a pointer to an ITK composite transform. More...
 
 Transform (itk::TransformBase *transform)
 
 Transform (unsigned int dimensions, TransformEnum type)
 Construct a specific transformation. More...
 
 Transform (void)
 By default a 3-d identity transform is constructed. More...
 
std::vector< double > TransformPoint (const std::vector< double > &point) const
 
void WriteTransform (const std::string &filename) const
 
virtual ~Transform (void)
 
Transformoperator= (const Transform &)
 Copy constructor and assignment operator. More...
 
 Transform (const Transform &)
 Copy constructor and assignment operator. More...
 
itk::TransformBaseGetITKBase (void)
 
const itk::TransformBaseGetITKBase (void) const
 
void SetParameters (const std::vector< double > &parameters)
 
std::vector< double > GetParameters (void) const
 
void SetFixedParameters (const std::vector< double > &parameters)
 
std::vector< double > GetFixedParameters (void) const
 

Protected Member Functions

virtual void SetPimpleTransform (PimpleTransformBase *pimpleTransform)
 
- Protected Member Functions inherited from itk::simple::Transform
 Transform (PimpleTransformBase *pimpleTransform)
 

Private Member Functions

SelfAddTransform (Transform t)
 
void InternalInitialization (itk::TransformBase *transform)
 
template<typename TransformType >
void InternalInitialization (TransformType *transform)
 

Private Attributes

nsstd::function< std::vector< double >)> m_pfGetOffset
 
nsstd::function< void(const std::vector< double > &)> m_pfSetOffset
 

Detailed Description

Translation of a 2D or 3D coordinate space.

See also
itk::TranslationTransform
Examples
ImageRegistrationMethod1/ImageRegistrationMethod1.cxx, and ImageRegistrationMethod2/ImageRegistrationMethod2.cxx.

Definition at line 35 of file sitkTranslationTransform.h.

Member Typedef Documentation

◆ Self

Definition at line 39 of file sitkTranslationTransform.h.

◆ Superclass

Definition at line 40 of file sitkTranslationTransform.h.

Constructor & Destructor Documentation

◆ ~TranslationTransform()

virtual itk::simple::TranslationTransform::~TranslationTransform ( )
virtual

◆ TranslationTransform() [1/3]

itk::simple::TranslationTransform::TranslationTransform ( unsigned int  dimensions,
const std::vector< double > &  offset = std::vector< double >(3, 0.0) 
)
explicit

◆ TranslationTransform() [2/3]

itk::simple::TranslationTransform::TranslationTransform ( const TranslationTransform )

◆ TranslationTransform() [3/3]

itk::simple::TranslationTransform::TranslationTransform ( const Transform )

Member Function Documentation

◆ AddTransform()

Self& itk::simple::Transform::AddTransform
private

◆ GetOffset()

std::vector<double> itk::simple::TranslationTransform::GetOffset ( ) const

◆ InternalInitialization() [1/2]

void itk::simple::TranslationTransform::InternalInitialization ( itk::TransformBase transform)
private

◆ InternalInitialization() [2/2]

template<typename TransformType >
void itk::simple::TranslationTransform::InternalInitialization ( TransformType *  transform)
private

◆ operator=()

TranslationTransform& itk::simple::TranslationTransform::operator= ( const TranslationTransform )

◆ SetOffset()

Self& itk::simple::TranslationTransform::SetOffset ( const std::vector< double > &  params)

◆ SetPimpleTransform()

virtual void itk::simple::TranslationTransform::SetPimpleTransform ( PimpleTransformBase *  pimpleTransform)
protectedvirtual

Reimplemented from itk::simple::Transform.

Member Data Documentation

◆ m_pfGetOffset

nsstd::function<std::vector<double>)> itk::simple::TranslationTransform::m_pfGetOffset
private

Definition at line 85 of file sitkTranslationTransform.h.

◆ m_pfSetOffset

nsstd::function<void(const std::vector<double> &)> itk::simple::TranslationTransform::m_pfSetOffset
private

Definition at line 84 of file sitkTranslationTransform.h.


The documentation for this class was generated from the following file: