Changeset 4296 for trunk/gui


Ignore:
Timestamp:
Mar 28, 2014, 10:54:37 PM (10 years ago)
Author:
ldelgass
Message:

remove unused methods

File:
1 edited

Legend:

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

    r4295 r4296  
    8383    protected method MouseScroll { direction }
    8484    protected method Pan {option x y}
    85     protected method Pick {x y}
    8685    protected method Rebuild {}
    8786    protected method ReceiveDataset { args }
     
    799798            puts stderr "Coords: $x $y $z"
    800799        }
    801         "scalar" {
    802             set option [lindex $args 1]
    803             switch -- $option {
    804                 "world" {
    805                     foreach { x y z value tag } [lrange $args 2 end] break
    806                 }
    807                 "pixel" {
    808                     foreach { x y value tag } [lrange $args 2 end] break
    809                 }
    810             }
    811         }
    812         "vector" {
    813             set option [lindex $args 1]
    814             switch -- $option {
    815                 "world" {
    816                     foreach { x y z vx vy vz tag } [lrange $args 2 end] break
    817                 }
    818                 "pixel" {
    819                     foreach { x y vx vy vz tag } [lrange $args 2 end] break
    820                 }
    821             }
    822         }
    823800        "names" {
    824801            foreach { name } [lindex $args 1] {
    825                 #puts stderr "Dataset: $name"
     802                #puts stderr "layer: $name"
    826803            }
    827804        }
     
    12011178}
    12021179
    1203 itcl::body Rappture::MapViewer::Pick {x y} {
    1204     foreach tag [CurrentDatasets -visible] {
    1205         SendCmd "dataset getscalar pixel $x $y $tag"
    1206     }
    1207 }
    1208 
    12091180# ----------------------------------------------------------------------
    12101181# USAGE: $this Pan click x y
     
    16591630        "polygon" {
    16601631            array set settings {
    1661                 -color black
     1632                -color white
    16621633                -minbias 1000
    16631634                -opacity 1.0
Note: See TracChangeset for help on using the changeset viewer.