Class AffineTransform
java.lang.Object
org.itk.simple.Transform
org.itk.simple.AffineTransform
An affine transformation about a fixed center with translation for a
2D or 3D coordinate.
See:
 itk::AffineTransform
C++ includes: sitkAffineTransform.h
- 
Field SummaryFields inherited from class org.itk.simple.TransformswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionAffineTransform(long dimensions) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)protectedAffineTransform(long cPtr, boolean cMemoryOwn) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)AffineTransform(Transform arg0) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)AffineTransform(VectorDouble matrix, VectorDouble translation) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)AffineTransform(VectorDouble matrix, VectorDouble translation, VectorDouble fixedCenter) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()itk::simple::AffineTransform::~AffineTransform() overrideprotected voidfinalize()std::vector<double> itk::simple::AffineTransform::GetCenter() constprotected static longgetCPtr(AffineTransform obj) std::vector<double> itk::simple::AffineTransform::GetMatrix() constgetName()std::string itk::simple::AffineTransform::GetName() const override Name of this classstd::vector<double> itk::simple::AffineTransform::GetTranslation() const parametersvoidrotate(int axis1, int axis2, double angle) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)voidrotate(int axis1, int axis2, double angle, boolean pre) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)voidscale(double factor) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)voidscale(double factor, boolean pre) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)voidscale(VectorDouble factor) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)voidscale(VectorDouble factor, boolean pre) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)voidsetCenter(VectorDouble params) Self& itk::simple::AffineTransform::SetCenter(const std::vector< double > ¶ms) fixed parametervoidsetMatrix(VectorDouble matrix) Self& itk::simple::AffineTransform::SetMatrix(const std::vector< double > &matrix)voidsetTranslation(VectorDouble translation) Self& itk::simple::AffineTransform::SetTranslation(const std::vector< double > &translation)voidshear(int axis1, int axis2, double coef) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false)voidshear(int axis1, int axis2, double coef, boolean pre) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false)protected static longvoidtranslate(VectorDouble offset) Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)voidtranslate(VectorDouble offset, boolean pre) Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)Methods inherited from class org.itk.simple.TransformgetCPtr, getDimension, getFixedParameters, getInverse, getITKBase, getNumberOfFixedParameters, getNumberOfParameters, getParameters, getTransformEnum, isLinear, makeUnique, setFixedParameters, setIdentity, setInverse, setParameters, swigRelease, toString, transformPoint, transformVector, writeTransform
- 
Constructor Details- 
AffineTransformprotected AffineTransform(long cPtr, boolean cMemoryOwn) 
- 
AffineTransformpublic AffineTransform(long dimensions) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
- 
AffineTransformitk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
- 
AffineTransformitk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
- 
AffineTransformitk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
- 
AffineTransformitk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalize
- 
delete
- 
getName
- 
getTranslationstd::vector<double> itk::simple::AffineTransform::GetTranslation() const parameters
- 
setTranslationSelf& itk::simple::AffineTransform::SetTranslation(const std::vector< double > &translation)
- 
setMatrixSelf& itk::simple::AffineTransform::SetMatrix(const std::vector< double > &matrix)
- 
getMatrixstd::vector<double> itk::simple::AffineTransform::GetMatrix() const
- 
setCenterSelf& itk::simple::AffineTransform::SetCenter(const std::vector< double > ¶ms) fixed parameter
- 
getCenterstd::vector<double> itk::simple::AffineTransform::GetCenter() const
- 
scaleSelf& itk::simple::AffineTransform::Scale(double factor, bool pre=false)
- 
scaleSelf& itk::simple::AffineTransform::Scale(double factor, bool pre=false)
- 
scalepublic void scale(double factor, boolean pre) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)
- 
scalepublic void scale(double factor) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)
- 
shearpublic void shear(int axis1, int axis2, double coef, boolean pre) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false)
- 
shearpublic void shear(int axis1, int axis2, double coef) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false)
- 
translateSelf& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)
- 
translateSelf& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)
- 
rotatepublic void rotate(int axis1, int axis2, double angle, boolean pre) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)
- 
rotatepublic void rotate(int axis1, int axis2, double angle) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)
 
-