- Timestamp:
- May 31, 2015, 6:56:56 PM (9 years ago)
- Location:
- trunk/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/flowvisviewer.tcl
r5642 r5645 992 992 } 993 993 994 if {$tag == "" || ![info exists _dataset2style($tag)]} { 995 return 996 } 994 997 # Display the markers used by the current transfer function. 995 998 set tf $_dataset2style($tag) … … 1001 1004 $c coords vmax [expr {$w-$lx}] $ly 1002 1005 1006 if { $_first == "" } { 1007 return 1008 } 1003 1009 set title [$_first hints label] 1004 1010 set units [$_first hints units] -
trunk/gui/scripts/nanovisviewer.tcl
r5644 r5645 782 782 # Display the markers used by the current transfer function. 783 783 HideAllMarkers 784 if {$cname == "" || ![info exists _transferFunctionEditors($cname)]} { 785 return 786 } 784 787 $_transferFunctionEditors($cname) showMarkers $_limits($cname) 785 788 … … 791 794 $c coords vmax [expr {$w-$lx}] $ly 792 795 796 if { $_first == "" } { 797 return 798 } 793 799 set title [$_first hints label] 794 800 set units [$_first hints units] … … 905 911 SendData $data 906 912 set _datasets($tag) 1 907 }908 SetObjectStyle $dataobj $cname913 SetObjectStyle $dataobj $cname 914 } 909 915 if { [info exists _obj2ovride($dataobj-raise)] } { 910 916 SendCmd "volume state 1 $tag" … … 912 918 } 913 919 } 914 # Outline seems to need to be reset every update. 915 InitSettings -outlinevisible -cutplanesvisible 920 921 # Turn off cutplanes for all volumes 922 foreach axis {x y z} { 923 SendCmd "cutplane state 0 $axis" 924 } 925 926 InitSettings -outlinevisible -cutplanesvisible \ 927 -xcutplanevisible -ycutplanevisible -zcutplanevisible \ 928 -xcutplaneposition -ycutplaneposition -zcutplaneposition 929 916 930 if { $_reset } { 917 # Turn off cutplanes for all volumes918 foreach axis {x y z} {919 SendCmd "cutplane state 0 $axis"920 }921 922 931 InitSettings -axesvisible -gridvisible \ 923 - light2side -isosurfaceshading -opacity\932 -opacity -light2side -isosurfaceshading \ 924 933 -ambient -diffuse -specularlevel -specularexponent \ 925 -xcutplanevisible -ycutplanevisible -zcutplanevisible \926 934 -current 927 935 … … 959 967 updateTransferFunctions 960 968 } 969 961 970 # Actually write the commands to the server socket. If it fails, we don't 962 971 # care. We're finished here.
Note: See TracChangeset
for help on using the changeset viewer.