Import 2017-06-07 23:51:09: master 718e12e9

Author Committer Branch Timestamp Parent
naucoin naucoin master 2014-02-14 14:48:51 master 1e69a36f
Affected Issues 0003586: Volume color table nodes have incorrect TableRange
Changeset

BUG: fix table range on color nodes

Color table range values were being set to the number of entries
in the look up table, rather than the range of scalar values that
are to be mapped through the table. This restricts that mapping (especially
when using them with volumes) to for example scalar values from 0-43
in the fMRI table, rather than allowing mapping of 0-255, the default
that is input to the map scalars to colors filter in the
slice pipeline.

Reset the table ranges on the fMRI, fMRIPA, Iron nodes, as well as
the default range for Copy and the color table storage node, to
allow mapping 0-255 rather than 0-number of colors.

Issue 0003586

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22878 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Core/vtkMRMLColorTableNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLColorTableStorageNode.cxx Diff File