Closed hanslovsky closed 7 years ago
@hanslovsky as mentioned on gitter, there is a standalone ViewerPanel
already.
See https://github.com/bigdataviewer/bigdataviewer-vistools/blob/master/src/test/java/bdv/util/PanelExample.java
Does this make this PR obsolete?
@hanslovsky ... nevertheless, this looks useful
I think it would make sense to pull it out as a common part of addStackSourceARGBType
and addStackSourceRealType
.
I'll look into it while merging your PRs
I agree. Right now, I just have it only for RandomAccessibleInterval
but it would make sense for all other cases, as well. Let me know if you want me to do that.
With the recent changes in bdv-vistools this has become obsolete for me. Re-open this issue if you think it is still valid.
I added a convenience method
that creates a
List< SourceAndConverter< ? > >
from aRandomAccessibleInterval< T >
and aConverter< T, ARGBType >
: https://github.com/hanslovsky/bigdataviewer-vistools/commit/dc6433484f25c08b7360c7771475eacdc960e99bThis makes it easy, for example, to create a standalone
ViewerPanel
just from aRandomAccessibleInterval
.Would it make sense to add this to master?