public class Scale extends AbstractScale implements Concatenable<ScaleGet>, PreConcatenable<ScaleGet>
| Modifier and Type | Field and Description |
|---|---|
protected Scale |
inverse |
ds, s| Modifier | Constructor and Description |
|---|---|
|
Scale(double... s) |
protected |
Scale(double[] s,
Scale inverse,
RealPoint[] ds) |
| Modifier and Type | Method and Description |
|---|---|
Scale |
concatenate(ScaleGet a)
Concatenate this object with a.
|
Scale |
copy()
Create a deep copy of this
RealTransform. |
Class<ScaleGet> |
getConcatenableClass() |
Class<ScaleGet> |
getPreConcatenableClass() |
Scale |
inverse()
Get the inverse transform.
|
boolean |
isIdentity()
Check if the
RealTransform is identity. |
Scale |
preConcatenate(ScaleGet a)
Pre-concatenate this object with a.
|
void |
set(double... s)
Set the scale vector.
|
apply, apply, apply, applyInverse, applyInverse, applyInverse, d, get, getRowPackedCopy, getScale, getScaleCopy, getTranslation, getTranslationCopy, numDimensions, numSourceDimensions, numTargetDimensionsprotected final Scale inverse
public void set(double... s)
AbstractScaleset in class AbstractScales - s.length <= the number of dimensions of this
AbstractScalepublic Scale inverse()
InvertibleRealTransforminverse in interface AffineGetinverse in interface InvertibleRealTransforminverse in interface ScaleAndTranslationGetinverse in interface ScaleGetinverse in class AbstractScalepublic Scale 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 ScaleGetcopy in class AbstractScalepublic Scale preConcatenate(ScaleGet a)
PreConcatenablepreConcatenate in interface PreConcatenable<ScaleGet>public Class<ScaleGet> getPreConcatenableClass()
getPreConcatenableClass in interface PreConcatenable<ScaleGet>public Scale concatenate(ScaleGet a)
Concatenableconcatenate in interface Concatenable<ScaleGet>public Class<ScaleGet> getConcatenableClass()
getConcatenableClass in interface Concatenable<ScaleGet>public boolean isIdentity()
RealTransformRealTransform is identity.isIdentity in interface RealTransformCopyright © 2015–2022 ImgLib2. All rights reserved.