Class Similarity2DTransform
java.lang.Object
org.itk.simple.Transform
org.itk.simple.Similarity2DTransform
A similarity 2D transform with rotation in radians and isotropic
scaling around a fixed center with translation.
See:
itk::Similarity2DTransform
C++ includes: sitkSimilarity2DTransform.h
-
Field Summary
Fields inherited from class Transform
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))Similarity2DTransform(double scaleFactor) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))Similarity2DTransform(double scaleFactor, double angle) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))Similarity2DTransform(double scaleFactor, double angle, VectorDouble translation) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))Similarity2DTransform(double scaleFactor, double angle, VectorDouble translation, VectorDouble fixedCenter) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))protectedSimilarity2DTransform(long cPtr, boolean cMemoryOwn) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()itk::simple::Similarity2DTransform::~Similarity2DTransform() overrideprotected voidfinalize()doublegetAngle()double itk::simple::Similarity2DTransform::GetAngle() conststd::vector<double> itk::simple::Similarity2DTransform::GetCenter() constprotected static longstd::vector<double> itk::simple::Similarity2DTransform::GetMatrix() const additional methodsgetName()std::string itk::simple::Similarity2DTransform::GetName() const override Name of this classdoublegetScale()double itk::simple::Similarity2DTransform::GetScale() conststd::vector<double> itk::simple::Similarity2DTransform::GetTranslation() constvoidsetAngle(double angle) Self& itk::simple::Similarity2DTransform::SetAngle(double angle) parametervoidsetCenter(VectorDouble params) Self& itk::simple::Similarity2DTransform::SetCenter(const std::vector< double > ¶ms) fixed parametervoidsetMatrix(VectorDouble matrix) Self& itk::simple::Similarity2DTransform::SetMatrix(const std::vector< double > &matrix, double tolerance=1e-10)voidsetMatrix(VectorDouble matrix, double tolerance) Self& itk::simple::Similarity2DTransform::SetMatrix(const std::vector< double > &matrix, double tolerance=1e-10)voidsetScale(double scale) Self& itk::simple::Similarity2DTransform::SetScale(double scale)voidsetTranslation(VectorDouble translation) Self& itk::simple::Similarity2DTransform::SetTranslation(const std::vector< double > &translation)protected static longMethods inherited from class Transform
applyToImageMetadata, getCPtr, getDimension, getFixedParameters, getInverse, getITKBase, getNumberOfFixedParameters, getNumberOfParameters, getParameters, getTransformEnum, isLinear, makeUnique, setFixedParameters, setIdentity, setInverse, setParameters, swigRelease, toString, transformPoint, transformVector, writeTransformModifier and TypeMethodDescriptionvoidapplyToImageMetadata(Image image) protected static longlongunsigned int itk::simple::Transform::GetDimension() const Return the dimension of the Transform ( 2D or 3D )Transform itk::simple::Transform::GetInverse() const Return a new inverse transform of the same type as this.longunsigned int itk::simple::Transform::GetNumberOfFixedParameters() const Get the number of fixed parameterslongunsigned int itk::simple::Transform::GetNumberOfParameters() const Return the number of optimizable parametersTransformEnum itk::simple::Transform::GetTransformEnum() const Get the TransformEnum of the underlying Transform.booleanisLinear()virtual bool itk::simple::Transform::IsLinear() constvoidvoid itk::simple::Transform::MakeUnique() Performs actually coping if needed to make object unique.voidsetFixedParameters(VectorDouble parameters) voidvirtual void itk::simple::Transform::SetIdentity()booleanvirtual bool itk::simple::Transform::SetInverse() Try to change the current transform to it's inverse.voidsetParameters(VectorDouble parameters) protected static longswigRelease(Transform obj) toString()std::string itk::simple::Transform::ToString() consttransformPoint(VectorDouble point) std::vector<double> itk::simple::Transform::TransformPoint(const std::vector< double > &point) const Apply transform to a point.transformVector(VectorDouble vector, VectorDouble point) std::vector<double> itk::simple::Transform::TransformVector(const std::vector< double > &vector, const std::vector< double > &point) const Apply transform to a vector at a point.voidwriteTransform(String filename) void itk::simple::Transform::WriteTransform(const std::string &filename) const
-
Constructor Details
-
Similarity2DTransform
protected Similarity2DTransform(long cPtr, boolean cMemoryOwn) -
Similarity2DTransform
public Similarity2DTransform()itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Similarity2DTransform
public Similarity2DTransform(double scaleFactor, double angle, VectorDouble translation, VectorDouble fixedCenter) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Similarity2DTransform
itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Similarity2DTransform
public Similarity2DTransform(double scaleFactor, double angle) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Similarity2DTransform
public Similarity2DTransform(double scaleFactor) itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Similarity2DTransform
itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0)) -
Similarity2DTransform
itk::simple::Similarity2DTransform::Similarity2DTransform(double scaleFactor, double angle=0.0, const std::vector< double > &translation=std::vector< double >(2, 0.0), const std::vector< double > &fixedCenter=std::vector< double >(2, 0.0))
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
-
getName
-
setCenter
Self& itk::simple::Similarity2DTransform::SetCenter(const std::vector< double > ¶ms) fixed parameter -
getCenter
std::vector<double> itk::simple::Similarity2DTransform::GetCenter() const -
setAngle
public void setAngle(double angle) Self& itk::simple::Similarity2DTransform::SetAngle(double angle) parameter -
getAngle
public double getAngle()double itk::simple::Similarity2DTransform::GetAngle() const -
getTranslation
std::vector<double> itk::simple::Similarity2DTransform::GetTranslation() const -
setTranslation
Self& itk::simple::Similarity2DTransform::SetTranslation(const std::vector< double > &translation) -
setScale
public void setScale(double scale) Self& itk::simple::Similarity2DTransform::SetScale(double scale) -
getScale
public double getScale()double itk::simple::Similarity2DTransform::GetScale() const -
getMatrix
std::vector<double> itk::simple::Similarity2DTransform::GetMatrix() const additional methods -
setMatrix
Self& itk::simple::Similarity2DTransform::SetMatrix(const std::vector< double > &matrix, double tolerance=1e-10) -
setMatrix
Self& itk::simple::Similarity2DTransform::SetMatrix(const std::vector< double > &matrix, double tolerance=1e-10)
-