Ignore:
Timestamp:
Mar 6, 2009, 11:25:44 AM (16 years ago)
Author:
dkearney
Message:

replacing the field3d object with a plain old nanovisviewer object. this will allow those having trouble compiling vtk to still play with the nanovis-test without having to load vtk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/nanovis-test

    r1280 r1292  
    353353
    354354set f [.main pane 0]
    355 Rappture::Field3DResult $f.viewer
     355set servers [Rappture::VisViewer::GetServerList "nanovis"]
     356Rappture::NanovisViewer $f.viewer $servers
    356357pack $f.viewer -expand yes -fill both
    357 set widgets(nanovis) [$f.viewer component renderer]
     358set widgets(nanovis) $f.viewer
    358359
    359360puts stderr [winfo class $widgets(nanovis)]
    360361
    361 $f.viewer component renderer configure \
     362$f.viewer configure \
    362363    -sendcommand show_comm \
    363364    -receivecommand show_comm
Note: See TracChangeset for help on using the changeset viewer.