Ignore:
Timestamp:
Mar 23, 2016 12:10:41 PM (8 years ago)
Author:
ldelgass
Message:

Viewer cleanups/sync

File:
1 edited

Legend:

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

    r6147 r6202  
    114114    private variable _arcball ""
    115115
    116     private variable _dlist ""     ;    # list of data objects
    117     private variable _obj2ovride   ;    # maps dataobj => style override
    118     private variable _datasets     ;    # contains all the dataobj-component
    119                                    ;    # datasets in the server
    120     private variable _colormaps    ;    # contains all the colormaps
    121                                    ;    # in the server.
     116    private variable _dlist "";         # list of data objects
     117    private variable _obj2ovride;       # maps dataobj => style override
     118    private variable _datasets;         # contains all the dataobj-component
     119                                        # datasets in the server
     120    private variable _colormaps;        # contains all the colormaps
     121                                        # in the server.
    122122    private variable _currentColormap ""
    123123
    124     private variable _click        ;    # info used for rotate operations
    125     private variable _limits       ;    # autoscale min/max for all axes
    126     private variable _view         ;    # view params for 3D view
     124    private variable _click;            # info used for rotate operations
     125    private variable _limits;           # autoscale min/max for all axes
     126    private variable _view;             # view params for 3D view
    127127    private variable _settings
    128128    private variable _reset 1;          # Connection to server has been reset.
    129129
    130     private variable _first ""     ;    # This is the topmost dataset.
     130    private variable _first "";         # This is the topmost dataset.
    131131    private variable _start 0
    132132    private variable _title ""
     
    144144    private variable _field      ""
    145145    private variable _numSeeds 200
    146     private variable _colorMode "vmag";# Mode of colormap (vmag or scalar)
     146    private variable _colorMode "vmag"; # Mode of colormap (vmag or scalar)
    147147
    148148    private common _downloadPopup;      # download options from popup
     
    271271    set c $itk_component(view)
    272272    bind $c <Configure> [itcl::code $this EventuallyResize %w %h]
    273     bind $c <4> [itcl::code $this Zoom in 0.25]
    274     bind $c <5> [itcl::code $this Zoom out 0.25]
    275     bind $c <KeyPress-Left>  [list %W xview scroll 10 units]
    276     bind $c <KeyPress-Right> [list %W xview scroll -10 units]
    277     bind $c <KeyPress-Up>    [list %W yview scroll 10 units]
    278     bind $c <KeyPress-Down>  [list %W yview scroll -10 units]
    279     bind $c <Enter> "focus %W"
    280273    bind $c <Control-F1> [itcl::code $this ToggleConsole]
    281274
Note: See TracChangeset for help on using the changeset viewer.