Changeset 4045


Ignore:
Timestamp:
Nov 12, 2013 4:37:13 PM (10 years ago)
Author:
ldelgass
Message:

Revert colormap change from r4042. Cutplane colormap should default to the
same as volume colormap. Also, grayscale is already pre-defined by server,
it is called "grayDefault". If we need grayscale for medical data, a grayscale
colormap should be chosen by a tool or custom viewer. Default volume rendering
should use the colormap similar to nanovis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r4042 r4045  
    25672567    set _cname2transferFunction($cname) [list $cmap $wmap]
    25682568    SendCmd [list colormap add $cname $cmap $wmap]
    2569 
    2570     SendCmd [list colormap add grayscale { 0 0 0 0 1 1 1 1 } { 0 1 1 1 }]
    25712569}
    25722570
     
    25852583    set _cname2transferFunction($cname) [list $cmap $wmap]
    25862584    SendCmd [list colormap add $cname $cmap $wmap]
    2587     #SendCmd [list cutplane colormap $cname]
    2588     SendCmd [list cutplane colormap grayscale]
     2585    SendCmd [list cutplane colormap $cname]
    25892586    EventuallyRequestLegend
    25902587}
Note: See TracChangeset for help on using the changeset viewer.