Changeset 5249
- Timestamp:
- Apr 17, 2015 2:55:50 PM (6 years ago)
- Location:
- branches/1.3
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/gui/scripts/vtkglyphviewer.tcl
r5230 r5249 113 113 114 114 private variable _dlist "" ; # list of data objects 115 private variable _obj2datasets116 115 private variable _obj2ovride ; # maps dataobj => style override 117 116 private variable _datasets ; # contains all the dataobj-component … … 122 121 # heightmaps displayed. 123 122 private variable _currentColormap "" 124 125 private variable _dataset2style ;# maps dataobj-component to transfunc126 123 127 124 private variable _click ; # info used for rotate operations … … 840 837 array unset _data 841 838 array unset _colormaps 842 array unset _dataset2style843 array unset _obj2datasets844 839 } 845 840 … … 974 969 set _first $dataobj 975 970 } 976 set _obj2datasets($dataobj) ""977 971 foreach comp [$dataobj components] { 978 972 set tag $dataobj-$comp … … 1003 997 SetObjectStyle $dataobj $comp 1004 998 } 1005 lappend _obj2datasets($dataobj) $tag1006 999 if { [info exists _obj2ovride($dataobj-raise)] } { 1007 1000 # Setting dataset visible enables outline -
branches/1.3/gui/scripts/vtkheightmapviewer.tcl
r5230 r5249 114 114 private variable _arcball "" 115 115 private variable _dlist "" ; # list of data objects 116 private variable _obj2datasets117 116 private variable _obj2ovride ; # maps dataobj => style override 118 117 private variable _comp2scale; # maps dataset to the heightmap scale. … … 813 812 # disconnected -- no more data sitting on server 814 813 array unset _datasets 815 array unset _data816 814 array unset _colormaps 817 array unset _obj2datasets818 815 global readyForNextFrame 819 816 set readyForNextFrame 1 … … 973 970 set _first $dataobj 974 971 } 975 set _obj2datasets($dataobj) ""976 972 foreach comp [$dataobj components] { 977 973 set tag $dataobj-$comp … … 1002 998 SetObjectStyle $dataobj $comp 1003 999 } 1004 lappend _obj2datasets($dataobj) $tag1005 1000 if { [info exists _obj2ovride($dataobj-raise)] } { 1006 1001 # Setting dataset visible enables outline -
branches/1.3/gui/scripts/vtkimageviewer.tcl
r5230 r5249 110 110 private variable _arcball "" 111 111 private variable _dlist "" ; # list of data objects 112 private variable _obj2datasets113 112 private variable _obj2ovride ; # maps dataobj => style override 114 113 private variable _datasets ; # contains all the dataobj-component … … 803 802 # disconnected -- no more data sitting on server 804 803 array unset _datasets 805 array unset _data806 804 array unset _colormaps 807 array unset _obj2datasets808 805 global readyForNextFrame 809 806 set readyForNextFrame 1 … … 951 948 set _first $dataobj 952 949 } 953 set _obj2datasets($dataobj) ""954 950 foreach comp [$dataobj components] { 955 951 set tag $dataobj-$comp … … 980 976 SetObjectStyle $dataobj $comp 981 977 } 982 lappend _obj2datasets($dataobj) $tag983 978 if { [info exists _obj2ovride($dataobj-raise)] } { 984 979 # Setting dataset visible enables outline -
branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl
r5230 r5249 129 129 130 130 private variable _dlist "" ; # list of data objects 131 private variable _obj2datasets132 131 private variable _obj2ovride ; # maps dataobj => style override 133 132 private variable _datasets ; # contains all the dataobj-component … … 139 138 private variable _currentColormap "" 140 139 private variable _currentNumContours -1 141 142 private variable _dataset2style ;# maps dataobj-component to transfunc143 140 144 141 private variable _click ; # info used for rotate operations … … 950 947 # disconnected -- no more data sitting on server 951 948 array unset _datasets 952 array unset _data953 949 array unset _colormaps 954 array unset _dataset2style955 array unset _obj2datasets956 950 } 957 951 … … 1086 1080 SetCurrentFieldName $dataobj 1087 1081 } 1088 set _obj2datasets($dataobj) ""1089 1082 foreach comp [$dataobj components] { 1090 1083 set tag $dataobj-$comp … … 1115 1108 SetObjectStyle $dataobj $comp 1116 1109 } 1117 lappend _obj2datasets($dataobj) $tag1118 1110 if { [info exists _obj2ovride($dataobj-raise)] } { 1119 1111 SendCmd "contour3d visible 1 $tag" -
branches/1.3/gui/scripts/vtkmeshviewer.tcl
r5219 r5249 101 101 private variable _arcball "" 102 102 private variable _dlist ""; # list of data objects 103 private variable _obj2datasets104 103 private variable _obj2ovride; # maps dataobj => style override 105 104 private variable _datasets; # contains all the dataobj-component 106 105 # datasets in the server 107 private variable _dataset2style; # maps dataobj-component to transfunc108 private variable _style2datasets; # maps tf back to list of109 # dataobj-components using the tf.110 106 private variable _click; # info used for rotate operations 111 107 private variable _limits; # autoscale min/max for all axes … … 714 710 # disconnected -- no more data sitting on server 715 711 array unset _datasets 716 array unset _data717 712 global readyForNextFrame 718 713 set readyForNextFrame 1 … … 840 835 set _first $dataobj 841 836 } 842 set _obj2datasets($dataobj) ""843 837 set tag $dataobj 844 838 if { ![info exists _datasets($tag)] } { … … 871 865 SetObjectStyle $dataobj 872 866 } 873 lappend _obj2datasets($dataobj) $tag874 867 if { [info exists _obj2ovride($dataobj-raise)] } { 875 868 SendCmd "dataset visible 1 $tag" -
branches/1.3/gui/scripts/vtkstreamlinesviewer.tcl
r5230 r5249 116 116 117 117 private variable _dlist "" ; # list of data objects 118 private variable _obj2datasets119 118 private variable _obj2ovride ; # maps dataobj => style override 120 119 private variable _datasets ; # contains all the dataobj-component … … 852 851 # disconnected -- no more data sitting on server 853 852 array unset _datasets 854 array unset _data855 853 array unset _colormaps 856 854 array unset _seeds 857 855 array unset _dataset2style 858 array unset _obj2datasets859 856 } 860 857 … … 983 980 set _first $dataobj 984 981 } 985 set _obj2datasets($dataobj) ""986 982 foreach comp [$dataobj components] { 987 983 set tag $dataobj-$comp … … 1012 1008 SetObjectStyle $dataobj $comp 1013 1009 } 1014 lappend _obj2datasets($dataobj) $tag1015 1010 if { [info exists _obj2ovride($dataobj-raise)] } { 1016 1011 SendCmd "dataset visible 1 $tag" -
branches/1.3/gui/scripts/vtksurfaceviewer.tcl
r5230 r5249 112 112 113 113 private variable _dlist "" ; # list of data objects 114 private variable _obj2datasets115 114 private variable _obj2ovride ; # maps dataobj => style override 116 115 private variable _datasets ; # contains all the dataobj-component … … 122 121 private variable _currentColormap "" 123 122 private variable _currentNumContours -1 124 125 private variable _dataset2style ;# maps dataobj-component to transfunc126 123 127 124 private variable _click ; # info used for rotate operations … … 793 790 # disconnected -- no more data sitting on server 794 791 array unset _datasets 795 array unset _data796 792 array unset _colormaps 797 array unset _dataset2style798 array unset _obj2datasets799 793 } 800 794 … … 931 925 SetCurrentFieldName $dataobj 932 926 } 933 set _obj2datasets($dataobj) ""934 927 foreach comp [$dataobj components] { 935 928 set tag $dataobj-$comp … … 960 953 SetObjectStyle $dataobj $comp 961 954 } 962 lappend _obj2datasets($dataobj) $tag963 955 if { [info exists _obj2ovride($dataobj-raise)] } { 964 956 SendCmd "polydata visible 1 $tag" -
branches/1.3/gui/scripts/vtkviewer.tcl
r5230 r5249 126 126 private variable _arcball "" 127 127 private variable _dlist ""; # list of data objects 128 private variable _obj2datasets129 128 private variable _obj2ovride; # maps dataobj => style override 130 129 private variable _datasets; # contains all the dataobj-component … … 133 132 # in the server. 134 133 private variable _dataset2style; # maps dataobj-component to transfunc 135 private variable _style2datasets; # maps tf back to list of136 # dataobj-components using the tf.137 134 private variable _click; # info used for rotate operations 138 135 private variable _limits; # autoscale min/max for all axes … … 927 924 # disconnected -- no more data sitting on server 928 925 array unset _datasets 929 array unset _data930 926 array unset _colormaps 931 927 global readyForNextFrame … … 1055 1051 set _first $dataobj 1056 1052 } 1057 set _obj2datasets($dataobj) ""1058 1053 foreach comp [$dataobj components] { 1059 1054 set tag $dataobj-$comp … … 1087 1082 SetObjectStyle $dataobj $comp 1088 1083 } 1089 lappend _obj2datasets($dataobj) $tag1090 1084 set type [$dataobj type $comp] 1091 1085 if { [info exists _obj2ovride($dataobj-raise)] } { -
branches/1.3/gui/scripts/vtkvolumeviewer.tcl
r5243 r5249 113 113 private variable _arcball "" 114 114 private variable _dlist "" ; # list of data objects 115 private variable _obj2datasets116 115 private variable _obj2ovride ; # maps dataobj => style override 117 116 private variable _datasets ; # contains all the dataobj-component … … 808 807 # disconnected -- no more data sitting on server 809 808 array unset _datasets 810 array unset _data811 809 array unset _colormaps 812 810 array unset _dataset2style 813 array unset _obj2datasets814 811 815 812 set _resizePending 0 … … 959 956 set _first $dataobj 960 957 } 961 set _obj2datasets($dataobj) ""962 958 foreach comp [$dataobj components] { 963 959 set tag $dataobj-$comp … … 988 984 SetObjectStyle $dataobj $comp 989 985 } 990 lappend _obj2datasets($dataobj) $tag991 986 if { [info exists _obj2ovride($dataobj-raise)] } { 992 987 SendCmd "volume visible 1 $tag"
Note: See TracChangeset
for help on using the changeset viewer.