- Timestamp:
- Sep 18, 2013 2:44:17 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/field.tcl
r3933 r3939 913 913 continue; # Ignore this component 914 914 } 915 set contents [Rappture::encoding::decode -as zb64 $data] 916 if 0 { 917 set f [open /tmp/$_path.$cname.dx "w"] 918 puts -nonewline $f $contents 919 close $f 920 } 921 if { [catch { Rappture::DxToVtk $contents } vtkdata] == 0 } { 922 ReadVtkDataSet $cname $vtkdata 923 } else { 924 puts stderr "Can't parse dx data: $vtkdata" 925 } 926 if 0 { 927 set f [open /tmp/$_path.$cname.vtk "w"] 928 puts -nonewline $f $vtkdata 929 close $f 930 } 915 931 if { $_viewer != "nanovis" } { 916 set contents [Rappture::encoding::decode -as zb64 $data]917 if 0 {918 set f [open /tmp/$_path.$cname.dx "w"]919 puts -nonewline $f $contents920 close $f921 }922 if { [catch { Rappture::DxToVtk $contents } vtkdata] == 0 } {923 ReadVtkDataSet $cname $vtkdata924 } else {925 puts stderr "Can't parse dx data: $vtkdata"926 }927 if 0 {928 set f [open /tmp/$_path.$cname.vtk "w"]929 puts -nonewline $f $vtkdata930 close $f931 }932 932 set _type "vtk" 933 933 set _comp2vtk($cname) $vtkdata
Note: See TracChangeset
for help on using the changeset viewer.