Closed tischi closed 5 years ago
Conceptually, I do not really understand why a
source
does not itself know how many time-points it has? One can currently saysource.isPresent( t )
, but notsource.getNumTimepoints()
. I would be curious to why that is designed like this. If there was asource.getNumTimepoints()
function, one would not need to manually specify the number of time-points inBdvFunctions.show()
.
Not much design involved, as usual just "historical reasons"... Number of timepoints was a property of the (lightsheet) dataset, so higher-level than Source
. I.e., all the sources would have the same number of timepoints anyway.
thanks!
Added a version of
BdvFunctions.show
for asource
withnumTimepoints
argument. Also added anExampleSource4D
insrc/test/...
demonstrating the functionality. It would be nice if this could be merged (or differently resolved) as I need the functionality for a project.Conceptually, I do not really understand why a
source
does not itself know how many time-points it has? One can currently saysource.isPresent( t )
, but notsource.getNumTimepoints()
. I would be curious to why that is designed like this. If there was asource.getNumTimepoints()
function, one would not need to manually specify the number of time-points inBdvFunctions.show()
.