Class AffineTransform

java.lang.Object
org.itk.simple.Transform
org.itk.simple.AffineTransform

public class AffineTransform extends Transform
An affine transformation about a fixed center with translation for a 2D or 3D coordinate. See: itk::AffineTransform C++ includes: sitkAffineTransform.h
  • Constructor Details

    • AffineTransform

      protected AffineTransform(long cPtr, boolean cMemoryOwn)
    • AffineTransform

      public AffineTransform(long dimensions)
      itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
    • AffineTransform

      public AffineTransform(AffineTransform arg0)
      itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
    • AffineTransform

      public AffineTransform(Transform arg0)
      itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
    • AffineTransform

      public AffineTransform(VectorDouble matrix, VectorDouble translation, VectorDouble fixedCenter)
      itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
    • AffineTransform

      public AffineTransform(VectorDouble matrix, VectorDouble translation)
      itk::simple::AffineTransform::AffineTransform(unsigned int dimensions)
  • Method Details

    • getCPtr

      protected static long getCPtr(AffineTransform obj)
    • swigRelease

      protected static long swigRelease(AffineTransform obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Transform
    • delete

      public void delete()
      itk::simple::AffineTransform::~AffineTransform() override
      Overrides:
      delete in class Transform
    • getName

      public String getName()
      std::string itk::simple::AffineTransform::GetName() const override Name of this class
      Overrides:
      getName in class Transform
    • getTranslation

      public VectorDouble getTranslation()
      std::vector<double> itk::simple::AffineTransform::GetTranslation() const parameters
    • setTranslation

      public void setTranslation(VectorDouble translation)
      Self& itk::simple::AffineTransform::SetTranslation(const std::vector< double > &translation)
    • setMatrix

      public void setMatrix(VectorDouble matrix)
      Self& itk::simple::AffineTransform::SetMatrix(const std::vector< double > &matrix)
    • getMatrix

      public VectorDouble getMatrix()
      std::vector<double> itk::simple::AffineTransform::GetMatrix() const
    • setCenter

      public void setCenter(VectorDouble params)
      Self& itk::simple::AffineTransform::SetCenter(const std::vector< double > &params) fixed parameter
    • getCenter

      public VectorDouble getCenter()
      std::vector<double> itk::simple::AffineTransform::GetCenter() const
    • scale

      public void scale(VectorDouble factor, boolean pre)
      Self& itk::simple::AffineTransform::Scale(double factor, bool pre=false)
    • scale

      public void scale(VectorDouble factor)
      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

      public void translate(VectorDouble offset, boolean pre)
      Self& itk::simple::AffineTransform::Translate(const std::vector< double > &offset, bool pre=false)
    • translate

      public void translate(VectorDouble offset)
      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)