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, numTargetDimensions
protected final Scale inverse
public void set(double... s)
AbstractScale
set
in class AbstractScale
s
- s.length <= the number of dimensions of this
AbstractScale
public Scale inverse()
InvertibleRealTransform
inverse
in interface AffineGet
inverse
in interface InvertibleRealTransform
inverse
in interface ScaleAndTranslationGet
inverse
in interface ScaleGet
inverse
in class AbstractScale
public Scale copy()
RealTransform
RealTransform
.
Deep copying is required to make sure that stateful RealTransforms
can be duplicated for concurrent code.
copy
in interface AffineGet
copy
in interface InvertibleRealTransform
copy
in interface RealTransform
copy
in interface ScaleAndTranslationGet
copy
in interface ScaleGet
copy
in class AbstractScale
public Scale preConcatenate(ScaleGet a)
PreConcatenable
preConcatenate
in interface PreConcatenable<ScaleGet>
public Class<ScaleGet> getPreConcatenableClass()
getPreConcatenableClass
in interface PreConcatenable<ScaleGet>
public Scale concatenate(ScaleGet a)
Concatenable
concatenate
in interface Concatenable<ScaleGet>
public Class<ScaleGet> getConcatenableClass()
getConcatenableClass
in interface Concatenable<ScaleGet>
public boolean isIdentity()
RealTransform
RealTransform
is identity.isIdentity
in interface RealTransform
Copyright © 2015–2022 ImgLib2. All rights reserved.