Changeset 5266 for branches/1.3


Ignore:
Timestamp:
Apr 17, 2015, 8:55:43 PM (10 years ago)
Author:
ldelgass
Message:

s/Func/Function/

File:
1 edited

Legend:

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

    r5260 r5266  
    9090    private method BuildViewTab {}
    9191    private method BuildVolumeTab {}
    92     private method ComputeTransferFunc { tf }
     92    private method ComputeTransferFunction { tf }
    9393    private method Connect {}
    9494    private method CurrentDatasets {{what -all}}
     
    100100    private method GetVolumeInfo { w }
    101101    private method InitSettings { args }
    102     private method NameTransferFunc { dataobj comp }
     102    private method NameTransferFunction { dataobj comp }
    103103    private method Pan {option x y}
    104104    private method PanCamera {}
     
    114114    private method ResetColormap { color }
    115115    private method Rotate {option x y}
    116     private method SendTransferFuncs {}
     116    private method SendTransferFunctions {}
    117117    private method SetOrientation { side }
    118118    private method Slice {option args}
     
    138138                                        # dataobj-components using the tf.
    139139
    140     private variable _reset 1          ;# Connection to server has been reset
    141     private variable _click            ;# info used for rotate operations
    142     private variable _limits           ;# autoscale min/max for all axes
    143     private variable _view             ;# view params for 3D view
     140    private variable _reset 1          ;# Connection to server has been reset.
     141    private variable _click            ;# Info used for rotate operations.
     142    private variable _limits           ;# Autoscale min/max for all axes
     143    private variable _view             ;# View params for 3D view
    144144    private variable _isomarkers       ;# array of isosurface level values 0..1
    145145    private variable  _settings
     
    150150    private variable _first ""         ;# This is the topmost volume.
    151151
    152     common _downloadPopup          ;# download options from popup
     152    common _downloadPopup              ;# download options from popup
    153153    private common _hardcopy
    154154    private variable _width 0
     
    176176    $_dispatcher register !send_transfunc
    177177    $_dispatcher dispatch $this !send_transfunc \
    178         "[itcl::code $this SendTransferFuncs]; list"
     178        "[itcl::code $this SendTransferFunctions]; list"
    179179
    180180    # Rebuild event
     
    664664
    665665# ----------------------------------------------------------------------
    666 # USAGE: SendTransferFuncs
    667 # ----------------------------------------------------------------------
    668 itcl::body Rappture::NanovisViewer::SendTransferFuncs {} {
     666# USAGE: SendTransferFunctions
     667# ----------------------------------------------------------------------
     668itcl::body Rappture::NanovisViewer::SendTransferFunctions {} {
    669669    if { $_first == "" } {
    670670        puts stderr "first not set"
     
    692692        set _settings($this-$tf-opacity) $opacity
    693693        set _settings($this-$tf-thickness) $thickness
    694         ComputeTransferFunc $tf
     694        ComputeTransferFunction $tf
    695695        # FIXME: Need to the send information as to what transfer functions
    696696        #        to update so that we only update the transfer function
     
    929929                set _serverDatasets($tag) 0
    930930            }
    931             NameTransferFunc $dataobj $cname
     931            NameTransferFunction $dataobj $cname
    932932        }
    933933    }
     
    13191319
    13201320#
    1321 # NameTransferFunc --
     1321# NameTransferFunction --
    13221322#
    13231323#       Creates a transfer function name based on the <style> settings in the
     
    13331333#              now.
    13341334#
    1335 itcl::body Rappture::NanovisViewer::NameTransferFunc { dataobj cname } {
     1335itcl::body Rappture::NanovisViewer::NameTransferFunction { dataobj cname } {
    13361336    array set style {
    13371337        -color BCGYR
     
    13491349
    13501350#
    1351 # ComputeTransferFunc --
     1351# ComputeTransferFunction --
    13521352#
    13531353#   Computes and sends the transfer function to the render server.  It's
     
    13571357#   the alpha map of the transfer function.
    13581358#
    1359 itcl::body Rappture::NanovisViewer::ComputeTransferFunc { tf } {
     1359itcl::body Rappture::NanovisViewer::ComputeTransferFunction { tf } {
    13601360    array set style {
    13611361        -color BCGYR
     
    15491549
    15501550# ----------------------------------------------------------------------
    1551 # USAGE: UpdateTransferFuncs
     1551# USAGE: UpdateTransferFunctions
    15521552# ----------------------------------------------------------------------
    15531553itcl::body Rappture::NanovisViewer::updateTransferFunctions {} {
Note: See TracChangeset for help on using the changeset viewer.