OpenChemistry / tomviz

Cross platform, open source application for the processing, visualization, and analysis of 3D tomography data
https://tomviz.org/
BSD 3-Clause "New" or "Revised" License
325 stars 87 forks source link

Enable coloring of contours by different scalar array #1406

Open cquammen opened 6 years ago

cquammen commented 6 years ago

For datasets that have multiple scalar arrays, we want to be able to color the contour from one array by another array. Currently, one can color the contour by only label maps in child data sets. I plan to change the behavior to offer up only arrays available in the data source.

Related to #1405 in terms of how we will color contours by label maps.

cquammen commented 6 years ago

Do we want to keep the ability to color by child data sets, @cryos?

cquammen commented 6 years ago

We should consider separate data range controls for the color map applied to the contour. The range currently used is from the active scalar array shown in the histogram view. This range may be quite different from the range of the data array used to color the contour.

cryos commented 6 years ago

If the generated arrays become part of the data source, then I think the need to color by child data sets goes away. If we end of keeping them as children then we would want to retain the feature.

Agreed on looking at a separate control for the scalar array got coloring contours.