public class Translation extends AbstractTranslation implements Concatenable<TranslationGet>, PreConcatenable<TranslationGet>
| Modifier and Type | Field and Description |
|---|---|
protected Translation |
inverse |
ds, t| Modifier | Constructor and Description |
|---|---|
|
Translation(double... t) |
protected |
Translation(double[] t,
Translation inverse) |
|
Translation(int n) |
| Modifier and Type | Method and Description |
|---|---|
Translation |
concatenate(TranslationGet a)
Concatenate this object with a.
|
Translation |
copy()
Create a deep copy of this
RealTransform. |
Class<TranslationGet> |
getConcatenableClass() |
Class<TranslationGet> |
getPreConcatenableClass() |
Translation |
inverse()
Get the inverse transform.
|
boolean |
isIdentity()
Check if the
RealTransform is identity. |
Translation |
preConcatenate(TranslationGet a)
Pre-concatenate this object with a.
|
void |
set(double... t)
Set the translation vector.
|
void |
set(double t,
int d)
Set one value of the translation vector.
|
apply, apply, apply, applyInverse, applyInverse, applyInverse, d, get, getRowPackedCopy, getScale, getScaleCopy, getTranslation, getTranslationCopy, numDimensions, numSourceDimensions, numTargetDimensionsprotected final Translation inverse
protected Translation(double[] t,
Translation inverse)
public Translation(int n)
public Translation(double... t)
public void set(double... t)
set in class AbstractTranslationt - t.length <= the number of dimensions of this
Translationpublic void set(double t,
int d)
set in class AbstractTranslationt - t.length <= the number of dimensions of this
Translationd - the dimensionpublic Translation copy()
RealTransformRealTransform.
Deep copying is required to make sure that stateful RealTransforms can be duplicated for concurrent code.
copy in interface AffineGetcopy in interface InvertibleRealTransformcopy in interface RealTransformcopy in interface ScaleAndTranslationGetcopy in interface TranslationGetcopy in class AbstractTranslationpublic Translation inverse()
InvertibleRealTransforminverse in interface AffineGetinverse in interface InvertibleRealTransforminverse in interface ScaleAndTranslationGetinverse in interface TranslationGetinverse in class AbstractTranslationpublic Translation preConcatenate(TranslationGet a)
PreConcatenablepreConcatenate in interface PreConcatenable<TranslationGet>public Class<TranslationGet> getPreConcatenableClass()
getPreConcatenableClass in interface PreConcatenable<TranslationGet>public Translation concatenate(TranslationGet a)
Concatenableconcatenate in interface Concatenable<TranslationGet>public Class<TranslationGet> getConcatenableClass()
getConcatenableClass in interface Concatenable<TranslationGet>public boolean isIdentity()
RealTransformRealTransform is identity.isIdentity in interface RealTransformCopyright © 2015–2022 ImgLib2. All rights reserved.