SimpleITK  2.0.0rc2.post38
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::simple::Euler3DTransform Class Reference

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

#include <sitkEuler3DTransform.h>

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

Public Types

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

Public Member Functions

SelfComputeZYXOff ()
 
SelfComputeZYXOn ()
 
 Euler3DTransform ()
 
 Euler3DTransform (const Euler3DTransform &)
 
 Euler3DTransform (const std::vector< double > &fixedCenter, double angleX=0.0, double angleY=0.0, double angleZ=0.0, const std::vector< double > &translation=std::vector< double >(3, 0.0))
 
 Euler3DTransform (const Transform &)
 
double GetAngleX () const
 
double GetAngleY () const
 
double GetAngleZ () const
 
std::vector< double > GetCenter () const
 
bool GetComputeZYX () const
 
std::vector< double > GetMatrix () const
 
std::string GetName () const override
 
std::vector< double > GetTranslation () const
 
Euler3DTransformoperator= (const Euler3DTransform &)
 
SelfSetCenter (const std::vector< double > &params)
 
SelfSetComputeZYX (bool _arg)
 
SelfSetMatrix (const std::vector< double > &matrix, double tolerance=1e-10)
 
SelfSetRotation (double angleX, double angleY, double angleZ)
 
SelfSetTranslation (const std::vector< double > &translation)
 
 ~Euler3DTransform () 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_pfGetAngleX
 
std::function< double()> m_pfGetAngleY
 
std::function< double()> m_pfGetAngleZ
 
std::function< std::vector< double >)> m_pfGetCenter
 
std::function< bool()> m_pfGetComputeZYX
 
std::function< std::vector< double >)> m_pfGetMatrix
 
std::function< std::vector< double >)> m_pfGetTranslation
 
std::function< void(const std::vector< double > &)> m_pfSetCenter
 
std::function< void(bool)> m_pfSetComputeZYX
 
std::function< void(const std::vector< double > &, double)> m_pfSetMatrix
 
std::function< void(double, double, double)> m_pfSetRotation
 
std::function< void(const std::vector< double > &)> m_pfSetTranslation
 

Detailed Description

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

See also
itk::Euler3DTransform

Definition at line 35 of file sitkEuler3DTransform.h.

Member Typedef Documentation

◆ Self

Definition at line 39 of file sitkEuler3DTransform.h.

◆ Superclass

Definition at line 40 of file sitkEuler3DTransform.h.

Constructor & Destructor Documentation

◆ ~Euler3DTransform()

itk::simple::Euler3DTransform::~Euler3DTransform ( )
override

◆ Euler3DTransform() [1/4]

itk::simple::Euler3DTransform::Euler3DTransform ( )

◆ Euler3DTransform() [2/4]

itk::simple::Euler3DTransform::Euler3DTransform ( const std::vector< double > &  fixedCenter,
double  angleX = 0.0,
double  angleY = 0.0,
double  angleZ = 0.0,
const std::vector< double > &  translation = std::vector< double >(3, 0.0) 
)
explicit

◆ Euler3DTransform() [3/4]

itk::simple::Euler3DTransform::Euler3DTransform ( const Euler3DTransform )

◆ Euler3DTransform() [4/4]

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

Member Function Documentation

◆ ComputeZYXOff()

Self& itk::simple::Euler3DTransform::ComputeZYXOff ( )
inline

Definition at line 79 of file sitkEuler3DTransform.h.

◆ ComputeZYXOn()

Self& itk::simple::Euler3DTransform::ComputeZYXOn ( )
inline

Definition at line 78 of file sitkEuler3DTransform.h.

◆ GetAngleX()

double itk::simple::Euler3DTransform::GetAngleX ( ) const

◆ GetAngleY()

double itk::simple::Euler3DTransform::GetAngleY ( ) const

◆ GetAngleZ()

double itk::simple::Euler3DTransform::GetAngleZ ( ) const

◆ GetCenter()

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

◆ GetComputeZYX()

bool itk::simple::Euler3DTransform::GetComputeZYX ( ) const

◆ GetMatrix()

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

additional methods

◆ GetName()

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

Name of this class

Reimplemented from itk::simple::Transform.

Definition at line 60 of file sitkEuler3DTransform.h.

◆ GetTranslation()

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

◆ InternalInitialization() [1/2]

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

◆ InternalInitialization() [2/2]

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

◆ operator=()

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

◆ SetCenter()

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

fixed parameter

◆ SetComputeZYX()

Self& itk::simple::Euler3DTransform::SetComputeZYX ( bool  _arg)

◆ SetMatrix()

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

◆ SetPimpleTransform()

void itk::simple::Euler3DTransform::SetPimpleTransform ( PimpleTransformBase *  pimpleTransform)
overrideprotectedvirtual

Reimplemented from itk::simple::Transform.

◆ SetRotation()

Self& itk::simple::Euler3DTransform::SetRotation ( double  angleX,
double  angleY,
double  angleZ 
)

parameter

◆ SetTranslation()

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

Member Data Documentation

◆ m_pfGetAngleX

std::function<double()> itk::simple::Euler3DTransform::m_pfGetAngleX
private

Definition at line 101 of file sitkEuler3DTransform.h.

◆ m_pfGetAngleY

std::function<double()> itk::simple::Euler3DTransform::m_pfGetAngleY
private

Definition at line 102 of file sitkEuler3DTransform.h.

◆ m_pfGetAngleZ

std::function<double()> itk::simple::Euler3DTransform::m_pfGetAngleZ
private

Definition at line 103 of file sitkEuler3DTransform.h.

◆ m_pfGetCenter

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

Definition at line 99 of file sitkEuler3DTransform.h.

◆ m_pfGetComputeZYX

std::function<bool()> itk::simple::Euler3DTransform::m_pfGetComputeZYX
private

Definition at line 107 of file sitkEuler3DTransform.h.

◆ m_pfGetMatrix

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

Definition at line 108 of file sitkEuler3DTransform.h.

◆ m_pfGetTranslation

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

Definition at line 105 of file sitkEuler3DTransform.h.

◆ m_pfSetCenter

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

Definition at line 98 of file sitkEuler3DTransform.h.

◆ m_pfSetComputeZYX

std::function<void(bool)> itk::simple::Euler3DTransform::m_pfSetComputeZYX
private

Definition at line 106 of file sitkEuler3DTransform.h.

◆ m_pfSetMatrix

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

Definition at line 109 of file sitkEuler3DTransform.h.

◆ m_pfSetRotation

std::function<void(double,double,double)> itk::simple::Euler3DTransform::m_pfSetRotation
private

Definition at line 100 of file sitkEuler3DTransform.h.

◆ m_pfSetTranslation

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

Definition at line 104 of file sitkEuler3DTransform.h.


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