public final class PlaceHolderOverlayInfo extends Object implements TransformListener<AffineTransform3D>, TimePointListener, ViewerStateChangeListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
PlaceHolderOverlayInfo.VisibilityChangeListener |
| Constructor and Description |
|---|
PlaceHolderOverlayInfo(ViewerPanel viewer,
SourceAndConverter<?> source,
ConverterSetup converterSetup) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addVisibilityChangeListener(PlaceHolderOverlayInfo.VisibilityChangeListener listener)
Deprecated.
Use
visibilityChangeListeners().add(listener) instead. |
ARGBType |
getColor()
Get the color for this converter.
|
double |
getDisplayRangeMax()
Get the (smallest) source value that is mapped to the maximum of the
target range.
|
double |
getDisplayRangeMin()
Get the (largest) source value that is mapped to the minimum of the
target range.
|
int |
getTimePointIndex() |
void |
getViewerTransform(AffineTransform3D t) |
boolean |
isVisible() |
boolean |
removeVisibilityChangeListener(PlaceHolderOverlayInfo.VisibilityChangeListener listener)
Deprecated.
Use
visibilityChangeListeners().remove(listener) instead. |
void |
timePointChanged(int timePointIndex) |
void |
transformChanged(AffineTransform3D t) |
void |
viewerStateChanged(ViewerStateChange change) |
org.scijava.listeners.Listeners<PlaceHolderOverlayInfo.VisibilityChangeListener> |
visibilityChangeListeners()
Register
VisibilityChangeListeners, that will be notified when the
visibility of the source represented by this PlaceHolderOverlayInfo
changes. |
public PlaceHolderOverlayInfo(ViewerPanel viewer, SourceAndConverter<?> source, ConverterSetup converterSetup)
viewer - source - used for determining visibility.converterSetup - public void transformChanged(AffineTransform3D t)
transformChanged in interface TransformListener<AffineTransform3D>public boolean isVisible()
public void getViewerTransform(AffineTransform3D t)
public int getTimePointIndex()
public double getDisplayRangeMin()
public double getDisplayRangeMax()
public ARGBType getColor()
public void timePointChanged(int timePointIndex)
timePointChanged in interface TimePointListenerpublic void viewerStateChanged(ViewerStateChange change)
viewerStateChanged in interface ViewerStateChangeListenerpublic org.scijava.listeners.Listeners<PlaceHolderOverlayInfo.VisibilityChangeListener> visibilityChangeListeners()
VisibilityChangeListeners, that will be notified when the
visibility of the source represented by this PlaceHolderOverlayInfo
changes.@Deprecated public boolean addVisibilityChangeListener(PlaceHolderOverlayInfo.VisibilityChangeListener listener)
visibilityChangeListeners().add(listener) instead.listener - the listener to register.true if the listener was successfully registered.
false if it was already registered.@Deprecated public boolean removeVisibilityChangeListener(PlaceHolderOverlayInfo.VisibilityChangeListener listener)
visibilityChangeListeners().remove(listener) instead.listener - the listener to remove.true if the listener was present in the listeners of
this model and was successfully removed.Copyright © 2015–2021 Fiji. All rights reserved.