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

A 2D or 3D anisotropic scale of coordinate space around a fixed center. More...

#include <sitkScaleTransform.h>

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

Classes

struct  MyVisitor
 

Public Types

using Self = ScaleTransform
 
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 > GetScale () const
 
ScaleTransformoperator= (const ScaleTransform &)
 
 ScaleTransform (const ScaleTransform &)
 
 ScaleTransform (const Transform &)
 
 ScaleTransform (unsigned int dimensions, const std::vector< double > &scale=std::vector< double >(3, 1.0))
 
SelfSetCenter (const std::vector< double > &params)
 
SelfSetScale (const std::vector< double > &params)
 
 ~ScaleTransform () 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< std::vector< double >)> m_pfGetCenter
 
std::function< std::vector< double >)> m_pfGetMatrix
 
std::function< std::vector< double >)> m_pfGetScale
 
std::function< void(std::vector< double >)> m_pfSetCenter
 
std::function< void(std::vector< double >)> m_pfSetScale
 

Detailed Description

A 2D or 3D anisotropic scale of coordinate space around a fixed center.

See also
itk::ScaleTransform

Definition at line 35 of file sitkScaleTransform.h.

Member Typedef Documentation

◆ Self

Definition at line 39 of file sitkScaleTransform.h.

◆ Superclass

Definition at line 40 of file sitkScaleTransform.h.

Constructor & Destructor Documentation

◆ ~ScaleTransform()

itk::simple::ScaleTransform::~ScaleTransform ( )
override

◆ ScaleTransform() [1/3]

itk::simple::ScaleTransform::ScaleTransform ( unsigned int  dimensions,
const std::vector< double > &  scale = std::vector< double >(3, 1.0) 
)
explicit

◆ ScaleTransform() [2/3]

itk::simple::ScaleTransform::ScaleTransform ( const ScaleTransform )

◆ ScaleTransform() [3/3]

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

Member Function Documentation

◆ GetCenter()

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

◆ GetMatrix()

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

additional methods

◆ GetName()

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

Name of this class

Reimplemented from itk::simple::Transform.

Definition at line 52 of file sitkScaleTransform.h.

◆ GetScale()

std::vector<double> itk::simple::ScaleTransform::GetScale ( ) const

◆ InternalInitialization() [1/2]

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

◆ InternalInitialization() [2/2]

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

◆ operator=()

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

◆ SetCenter()

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

fixed parameter

◆ SetPimpleTransform()

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

Reimplemented from itk::simple::Transform.

◆ SetScale()

Self& itk::simple::ScaleTransform::SetScale ( const std::vector< double > &  params)

Member Data Documentation

◆ m_pfGetCenter

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

Definition at line 95 of file sitkScaleTransform.h.

◆ m_pfGetMatrix

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

Definition at line 98 of file sitkScaleTransform.h.

◆ m_pfGetScale

std::function<std::vector<double>)> itk::simple::ScaleTransform::m_pfGetScale
private

Definition at line 97 of file sitkScaleTransform.h.

◆ m_pfSetCenter

std::function<void(std::vector<double>)> itk::simple::ScaleTransform::m_pfSetCenter
private

Definition at line 94 of file sitkScaleTransform.h.

◆ m_pfSetScale

std::function<void(std::vector<double>)> itk::simple::ScaleTransform::m_pfSetScale
private

Definition at line 96 of file sitkScaleTransform.h.


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