Ignore:
Timestamp:
May 9, 2006, 7:00:06 PM (18 years ago)
Author:
mmc
Message:

Added the nanovis viewer for 3D fields. This connects to the machine:port
specified by nanovis_server directive in the user's "resources" file.
If it can't connect for some reason, it falls back to the older Vtk
visualization widget.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/resultviewer.tcl

    r428 r436  
    217217                    }
    218218                }
    219                 2D - 3D {
     219                2D {
    220220                    set mode "contour"
    221221                    if {![info exists _mode2widget($mode)]} {
    222222                        set w $itk_interior.contour
    223223                        Rappture::ContourResult $w
     224                        set _mode2widget($mode) $w
     225                    }
     226                }
     227                3D {
     228                    set mode "field3D"
     229                    if {![info exists _mode2widget($mode)]} {
     230                        set w $itk_interior.field3D
     231                        Rappture::Field3DResult $w
    224232                        set _mode2widget($mode) $w
    225233                    }
Note: See TracChangeset for help on using the changeset viewer.