Changeset 5185


Ignore:
Timestamp:
Apr 2, 2015 9:07:56 AM (6 years ago)
Author:
ldelgass
Message:

s/wmap/amap/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/gui/scripts/vtkvolumeviewer.tcl

    r5183 r5185  
    16071607    set max 1.0
    16081608
    1609     set opaqueWmap "0.0 1.0 1.0 1.0"
     1609    set opaqueAmap "0.0 1.0 1.0 1.0"
    16101610    #set amap "0.0 0.0 0.1 0.0 0.2 0.8 0.98 0.8 0.99 0.0 1.0 0.0"
    16111611    # Approximate cubic opacity curve
    16121612    set amap "0.0 0.0 0.1 0.001 0.2 0.008 0.3 0.027 0.4 0.064 0.5 0.125 0.6 0.216 0.7 0.343 0.8 0.512 0.9 0.729 1.0 1.0"
    16131613    SendCmd "colormap add $name { $cmap } { $amap }"
    1614     SendCmd "colormap add $name-opaque { $cmap } { $opaqueWmap }"
     1614    SendCmd "colormap add $name-opaque { $cmap } { $opaqueAmap }"
    16151615}
    16161616
Note: See TracChangeset for help on using the changeset viewer.