SimpleITK  1.3.0.dev466
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::simple::Similarity3DTransform Class Reference

A similarity 3D transform with rotation as a versor, and isotropic scaling around a fixed center with translation. More...

#include <sitkSimilarity3DTransform.h>

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

Public Types

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

Public Member Functions

std::vector< double > GetCenter () const
 
std::vector< double > GetMatrix () const
 
std::string GetName () const
 
double GetScale () const
 
std::vector< double > GetTranslation () const
 
std::vector< double > GetVersor () const
 
Similarity3DTransformoperator= (const Similarity3DTransform &)
 
SelfSetCenter (const std::vector< double > &params)
 
SelfSetMatrix (const std::vector< double > &matrix, double tolerance=1e-10)
 
SelfSetRotation (const std::vector< double > &versor)
 
SelfSetRotation (const std::vector< double > &axis, double angle)
 
SelfSetScale (double scale)
 
SelfSetTranslation (const std::vector< double > &translation)
 
 Similarity3DTransform ()
 
 Similarity3DTransform (const Similarity3DTransform &)
 
 Similarity3DTransform (const Transform &)
 
 Similarity3DTransform (double scaleFactor, const std::vector< double > &versor, const std::vector< double > &translation=std::vector< double >(3, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0))
 
 Similarity3DTransform (double scaleFactor, const std::vector< double > &axis, double angle, const std::vector< double > &translation=std::vector< double >(3, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0))
 
SelfTranslate (const std::vector< double > &offset)
 
virtual ~Similarity3DTransform ()
 
- Public Member Functions inherited from itk::simple::Transform
SelfAddTransform (Transform t)
 
SelfFlattenTransform ()
 Remove nested composite transforms. More...
 
unsigned int GetDimension (void) const
 
Transform GetInverse () const
 Return a new inverse transform of the same type as this. More...
 
unsigned int GetNumberOfFixedParameters (void) const
 
unsigned int GetNumberOfParameters (void) 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 (void)
 By default a 3-d identity transform is constructed. 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 (Image &displacement, TransformEnum type=sitkDisplacementField)
 Use an image to construct a transform. 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 (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

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

Private Attributes

nsstd::function< std::vector< double >)> m_pfGetCenter
 
nsstd::function< std::vector< double >)> m_pfGetMatrix
 
nsstd::function< double()> m_pfGetScale
 
nsstd::function< std::vector< double >)> m_pfGetTranslation
 
nsstd::function< std::vector< double >)> m_pfGetVersor
 
nsstd::function< void(const std::vector< double > &)> m_pfSetCenter
 
nsstd::function< void(const std::vector< double > &, double)> m_pfSetMatrix
 
nsstd::function< void(const std::vector< double > &)> m_pfSetRotation1
 
nsstd::function< void(const std::vector< double >, double &)> m_pfSetRotation2
 
nsstd::function< void(double)> m_pfSetScale
 
nsstd::function< void(const std::vector< double > &)> m_pfSetTranslation
 
nsstd::function< void(const std::vector< double > &)> m_pfTranslate
 

Detailed Description

A similarity 3D transform with rotation as a versor, and isotropic scaling around a fixed center with translation.

See also
itk::Similarity3DTransform

Definition at line 35 of file sitkSimilarity3DTransform.h.

Member Typedef Documentation

Definition at line 39 of file sitkSimilarity3DTransform.h.

Definition at line 40 of file sitkSimilarity3DTransform.h.

Constructor & Destructor Documentation

virtual itk::simple::Similarity3DTransform::~Similarity3DTransform ( )
virtual
itk::simple::Similarity3DTransform::Similarity3DTransform ( )
itk::simple::Similarity3DTransform::Similarity3DTransform ( const Similarity3DTransform )
itk::simple::Similarity3DTransform::Similarity3DTransform ( const Transform )
explicit
itk::simple::Similarity3DTransform::Similarity3DTransform ( double  scaleFactor,
const std::vector< double > &  versor,
const std::vector< double > &  translation = std::vector< double >(3, 0.0),
const std::vector< double > &  fixedCenter = std::vector< double >(3, 0.0) 
)
itk::simple::Similarity3DTransform::Similarity3DTransform ( double  scaleFactor,
const std::vector< double > &  axis,
double  angle,
const std::vector< double > &  translation = std::vector< double >(3, 0.0),
const std::vector< double > &  fixedCenter = std::vector< double >(3, 0.0) 
)

