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

A 3D rotation transform with rotation as a versor around a fixed center. More...

#include <sitkVersorTransform.h>

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

Public Types

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

Public Member Functions

std::vector< double > GetCenter () const
 
std::vector< double > GetMatrix () const
 
std::string GetName () const override
 
std::vector< double > GetVersor () const
 
VersorTransformoperator= (const VersorTransform &)
 
SelfSetCenter (const std::vector< double > &params)
 
SelfSetMatrix (const std::vector< double > &matrix, double tolerance=1e-10)
 
SelfSetRotation (const std::vector< double > &axis, double angle)
 
SelfSetRotation (const std::vector< double > &versor)
 
 VersorTransform ()
 
 VersorTransform (const std::vector< double > &axis, double angle, const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0))
 
 VersorTransform (const std::vector< double > &versor, const std::vector< double > &fixedCenter=std::vector< double >(3, 0.0))
 
 VersorTransform (const Transform &)
 
 VersorTransform (const VersorTransform &)
 
 ~VersorTransform () 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 (std::unique_ptr< 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< std::vector< double >)> m_pfGetCenter
 
std::function< std::vector< double >)> m_pfGetMatrix
 
std::function< std::vector< double >)> m_pfGetVersor
 
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_pfSetRotation1
 
std::function< void(const std::vector< double > &, double)> m_pfSetRotation2
 

Detailed Description

A 3D rotation transform with rotation as a versor around a fixed center.

See also
itk::VersorTransform

Definition at line 33 of file sitkVersorTransform.h.

Member Typedef Documentation

◆ Self

Definition at line 37 of file sitkVersorTransform.h.

◆ Superclass

Definition at line 38 of file sitkVersorTransform.h.

Constructor & Destructor Documentation

◆ ~VersorTransform()

itk::simple::VersorTransform::~VersorTransform ( )
override

◆ VersorTransform() [1/5]

itk::simple::VersorTransform::VersorTransform ( )

◆ VersorTransform() [2/5]

itk::simple::VersorTransform::VersorTransform ( const VersorTransform )

◆ VersorTransform() [3/5]

itk::simple::VersorTransform::VersorTransform ( const Transform )
explicit

◆ VersorTransform() [4/5]

itk::simple::VersorTransform::VersorTransform ( const std::vector< double > &  versor,
const std::vector< double > &  fixedCenter = std::vector< double >(3, 0.0) 
)
explicit

◆ VersorTransform() [5/5]

itk::simple::VersorTransform::VersorTransform ( const std::vector< double > &  axis,
double  angle,
const std::vector< double > &  fixedCenter = std::vector< double >(3, 0.0) 
)

Member Function Documentation

◆ GetCenter()

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

◆ GetMatrix()

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

additional methods

◆ GetName()

std::string itk::simple::VersorTransform::GetName ( ) const
inlineoverridevirtual

Name of this class

Reimplemented from itk::simple::Transform.

Definition at line 61 of file sitkVersorTransform.h.

◆ GetVersor()

std::vector<double> itk::simple::VersorTransform::GetVersor ( ) const

◆ InternalInitialization() [1/2]

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

◆ InternalInitialization() [2/2]

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

◆ operator=()

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

◆ SetCenter()

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

fixed parameter

◆ SetMatrix()

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

◆ SetPimpleTransform()

void itk::simple::VersorTransform::SetPimpleTransform ( std::unique_ptr< PimpleTransformBase > &&  pimpleTransform)
overrideprotectedvirtual

Reimplemented from itk::simple::Transform.

◆ SetRotation() [1/2]

Self& itk::simple::VersorTransform::SetRotation ( const std::vector< double > &  axis,
double  angle 
)

◆ SetRotation() [2/2]

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

parameter

Member Data Documentation

◆ m_pfGetCenter

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

Definition at line 90 of file sitkVersorTransform.h.

◆ m_pfGetMatrix

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

Definition at line 94 of file sitkVersorTransform.h.

◆ m_pfGetVersor

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

Definition at line 93 of file sitkVersorTransform.h.

◆ m_pfSetCenter

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

Definition at line 89 of file sitkVersorTransform.h.

◆ m_pfSetMatrix

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

Definition at line 95 of file sitkVersorTransform.h.

◆ m_pfSetRotation1

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

Definition at line 91 of file sitkVersorTransform.h.

◆ m_pfSetRotation2

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

Definition at line 92 of file sitkVersorTransform.h.


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