bigdataviewer/bigdataviewer-vistools

Changing display range programmatically

Closed this issue · 1 comments

Hi @tibuch @tpietzsch (@metavibor),

I can change the display settings like this:

bdvStackSource.getBdvHandle().getSetupAssignments().getConverterSetups().get(channel).setDisplayRange( min, max );

This works in terms of changing the display of the source, however it does not seem to notify the Bdv user interface. The next time one goes to the menu to change the Brightness Settings, there are other values... Am I missing something?

@tischi yes, I think you are missing this:

public abstract void setDisplayRange( final double min, final double max );