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()
ViewTransform
getName
in interface ViewTransform
public AffineGet asAffine3D()
ViewTransform
ViewTransform
as a 3D AffineGet
.
This is used to concatenate ViewTransform
s into a single AffineTransform3D
.asAffine3D
in interface ViewTransform
public boolean hasName()
ViewTransform
ViewTransform.getName()
.hasName
in interface ViewTransform
Copyright © 2015–2021 Fiji. All rights reserved.