diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-07-11 16:22:43 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-07-11 16:22:43 (GMT) |
commit | aa55a04e564c14ac4ce941458a5b166ef7722795 (patch) | |
tree | f00e1d10c761de54aafae68e804f0e27a3480589 /ds9 | |
parent | a769d3606fd121d7952d2e97b6929dac9ade6181 (diff) | |
download | blt-aa55a04e564c14ac4ce941458a5b166ef7722795.zip blt-aa55a04e564c14ac4ce941458a5b166ef7722795.tar.gz blt-aa55a04e564c14ac4ce941458a5b166ef7722795.tar.bz2 |
new UPDATE3DCB for markers
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/library/markeranalysisplot3d.tcl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ds9/library/markeranalysisplot3d.tcl b/ds9/library/markeranalysisplot3d.tcl index dce3a09..e5c0dc6 100644 --- a/ds9/library/markeranalysisplot3d.tcl +++ b/ds9/library/markeranalysisplot3d.tcl @@ -223,6 +223,18 @@ proc MarkerAnalysisPlot3dMarker {vvarname} { } # hardcoded marker.C +proc MarkerAnalysisPlot3dSliceCB {frame id} { + global imarker + + set vvarname ${imarker(prefix,plot3d)}${id}${frame} + upvar #0 $vvarname vvar + global $vvarname + + set vvar(slice) [$frame get fits slice 2 $vvar(system)] + MarkerAnalysisPlot3dMarker $vvarname +} + +# hardcoded marker.C proc MarkerAnalysisPlot3dDeleteCB {frame id} { # this routine could be called by the region # after the dialog has been deleted |