Ignore:
Timestamp:
Jan 8, 2012, 2:48:23 PM (13 years ago)
Author:
ldelgass
Message:

Use opaque colormap for cutplanes

File:
1 edited

Legend:

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

    r2749 r2754  
    15651565         $_dataset2style($tag) != $name } {
    15661566        SendCmd "volume colormap $name $tag"
    1567         SendCmd "cutplane colormap $name $tag"
     1567        SendCmd "cutplane colormap $name-opaque $tag"
    15681568        set _dataset2style($tag) $name
    15691569    }
     
    17981798    set max $_settings(volume-opacity)
    17991799
    1800     set wmap "0.0 1.0 1.0 1.0"
     1800    set opaqueWmap "0.0 1.0 1.0 1.0"
    18011801    set wmap "0.0 0.0 0.1 0.0 0.2 0.8 0.98 0.8 0.99 0.0 1.0 0.0"
    18021802    SendCmd "colormap add $name { $cmap } { $wmap }"
     1803    SendCmd "colormap add $name-opaque { $cmap } { $opaqueWmap }"
    18031804}
    18041805
Note: See TracChangeset for help on using the changeset viewer.