- java.lang.Object
-
- bdv.viewer.SourceAndConverter<T>
-
- bdv.viewer.state.SourceState<T>
-
@Deprecated public class SourceState<T> extends SourceAndConverter<T>
Deprecated.Source with some attached state needed for rendering.
-
-
Field Summary
-
Fields inherited from class bdv.viewer.SourceAndConverter
converter, spimSource, volatileSourceAndConverter
-
-
Constructor Summary
Constructors Modifier Constructor Description SourceState(SourceAndConverter<T> soc, ViewerState owner)Deprecated.protectedSourceState(SourceAndConverter<T> soc, ViewerState owner, SourceAndConverter<?> handle)Deprecated.protectedSourceState(SourceState<T> s, ViewerState owner)Deprecated.copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SourceState<? extends net.imglib2.Volatile<T>>asVolatile()Deprecated.SourceState<T>copy(ViewerState owner)Deprecated.static <T> SourceState<T>create(SourceAndConverter<T> soc, ViewerState owner)Deprecated.Create aSourceStatefrom aSourceAndConverter.SourceAndConverter<?>getHandle()Deprecated.Get the SourceAndConverter that this SourceState represents.booleanisActive()Deprecated.Is the source is active (visible in fused mode)?booleanisCurrent()Deprecated.Is this source the current source?voidsetActive(boolean isActive)Deprecated.Set the source active (visible in fused mode) or inactivevoidsetCurrent(boolean isCurrent)Deprecated.Set this source current (or not).-
Methods inherited from class bdv.viewer.SourceAndConverter
getConverter, getSpimSource
-
-
-
-
Constructor Detail
-
SourceState
public SourceState(SourceAndConverter<T> soc, ViewerState owner)
Deprecated.
-
SourceState
protected SourceState(SourceAndConverter<T> soc, ViewerState owner, SourceAndConverter<?> handle)
Deprecated.
-
SourceState
protected SourceState(SourceState<T> s, ViewerState owner)
Deprecated.copy constructor- Parameters:
s-
-
-
Method Detail
-
copy
public SourceState<T> copy(ViewerState owner)
Deprecated.
-
isActive
public boolean isActive()
Deprecated.Is the source is active (visible in fused mode)?- Returns:
- whether the source is active.
-
setActive
public void setActive(boolean isActive)
Deprecated.Set the source active (visible in fused mode) or inactive
-
isCurrent
public boolean isCurrent()
Deprecated.Is this source the current source?- Returns:
- whether the source is current.
-
setCurrent
public void setCurrent(boolean isCurrent)
Deprecated.Set this source current (or not).
-
create
public static <T> SourceState<T> create(SourceAndConverter<T> soc, ViewerState owner)
Deprecated.Create aSourceStatefrom aSourceAndConverter.
-
asVolatile
public SourceState<? extends net.imglib2.Volatile<T>> asVolatile()
Deprecated.- Overrides:
asVolatilein classSourceAndConverter<T>
-
getHandle
public SourceAndConverter<?> getHandle()
Deprecated.Get the SourceAndConverter that this SourceState represents. This handle is used to make modifications to theViewerState
-
-