Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::simple::Euler2DTransform Class Reference

A rigid 2D transform with rotation in radians around a fixed center with translation. More...

#include <sitkEuler2DTransform.h>

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

Public Types

using Self = Euler2DTransform
using Superclass = Transform
- Public Types inherited from itk::simple::Transform
using Self = Transform

Public Member Functions

 Euler2DTransform ()
 Euler2DTransform (const Euler2DTransform &)
 Euler2DTransform (const std::vector< double > &fixedCenter, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0))
 Euler2DTransform (const Transform &)
double GetAngle () const
std::vector< double > GetCenter () const
std::vector< double > GetMatrix () const
std::string GetName () const override
std::vector< double > GetTranslation () const
Euler2DTransformoperator= (const Euler2DTransform &)
SelfSetAngle (double angle)
SelfSetCenter (const std::vector< double > &params)
SelfSetMatrix (const std::vector< double > &matrix, double tolerance=1e-10)
SelfSetTranslation (const std::vector< double > &translation)
 ~Euler2DTransform () override
- Public Member Functions inherited from itk::simple::Transform
unsigned int GetDimension () const
Transform GetInverse () const
 Return a new inverse transform of the same type as this. More...
unsigned int GetNumberOfFixedParameters () const
unsigned int GetNumberOfParameters () const
TransformEnum GetTransformEnum () const
 Get the TransformEnum of the underlying Transform. More...
virtual bool IsLinear () const
void MakeUnique ()
 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 () const
 Transform ()
 By default a 3-d identity transform is constructed. More...
 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...
std::vector< double > TransformPoint (const std::vector< double > &point) const
std::vector< double > TransformVector (const std::vector< double > &vector, const std::vector< double > &point) const
void WriteTransform (const std::string &filename) const
virtual ~Transform ()
Transformoperator= (const Transform &)
 Copy constructor and assignment operator. More...
 Transform (const Transform &)
 Copy constructor and assignment operator. More...
itk::TransformBaseGetITKBase ()
const itk::TransformBaseGetITKBase () const
void SetParameters (const std::vector< double > &parameters)
std::vector< double > GetParameters () const
void SetFixedParameters (const std::vector< double > &parameters)
std::vector< double > GetFixedParameters () const

Protected Member Functions

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

Private Member Functions

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

Private Attributes

std::function< double()> m_pfGetAngle
std::function< std::vector< double >)> m_pfGetCenter
std::function< std::vector< double >)> m_pfGetMatrix
std::function< std::vector< double >)> m_pfGetTranslation
std::function< void(double)> m_pfSetAngle
std::function< void(const std::vector< double > &)> m_pfSetCenter
std::function< void(const std::vector< double > &, double)> m_pfSetMatrix
std::function< void(const std::vector< double > &)> m_pfSetTranslation

Detailed Description

A rigid 2D transform with rotation in radians around a fixed center with translation.

See also

Definition at line 35 of file sitkEuler2DTransform.h.

Member Typedef Documentation

◆ Self

Definition at line 39 of file sitkEuler2DTransform.h.

◆ Superclass

Definition at line 40 of file sitkEuler2DTransform.h.

Constructor & Destructor Documentation

◆ ~Euler2DTransform()

itk::simple::Euler2DTransform::~Euler2DTransform ( )

◆ Euler2DTransform() [1/4]

itk::simple::Euler2DTransform::Euler2DTransform ( )

◆ Euler2DTransform() [2/4]

itk::simple::Euler2DTransform::Euler2DTransform ( const std::vector< double > &  fixedCenter,
double  angle = 0.0,
const std::vector< double > &  translation = std::vector< double >(2, 0.0) 

◆ Euler2DTransform() [3/4]

itk::simple::Euler2DTransform::Euler2DTransform ( const Euler2DTransform )

◆ Euler2DTransform() [4/4]

itk::simple::Euler2DTransform::Euler2DTransform ( const Transform )

Member Function Documentation

◆ GetAngle()

double itk::simple::Euler2DTransform::GetAngle ( ) const

◆ GetCenter()

std::vector<double> itk::simple::Euler2DTransform::GetCenter ( ) const

◆ GetMatrix()

std::vector<double> itk::simple::Euler2DTransform::GetMatrix ( ) const

additional methods

◆ GetName()

std::string itk::simple::Euler2DTransform::GetName ( ) const

Name of this class

Reimplemented from itk::simple::Transform.

Definition at line 58 of file sitkEuler2DTransform.h.

◆ GetTranslation()

std::vector<double> itk::simple::Euler2DTransform::GetTranslation ( ) const

◆ InternalInitialization() [1/2]

void itk::simple::Euler2DTransform::InternalInitialization ( itk::TransformBase transform)

◆ InternalInitialization() [2/2]

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

◆ operator=()

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

◆ SetAngle()

Self& itk::simple::Euler2DTransform::SetAngle ( double  angle)


◆ SetCenter()

Self& itk::simple::Euler2DTransform::SetCenter ( const std::vector< double > &  params)

fixed parameter

◆ SetMatrix()

Self& itk::simple::Euler2DTransform::SetMatrix ( const std::vector< double > &  matrix,
double  tolerance = 1e-10 

◆ SetPimpleTransform()

void itk::simple::Euler2DTransform::SetPimpleTransform ( PimpleTransformBase *  pimpleTransform)

Reimplemented from itk::simple::Transform.

◆ SetTranslation()

Self& itk::simple::Euler2DTransform::SetTranslation ( const std::vector< double > &  translation)

Member Data Documentation

◆ m_pfGetAngle

std::function<double()> itk::simple::Euler2DTransform::m_pfGetAngle

Definition at line 89 of file sitkEuler2DTransform.h.

◆ m_pfGetCenter

std::function<std::vector<double>)> itk::simple::Euler2DTransform::m_pfGetCenter

Definition at line 87 of file sitkEuler2DTransform.h.

◆ m_pfGetMatrix

std::function<std::vector<double>)> itk::simple::Euler2DTransform::m_pfGetMatrix

Definition at line 92 of file sitkEuler2DTransform.h.

◆ m_pfGetTranslation

std::function<std::vector<double>)> itk::simple::Euler2DTransform::m_pfGetTranslation

Definition at line 91 of file sitkEuler2DTransform.h.

◆ m_pfSetAngle

std::function<void(double)> itk::simple::Euler2DTransform::m_pfSetAngle

Definition at line 88 of file sitkEuler2DTransform.h.

◆ m_pfSetCenter

std::function<void(const std::vector<double>&)> itk::simple::Euler2DTransform::m_pfSetCenter

Definition at line 86 of file sitkEuler2DTransform.h.

◆ m_pfSetMatrix

std::function<void(const std::vector<double>&, double)> itk::simple::Euler2DTransform::m_pfSetMatrix

Definition at line 93 of file sitkEuler2DTransform.h.

◆ m_pfSetTranslation

std::function<void(const std::vector<double>&)> itk::simple::Euler2DTransform::m_pfSetTranslation

Definition at line 90 of file sitkEuler2DTransform.h.

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