Member Function Documentation

std::vector<double> itk::simple::Similarity3DTransform::GetCenter ( ) const
std::vector<double> itk::simple::Similarity3DTransform::GetMatrix ( ) const
std::string itk::simple::Similarity3DTransform::GetName ( ) const
inlinevirtual

Name of this class

Reimplemented from itk::simple::Transform.

Definition at line 62 of file sitkSimilarity3DTransform.h.

double itk::simple::Similarity3DTransform::GetScale ( ) const
std::vector<double> itk::simple::Similarity3DTransform::GetTranslation ( ) const
std::vector<double> itk::simple::Similarity3DTransform::GetVersor ( ) const
void itk::simple::Similarity3DTransform::InternalInitialization ( itk::TransformBase transform)
private
template<typename TransformType >
void itk::simple::Similarity3DTransform::InternalInitialization ( TransformType *  transform)
private
Similarity3DTransform& itk::simple::Similarity3DTransform::operator= ( const Similarity3DTransform )
Self& itk::simple::Similarity3DTransform::SetCenter ( const std::vector< double > &  params)

fixed parameter

Self& itk::simple::Similarity3DTransform::SetMatrix ( const std::vector< double > &  matrix,
double  tolerance = 1e-10 
)
virtual void itk::simple::Similarity3DTransform::SetPimpleTransform ( PimpleTransformBase *  pimpleTransform)
protectedvirtual

Reimplemented from itk::simple::Transform.

Self& itk::simple::Similarity3DTransform::SetRotation ( const std::vector< double > &  versor)

parameter

Self& itk::simple::Similarity3DTransform::SetRotation ( const std::vector< double > &  axis,
double  angle 
)
Self& itk::simple::Similarity3DTransform::SetScale ( double  scale)
Self& itk::simple::Similarity3DTransform::SetTranslation ( const std::vector< double > &  translation)
Self& itk::simple::Similarity3DTransform::Translate ( const std::vector< double > &  offset)

additional methods

Member Data Documentation

nsstd::function<std::vector<double>)> itk::simple::Similarity3DTransform::m_pfGetCenter
private

Definition at line 100 of file sitkSimilarity3DTransform.h.

nsstd::function<std::vector<double>)> itk::simple::Similarity3DTransform::m_pfGetMatrix
private

Definition at line 109 of file sitkSimilarity3DTransform.h.

nsstd::function<double()> itk::simple::Similarity3DTransform::m_pfGetScale
private

Definition at line 105 of file sitkSimilarity3DTransform.h.

nsstd::function<std::vector<double>)> itk::simple::Similarity3DTransform::m_pfGetTranslation
private

Definition at line 107 of file sitkSimilarity3DTransform.h.

nsstd::function<std::vector<double>)> itk::simple::Similarity3DTransform::m_pfGetVersor
private

Definition at line 103 of file sitkSimilarity3DTransform.h.

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

Definition at line 99 of file sitkSimilarity3DTransform.h.

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

Definition at line 110 of file sitkSimilarity3DTransform.h.

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

Definition at line 101 of file sitkSimilarity3DTransform.h.

nsstd::function<void(const std::vector<double>,double&)> itk::simple::Similarity3DTransform::m_pfSetRotation2
private

Definition at line 102 of file sitkSimilarity3DTransform.h.

nsstd::function<void(double)> itk::simple::Similarity3DTransform::m_pfSetScale
private

Definition at line 104 of file sitkSimilarity3DTransform.h.

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

Definition at line 106 of file sitkSimilarity3DTransform.h.

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

Definition at line 108 of file sitkSimilarity3DTransform.h.


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