-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source transform for missing timepoints? #140
Comments
That is a bug,.. |
Hmm, actually... I don't see how this could be a problem. void getSourceTransform( int t, int level, AffineTransform3D transform ); So you already get the pre-allocated transform. I'll probably change |
Yeah, good point, we could do this... |
What I mean is: if something calls this function and interprets the But I get your point: we could say it is the responsibility of the calling code to check whether this time point is present, before calling that function. |
@tpietzsch I tried your suggestion of just returning the pre-allocated transform for missing time-points, but it looks like as if the current implementation in BDV does not handle this correctly. I get weird behavior: When hovering with the mouse across BDV the scale bar is changing. |
Even though my
Source
returnsfalse
forisPresent( 0 )
, the below code still tries to get the source transform at time point0
. And in my case crashed because mySource
only has source transforms for existing time points.Question: Should a
Source
provide a source transform also for missing time points or is that maybe a bug in BDV?The text was updated successfully, but these errors were encountered: