Changeset 4429


Ignore:
Timestamp:
Jun 25, 2014 1:25:10 PM (10 years ago)
Author:
ldelgass
Message:

Rename isosurfaceoutline setting to outline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/gui/scripts/vtkisosurfaceviewer.tcl

    r4428 r4429  
    251251        -isosurfacelighting             1
    252252        -isosurfaceopacity              60
    253         -isosurfaceoutline              0
    254253        -isosurfacevisible              1
    255254        -isosurfacewireframe            0
    256255        -legendvisible                  1
    257256        -numcontours                    10
    258         -xgrid                          0
     257        -outline                        0
    259258        -xcutplaneposition              50
    260259        -xcutplanevisible               1
    261         -ygrid                          0
     260        -xgrid                          0
    262261        -ycutplaneposition              50
    263262        -ycutplanevisible               1
    264         -zgrid                          0
     263        -ygrid                          0
    265264        -zcutplaneposition              50
    266265        -zcutplanevisible               1
     266        -zgrid                          0
    267267    }
    268268    array set _changed {
     
    10791079        }
    10801080    }
    1081     InitSettings -cutplanesvisible -isosurfacevisible -isosurfaceoutline
     1081    InitSettings -cutplanesvisible -isosurfacevisible -outline
    10821082    if { $_reset } {
    10831083        # These are settings that rely on a dataset being loaded.
     
    14951495            SendCmd "contour3d edges $bool"
    14961496        }
    1497         "-isosurfaceoutline" {
     1497        "-outline" {
    14981498            set bool $_settings($what)
    14991499            SendCmd "outline visible 0"
     
    16711671    checkbutton $inner.outline \
    16721672        -text "Outline" \
    1673         -variable [itcl::scope _settings(-isosurfaceoutline)] \
    1674         -command [itcl::code $this AdjustSetting -isosurfaceoutline] \
     1673        -variable [itcl::scope _settings(-outline)] \
     1674        -command [itcl::code $this AdjustSetting -outline] \
    16751675        -font "Arial 9"
    16761676
     
    22452245    SendCmd "outline color [Color2RGB $itk_option(-plotforeground)] $tag"
    22462246    SendCmd "outline visible $style(-outline) $tag"
    2247     set _settings(-isosurfaceoutline) $style(-outline)
     2247    set _settings(-outline) $style(-outline)
    22482248    set _settings(-isosurfaceedges) $style(-edges)
    22492249    #SendCmd "contour3d color [Color2RGB $settings(-color)] $tag"
Note: See TracChangeset for help on using the changeset viewer.