public class ViewTransformAffine extends Object implements ViewTransform
| Modifier and Type | Field and Description |
|---|---|
protected AffineTransform3D |
affine |
protected String |
name |
| Constructor and Description |
|---|
ViewTransformAffine(String name,
AffineTransform3D affine) |
| Modifier and Type | Method and Description |
|---|---|
AffineGet |
asAffine3D()
A representation of this
ViewTransform as a 3D AffineGet. |
String |
getName()
Get the name of this transform.
|
boolean |
hasName()
Whether this transform has has a
ViewTransform.getName(). |
protected final String name
protected final AffineTransform3D affine
public ViewTransformAffine(String name, AffineTransform3D affine)
name - may be nullaffine - public String getName()
ViewTransformgetName in interface ViewTransformpublic AffineGet asAffine3D()
ViewTransformViewTransform as a 3D AffineGet.
This is used to concatenate ViewTransforms into a single AffineTransform3D.asAffine3D in interface ViewTransformpublic boolean hasName()
ViewTransformViewTransform.getName().hasName in interface ViewTransformCopyright © 2015–2021 Fiji. All rights reserved.