Class TranslationTransform
java.lang.Object
org.itk.simple.Transform
org.itk.simple.TranslationTransform
Translation of a 2D or 3D coordinate space.
See:
itk::TranslationTransform
C++ includes: sitkTranslationTransform.h
-
Field Summary
Fields inherited from class Transform
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionTranslationTransform(long dimensions) itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0))protectedTranslationTransform(long cPtr, boolean cMemoryOwn) TranslationTransform(long dimensions, VectorDouble offset) itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0))itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0))itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0)) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()itk::simple::TranslationTransform::~TranslationTransform() overrideprotected voidfinalize()protected static longgetName()std::string itk::simple::TranslationTransform::GetName() const override Name of this classstd::vector<double> itk::simple::TranslationTransform::GetOffset() constvoidsetOffset(VectorDouble params) Self& itk::simple::TranslationTransform::SetOffset(const std::vector< double > ¶ms)protected static longMethods inherited from class Transform
getCPtr, getDimension, getFixedParameters, getInverse, getITKBase, getNumberOfFixedParameters, getNumberOfParameters, getParameters, getTransformEnum, isLinear, makeUnique, setFixedParameters, setIdentity, setInverse, setParameters, swigRelease, toString, transformPoint, transformVector, writeTransformModifier and TypeMethodDescriptionprotected 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
-
TranslationTransform
protected TranslationTransform(long cPtr, boolean cMemoryOwn) -
TranslationTransform
itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0)) -
TranslationTransform
public TranslationTransform(long dimensions) itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0)) -
TranslationTransform
itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0)) -
TranslationTransform
itk::simple::TranslationTransform::TranslationTransform(unsigned int dimensions, const std::vector< double > &offset=std::vector< double >(3, 0.0))
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
-
delete
-
getName
-
setOffset
Self& itk::simple::TranslationTransform::SetOffset(const std::vector< double > ¶ms) -
getOffset
std::vector<double> itk::simple::TranslationTransform::GetOffset() const
-