SimpleITK
1.2.4
|
A 3D rotation transform with rotation as a versor around a fixed center. More...
#include <sitkVersorTransform.h>
Public Types | |
typedef VersorTransform | 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::vector< double > | GetVersor () const |
VersorTransform & | operator= (const VersorTransform &) |
Self & | SetCenter (const std::vector< double > ¶ms) |
Self & | SetMatrix (const std::vector< double > &matrix, double tolerance=1e-10) |
Self & | SetRotation (const std::vector< double > &versor) |
Self & | SetRotation (const std::vector< double > &axis, double angle) |
VersorTransform () | |
VersorTransform (const VersorTransform &) | |
VersorTransform (const Transform &) | |
VersorTransform (const std::vector< double > &versor, const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0)) | |
VersorTransform (const std::vector< double > &axis, double angle, const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0)) | |
~VersorTransform () | |
Public Member Functions inherited from itk::simple::Transform | |
Self & | AddTransform (Transform t) |
Self & | FlattenTransform () |
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... | |
virtual std::string | GetName () const |
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) |
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< std::vector< double >)> | m_pfGetCenter |
nsstd::function< std::vector< double >)> | m_pfGetMatrix |
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 |
A 3D rotation transform with rotation as a versor around a fixed center.
Definition at line 35 of file sitkVersorTransform.h.
Definition at line 39 of file sitkVersorTransform.h.
Definition at line 40 of file sitkVersorTransform.h.
itk::simple::VersorTransform::~VersorTransform | ( | ) |
itk::simple::VersorTransform::VersorTransform | ( | ) |
itk::simple::VersorTransform::VersorTransform | ( | const VersorTransform & | ) |
|
explicit |
|
explicit |
itk::simple::VersorTransform::VersorTransform | ( | const std::vector< double > & | axis, |
double | angle, | ||
const std::vector< double > & | fixedCenter = std::vector< double >(3, 0.0) |
||
) |
std::vector<double> itk::simple::VersorTransform::GetCenter | ( | ) | const |
std::vector<double> itk::simple::VersorTransform::GetMatrix | ( | ) | const |
additional methods
std::vector<double> itk::simple::VersorTransform::GetVersor | ( | ) | const |
|
private |
|
private |
VersorTransform& itk::simple::VersorTransform::operator= | ( | const VersorTransform & | ) |
Self& itk::simple::VersorTransform::SetCenter | ( | const std::vector< double > & | params | ) |
fixed parameter
Self& itk::simple::VersorTransform::SetMatrix | ( | const std::vector< double > & | matrix, |
double | tolerance = 1e-10 |
||
) |
|
protectedvirtual |
Reimplemented from itk::simple::Transform.
Self& itk::simple::VersorTransform::SetRotation | ( | const std::vector< double > & | versor | ) |
parameter
Self& itk::simple::VersorTransform::SetRotation | ( | const std::vector< double > & | axis, |
double | angle | ||
) |
|
private |
Definition at line 91 of file sitkVersorTransform.h.
|
private |
Definition at line 95 of file sitkVersorTransform.h.
|
private |
Definition at line 94 of file sitkVersorTransform.h.
|
private |
Definition at line 90 of file sitkVersorTransform.h.
|
private |
Definition at line 96 of file sitkVersorTransform.h.
|
private |
Definition at line 92 of file sitkVersorTransform.h.
|
private |
Definition at line 93 of file sitkVersorTransform.h.