public class IntervalAndTransform extends Object implements MultiBoxOverlay.IntervalAndTransform
Modifier and Type | Field and Description |
---|---|
protected boolean |
isVisible |
protected ModifiableInterval |
sourceInterval |
protected AffineTransform3D |
sourceToViewer |
Constructor and Description |
---|
IntervalAndTransform() |
Modifier and Type | Method and Description |
---|---|
Interval |
getSourceInterval()
Get interval of the source (stack) in source-local coordinates.
|
AffineTransform3D |
getSourceToViewer()
Current transformation from
source to
viewer. |
boolean |
isVisible() |
void |
set(boolean visible,
Interval sourceInterval,
AffineTransform3D sourceToViewer) |
void |
setSourceInterval(Interval interval) |
void |
setSourceToViewer(AffineTransform3D t) |
void |
setVisible(boolean visible) |
protected boolean isVisible
protected ModifiableInterval sourceInterval
protected AffineTransform3D sourceToViewer
public void set(boolean visible, Interval sourceInterval, AffineTransform3D sourceToViewer)
public void setVisible(boolean visible)
public void setSourceInterval(Interval interval)
public void setSourceToViewer(AffineTransform3D t)
public boolean isVisible()
isVisible
in interface MultiBoxOverlay.IntervalAndTransform
public Interval getSourceInterval()
MultiBoxOverlay.IntervalAndTransform
getSourceInterval
in interface MultiBoxOverlay.IntervalAndTransform
public AffineTransform3D getSourceToViewer()
MultiBoxOverlay.IntervalAndTransform
source
to
viewer. This is a concatenation of source-local-to-global transform
and the interactive viewer transform.getSourceToViewer
in interface MultiBoxOverlay.IntervalAndTransform
Copyright © 2015–2021 Fiji. All rights reserved.