Skip to content
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

Relax NumericType restriction on AbstractSource and RandomAccessibleSources #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nthistle
Copy link

While not immediately applicable to BdvFunctions.show(), relaxing the NumericType constraint on AbstractSource and the RandomAccessibleSource classes would be helpful for something like ViewerPanel.addSource(), allowing these convenience classes to be used in those applications as well (i.e. passing a RandomAccessibleInterval<LabelMultisetType>).

In the case where T is not a NumericType, only the NearestNeighborInterpolator is used, rather than DefaultInterpolators which requires NumericType so that it can use both Nearest Neighbor and NLinear.

Notably, this solution uses a raw type on DefaultInterpolators, but I don't know of a much better way to do it.

@hanslovsky suggested this change.

axtimwalde pushed a commit to axtimwalde/bigdataviewer-vistools that referenced this pull request Feb 6, 2024
…wLogging

Implement ViewerTransformLogger and PositionLogger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant