summaryrefslogtreecommitdiffstats
path: root/ds9/library
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-07-11 16:22:43 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-07-11 16:22:43 (GMT)
commitaa55a04e564c14ac4ce941458a5b166ef7722795 (patch)
treef00e1d10c761de54aafae68e804f0e27a3480589 /ds9/library
parenta769d3606fd121d7952d2e97b6929dac9ade6181 (diff)
downloadblt-aa55a04e564c14ac4ce941458a5b166ef7722795.zip
blt-aa55a04e564c14ac4ce941458a5b166ef7722795.tar.gz
blt-aa55a04e564c14ac4ce941458a5b166ef7722795.tar.bz2
new UPDATE3DCB for markers
Diffstat (limited to 'ds9/library')
-rw-r--r--ds9/library/markeranalysisplot3d.tcl12
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