Package org.itk.simple
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 Summary
Fields inherited from class org.itk.simple.Transform
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionAffineTransform
(long dimensions) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)protected
AffineTransform
(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 Summary
Modifier and TypeMethodDescriptionvoid
delete()
itk::simple::AffineTransform::~AffineTransform() overrideprotected void
finalize()
std::vector<double> itk::simple::AffineTransform::GetCenter() constprotected static long
getCPtr
(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 parametersvoid
rotate
(int axis1, int axis2, double angle) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)void
rotate
(int axis1, int axis2, double angle, boolean pre) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)void
scale
(double factor) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)void
scale
(double factor, boolean pre) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)void
scale
(VectorDouble factor) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)void
scale
(VectorDouble factor, boolean pre) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)void
setCenter
(VectorDouble params) Self& itk::simple::AffineTransform::SetCenter(const std::vector< double > ¶ms) fixed parametervoid
setMatrix
(VectorDouble matrix) Self& itk::simple::AffineTransform::SetMatrix(const std::vector< double > &matrix)void
setTranslation
(VectorDouble translation) Self& itk::simple::AffineTransform::SetTranslation(const std::vector< double > &translation)void
shear
(int axis1, int axis2, double coef) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false)void
shear
(int axis1, int axis2, double coef, boolean pre) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false)protected static long
void
translate
(VectorDouble offset) Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)void
translate
(VectorDouble offset, boolean pre) Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)Methods inherited from class org.itk.simple.Transform
getCPtr, getDimension, getFixedParameters, getInverse, getITKBase, getNumberOfFixedParameters, getNumberOfParameters, getParameters, getTransformEnum, isLinear, makeUnique, setFixedParameters, setIdentity, setInverse, setParameters, swigRelease, toString, transformPoint, transformVector, writeTransform
-
Constructor Details
-
AffineTransform
protected AffineTransform(long cPtr, boolean cMemoryOwn) -
AffineTransform
public AffineTransform(long dimensions) itk::simple::AffineTransform::AffineTransform(unsigned int dimensions) -
AffineTransform
itk::simple::AffineTransform::AffineTransform(unsigned int dimensions) -
AffineTransform
itk::simple::AffineTransform::AffineTransform(unsigned int dimensions) -
AffineTransform
itk::simple::AffineTransform::AffineTransform(unsigned int dimensions) -
AffineTransform
itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize() -
delete
public void delete()itk::simple::AffineTransform::~AffineTransform() override -
getName
std::string itk::simple::AffineTransform::GetName() const override Name of this class -
getTranslation
std::vector<double> itk::simple::AffineTransform::GetTranslation() const parameters -
setTranslation
Self& itk::simple::AffineTransform::SetTranslation(const std::vector< double > &translation) -
setMatrix
Self& itk::simple::AffineTransform::SetMatrix(const std::vector< double > &matrix) -
getMatrix
std::vector<double> itk::simple::AffineTransform::GetMatrix() const -
setCenter
Self& itk::simple::AffineTransform::SetCenter(const std::vector< double > ¶ms) fixed parameter -
getCenter
std::vector<double> itk::simple::AffineTransform::GetCenter() const -
scale
Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false) -
scale
Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false) -
scale
public void scale(double factor, boolean pre) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false) -
scale
public void scale(double factor) Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false) -
shear
public void shear(int axis1, int axis2, double coef, boolean pre) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false) -
shear
public void shear(int axis1, int axis2, double coef) Self& itk::simple::AffineTransform::Shear(int axis1, int axis2, double coef, bool pre=false) -
translate
Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false) -
translate
Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false) -
rotate
public void rotate(int axis1, int axis2, double angle, boolean pre) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false) -
rotate
public void rotate(int axis1, int axis2, double angle) Self& itk::simple::AffineTransform::Rotate(int axis1, int axis2, double angle, bool pre=false)
-