|
SimpleITK
1.0.1
|
A similarity 2D transform with rotation in radians and isotropic scaling around a fixed center with translation. More...
#include <sitkSimilarity2DTransform.h>
Inheritance diagram for itk::simple::Similarity2DTransform:
Collaboration diagram for itk::simple::Similarity2DTransform:Public Types | |
| typedef Similarity2DTransform | Self |
| typedef Transform | Superclass |
Public Types inherited from itk::simple::Transform | |
| typedef Transform | Self |
Public Member Functions | |
| double | GetAngle () const |
| std::vector< double > | GetCenter () const |
| std::vector< double > | GetMatrix () const |
| std::string | GetName () const |
| double | GetScale () const |
| std::vector< double > | GetTranslation () const |
| Similarity2DTransform & | operator= (const Similarity2DTransform &) |
| Self & | SetAngle (double angle) |
| Self & | SetCenter (const std::vector< double > ¶ms) |
| Self & | SetMatrix (const std::vector< double > &matrix, double tolerance=1e-10) |
| Self & | SetScale (double scale) |
| Self & | SetTranslation (const std::vector< double > &translation) |
| Similarity2DTransform () | |
| Similarity2DTransform (double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) | |
| Similarity2DTransform (const Similarity2DTransform &) | |
| Similarity2DTransform (const Transform &) | |
Public Member Functions inherited from itk::simple::Transform | |
| Self & | AddTransform (Transform t) |
| unsigned int | GetDimension (void) const |
| Transform | GetInverse () const |
| Return a new inverse transform of the same type as this. More... | |
| 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 |
| void | WriteTransform (const std::string &filename) const |
| virtual | ~Transform (void) |
| Transform & | operator= (const Transform &) |
| Copy constructor and assignment operator. More... | |
| Transform (const Transform &) | |
| Copy constructor and assignment operator. More... | |
| itk::TransformBase * | GetITKBase (void) |
| const itk::TransformBase * | GetITKBase (void) const |
| void | SetParameters (const std::vector< double > ¶meters) |
| std::vector< double > | GetParameters (void) const |
| void | SetFixedParameters (const std::vector< double > ¶meters) |
| 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< double()> | m_pfGetAngle |
| 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< void(double)> | m_pfSetAngle |
| nsstd::function< void(const std::vector< double > &)> | m_pfSetCenter |
| nsstd::function< void(const std::vector< double > &, double)> | m_pfSetMatrix |
| nsstd::function< void(double)> | m_pfSetScale |
| nsstd::function< void(const std::vector< double > &)> | m_pfSetTranslation |
A similarity 2D transform with rotation in radians and isotropic scaling around a fixed center with translation.
Definition at line 34 of file sitkSimilarity2DTransform.h.
Definition at line 38 of file sitkSimilarity2DTransform.h.
Definition at line 39 of file sitkSimilarity2DTransform.h.
| itk::simple::Similarity2DTransform::Similarity2DTransform | ( | ) |
|
explicit |
| itk::simple::Similarity2DTransform::Similarity2DTransform | ( | const Similarity2DTransform & | ) |
|
explicit |
| double itk::simple::Similarity2DTransform::GetAngle | ( | ) | const |
| std::vector<double> itk::simple::Similarity2DTransform::GetCenter | ( | ) | const |
| std::vector<double> itk::simple::Similarity2DTransform::GetMatrix | ( | ) | const |
additional methods
|
inlinevirtual |
Name of this class
Reimplemented from itk::simple::Transform.
Definition at line 56 of file sitkSimilarity2DTransform.h.
| double itk::simple::Similarity2DTransform::GetScale | ( | ) | const |
| std::vector<double> itk::simple::Similarity2DTransform::GetTranslation | ( | ) | const |
|
private |
|
private |
| Similarity2DTransform& itk::simple::Similarity2DTransform::operator= | ( | const Similarity2DTransform & | ) |
| Self& itk::simple::Similarity2DTransform::SetAngle | ( | double | angle | ) |
parameter
| Self& itk::simple::Similarity2DTransform::SetCenter | ( | const std::vector< double > & | params | ) |
fixed parameter
| Self& itk::simple::Similarity2DTransform::SetMatrix | ( | const std::vector< double > & | matrix, |
| double | tolerance = 1e-10 |
||
| ) |
|
protectedvirtual |
Reimplemented from itk::simple::Transform.
| Self& itk::simple::Similarity2DTransform::SetScale | ( | double | scale | ) |
| Self& itk::simple::Similarity2DTransform::SetTranslation | ( | const std::vector< double > & | translation | ) |
|
private |
Definition at line 92 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 90 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 97 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 96 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 94 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 91 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 89 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 98 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 95 of file sitkSimilarity2DTransform.h.
|
private |
Definition at line 93 of file sitkSimilarity2DTransform.h.
1.8.9.1