Ignore:
Timestamp:
Apr 15, 2015, 5:01:14 AM (5 years ago)
Author:
ldelgass
Message:

minor ticks setting for axis in vtkvolume

File:
1 edited

Legend:

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

    r5239 r5240  
    214214
    215215    array set _settings {
     216        axis-minorticks         1
    216217        axis-xgrid              0
    217218        axis-ygrid              0
     
    936937        set _first ""
    937938        InitSettings axis-xgrid axis-ygrid axis-zgrid axisFlyMode \
    938             axesVisible axisLabels
     939            axesVisible axisLabels axis-minorticks
    939940        StopBufferingCommands
    940941        SendCmd "imgflush"
     
    13291330            set bool $_settings($what)
    13301331            SendCmd "axis labels all $bool"
     1332        }
     1333        "axis-minorticks" {
     1334            set bool $_settings($what)
     1335            SendCmd "axis minticks all $bool"
    13311336        }
    13321337        "axis-xgrid" - "axis-ygrid" - "axis-zgrid" {
     
    16841689        -variable [itcl::scope _settings(axis-zgrid)] \
    16851690        -command [itcl::code $this AdjustSetting axis-zgrid] \
     1691        -font "Arial 9"
     1692    checkbutton $inner.minorticks \
     1693        -text "Minor Ticks" \
     1694        -variable [itcl::scope _settings(axis-minorticks)] \
     1695        -command [itcl::code $this AdjustSetting axis-minorticks] \
    16861696        -font "Arial 9"
    16871697
Note: See TracChangeset for help on using the changeset viewer.