Changeset 6333 for trunk


Ignore:
Timestamp:
May 14, 2016, 2:04:27 PM (8 years ago)
Author:
ldelgass
Message:

Use consistent argument naming for ReceiveLegend?

Location:
trunk/gui/scripts
Files:
6 edited

Legend:

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

    r6332 r6333  
    102102    private method ReceiveDataset { args }
    103103    private method ReceiveImage { args }
    104     private method ReceiveLegend { colormap title vmin vmax size }
     104    private method ReceiveLegend { colormap title min max size }
    105105    private method RequestLegend {}
    106106    private method Rotate {option x y}
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r6332 r6333  
    107107    private method ReceiveDataset { args }
    108108    private method ReceiveImage { args }
    109     private method ReceiveLegend { colormap title vmin vmax size }
     109    private method ReceiveLegend { colormap title min max size }
    110110    private method RequestLegend {}
    111111    private method Rotate {option x y}
  • trunk/gui/scripts/vtkstreamlinesviewer.tcl

    r6332 r6333  
    101101    private method ReceiveDataset { args }
    102102    private method ReceiveImage { args }
    103     private method ReceiveLegend { colormap title vmin vmax size }
     103    private method ReceiveLegend { colormap title min max size }
    104104    private method RequestLegend {}
    105105    private method Rotate {option x y}
     
    21812181
    21822182# ----------------------------------------------------------------------
    2183 # USAGE: ReceiveLegend <colormap> <title> <vmin> <vmax> <size>
     2183# USAGE: ReceiveLegend <colormap> <title> <min> <max> <size>
    21842184#
    21852185# Invoked automatically whenever the "legend" command comes in from
     
    21872187# specified <size> will follow.
    21882188# ----------------------------------------------------------------------
    2189 itcl::body Rappture::VtkStreamlinesViewer::ReceiveLegend { colormap title vmin vmax size } {
     2189itcl::body Rappture::VtkStreamlinesViewer::ReceiveLegend { colormap title min max size } {
    21902190    set _legendPending 0
    21912191    set _title $title
  • trunk/gui/scripts/vtksurfaceviewer.tcl

    r6332 r6333  
    9595    private method ReceiveDataset { args }
    9696    private method ReceiveImage { args }
    97     private method ReceiveLegend { colormap title vmin vmax size }
     97    private method ReceiveLegend { colormap title min max size }
    9898    private method RequestLegend {}
    9999    private method Rotate {option x y}
  • trunk/gui/scripts/vtkviewer.tcl

    r6303 r6333  
    104104    private method ReceiveDataset { args }
    105105    private method ReceiveImage { args }
    106     private method ReceiveLegend { colormap title vmin vmax size }
     106    private method ReceiveLegend { colormap title min max size }
    107107    private method RequestLegend {}
    108108    private method Rotate {option x y}
     
    28632863
    28642864# ----------------------------------------------------------------------
    2865 # USAGE: ReceiveLegend <colormap> <title> <vmin> <vmax> <size>
     2865# USAGE: ReceiveLegend <colormap> <title> <min> <max> <size>
    28662866#
    28672867# Invoked automatically whenever the "legend" command comes in from
     
    28692869# specified <size> will follow.
    28702870# ----------------------------------------------------------------------
    2871 itcl::body Rappture::VtkViewer::ReceiveLegend { colormap title vmin vmax size } {
    2872     set _limits(vmin) $vmin
    2873     set _limits(vmax) $vmax
     2871itcl::body Rappture::VtkViewer::ReceiveLegend { colormap title min max size } {
     2872    set _limits(vmin) $min
     2873    set _limits(vmax) $max
    28742874    set _title $title
    28752875    if { [IsConnected] } {
  • trunk/gui/scripts/vtkvolumeviewer.tcl

    r6303 r6333  
    109109    private method ReceiveDataset { args }
    110110    private method ReceiveImage { args }
    111     private method ReceiveLegend { colormap title vmin vmax size }
     111    private method ReceiveLegend { colormap title min max size }
    112112    private method RemoveMarker { x y }
    113113    private method RequestLegend {}
     
    22492249
    22502250# ----------------------------------------------------------------------
    2251 # USAGE: ReceiveLegend <colormap> <title> <vmin> <vmax> <size>
     2251# USAGE: ReceiveLegend <colormap> <title> <min> <max> <size>
    22522252#
    22532253# Invoked automatically whenever the "legend" command comes in from
     
    22552255# specified <size> will follow.
    22562256# ----------------------------------------------------------------------
    2257 itcl::body Rappture::VtkVolumeViewer::ReceiveLegend { colormap title vmin vmax size } {
     2257itcl::body Rappture::VtkVolumeViewer::ReceiveLegend { colormap title min max size } {
    22582258    if { [isconnected] } {
    22592259        set bytes [ReceiveBytes $size]
Note: See TracChangeset for help on using the changeset viewer.