SimpleITK
1.2.4
|
A 2D or 3D anisotropic scale of coordinate space around a fixed center. More...
#include <sitkScaleTransform.h>
Classes | |
struct | MyVisitor |
Public Types | |
typedef ScaleTransform | 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::string | GetName () const |
std::vector< double > | GetScale () const |
ScaleTransform & | operator= (const ScaleTransform &) |
ScaleTransform (unsigned int dimensions, const std::vector< double > &scale=std::vector< double >(3, 1.0)) | |
ScaleTransform (const ScaleTransform &) | |
ScaleTransform (const Transform &) | |
Self & | SetCenter (const std::vector< double > ¶ms) |
Self & | SetScale (const std::vector< double > ¶ms) |
virtual | ~ScaleTransform () |
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... | |
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_pfGetScale |
nsstd::function< void(std::vector< double >)> | m_pfSetCenter |
nsstd::function< void(std::vector< double >)> | m_pfSetScale |
A 2D or 3D anisotropic scale of coordinate space around a fixed center.
Definition at line 35 of file sitkScaleTransform.h.
Definition at line 39 of file sitkScaleTransform.h.
Definition at line 40 of file sitkScaleTransform.h.
|
virtual |
|
explicit |
itk::simple::ScaleTransform::ScaleTransform | ( | const ScaleTransform & | ) |
|
explicit |
std::vector<double> itk::simple::ScaleTransform::GetCenter | ( | ) | const |
std::vector<double> itk::simple::ScaleTransform::GetMatrix | ( | ) | const |
additional methods
|
inlinevirtual |
Name of this class
Reimplemented from itk::simple::Transform.
Definition at line 52 of file sitkScaleTransform.h.
std::vector<double> itk::simple::ScaleTransform::GetScale | ( | ) | const |
|
private |
Referenced by itk::simple::ScaleTransform::MyVisitor::operator()().
|
private |
ScaleTransform& itk::simple::ScaleTransform::operator= | ( | const ScaleTransform & | ) |
Self& itk::simple::ScaleTransform::SetCenter | ( | const std::vector< double > & | params | ) |
fixed parameter
|
protectedvirtual |
Reimplemented from itk::simple::Transform.
Self& itk::simple::ScaleTransform::SetScale | ( | const std::vector< double > & | params | ) |
|
private |
Definition at line 97 of file sitkScaleTransform.h.
|
private |
Definition at line 100 of file sitkScaleTransform.h.
|
private |
Definition at line 99 of file sitkScaleTransform.h.
|
private |
Definition at line 96 of file sitkScaleTransform.h.
|
private |
Definition at line 98 of file sitkScaleTransform.h.