Changeset 2754 for trunk/gui/scripts/vtkvolumeviewer.tcl
- Timestamp:
- Jan 8, 2012, 2:48:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/vtkvolumeviewer.tcl
r2749 r2754 1565 1565 $_dataset2style($tag) != $name } { 1566 1566 SendCmd "volume colormap $name $tag" 1567 SendCmd "cutplane colormap $name $tag"1567 SendCmd "cutplane colormap $name-opaque $tag" 1568 1568 set _dataset2style($tag) $name 1569 1569 } … … 1798 1798 set max $_settings(volume-opacity) 1799 1799 1800 set wmap "0.0 1.0 1.0 1.0"1800 set opaqueWmap "0.0 1.0 1.0 1.0" 1801 1801 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" 1802 1802 SendCmd "colormap add $name { $cmap } { $wmap }" 1803 SendCmd "colormap add $name-opaque { $cmap } { $opaqueWmap }" 1803 1804 } 1804 1805
Note: See TracChangeset
for help on using the changeset viewer.