diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-11-08 18:15:40 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-11-08 18:15:40 (GMT) |
commit | 1a34c31b6967703b5377d08de7eab7d787c74fdb (patch) | |
tree | 8ab497e5477df38ae28b7207df143ecabe363a19 /tksao | |
parent | 41e21be743c0cf188927ce0581965783fb1948a1 (diff) | |
download | blt-1a34c31b6967703b5377d08de7eab7d787c74fdb.zip blt-1a34c31b6967703b5377d08de7eab7d787c74fdb.tar.gz blt-1a34c31b6967703b5377d08de7eab7d787c74fdb.tar.bz2 |
REGION: update histogram analysis plot when changing current slice
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/frame/box.C | 3 | ||||
-rw-r--r-- | tksao/frame/circle.C | 3 | ||||
-rw-r--r-- | tksao/frame/ellipse.C | 3 | ||||
-rw-r--r-- | tksao/frame/polygon.C | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/tksao/frame/box.C b/tksao/frame/box.C index 0a9685c..ce760cc 100644 --- a/tksao/frame/box.C +++ b/tksao/frame/box.C @@ -137,6 +137,8 @@ void Box::analysis(AnalysisTask mm, int which) parent->options->cmdName); addCallBack(CallBack::ROTATECB, analysisHistogramCB_[0], parent->options->cmdName); + addCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0], + parent->options->cmdName); addCallBack(CallBack::DELETECB, analysisHistogramCB_[1], parent->options->cmdName); } @@ -144,6 +146,7 @@ void Box::analysis(AnalysisTask mm, int which) deleteCallBack(CallBack::MOVECB, analysisHistogramCB_[0]); deleteCallBack(CallBack::EDITCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::ROTATECB, analysisHistogramCB_[0]); + deleteCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::DELETECB, analysisHistogramCB_[1]); } diff --git a/tksao/frame/circle.C b/tksao/frame/circle.C index 90b8504..b11e2da 100644 --- a/tksao/frame/circle.C +++ b/tksao/frame/circle.C @@ -115,12 +115,15 @@ void Circle::analysis(AnalysisTask mm, int which) parent->options->cmdName); addCallBack(CallBack::EDITCB, analysisHistogramCB_[0], parent->options->cmdName); + addCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0], + parent->options->cmdName); addCallBack(CallBack::DELETECB, analysisHistogramCB_[1], parent->options->cmdName); } if (analysisHistogram_ && !which) { deleteCallBack(CallBack::MOVECB, analysisHistogramCB_[0]); deleteCallBack(CallBack::EDITCB, analysisHistogramCB_[0]); + deleteCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::DELETECB, analysisHistogramCB_[1]); } diff --git a/tksao/frame/ellipse.C b/tksao/frame/ellipse.C index 8912ba8..242a29a 100644 --- a/tksao/frame/ellipse.C +++ b/tksao/frame/ellipse.C @@ -114,6 +114,8 @@ void Ellipse::analysis(AnalysisTask mm, int which) parent->options->cmdName); addCallBack(CallBack::ROTATECB, analysisHistogramCB_[0], parent->options->cmdName); + addCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0], + parent->options->cmdName); addCallBack(CallBack::DELETECB, analysisHistogramCB_[1], parent->options->cmdName); } @@ -121,6 +123,7 @@ void Ellipse::analysis(AnalysisTask mm, int which) deleteCallBack(CallBack::MOVECB, analysisHistogramCB_[0]); deleteCallBack(CallBack::EDITCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::ROTATECB, analysisHistogramCB_[0]); + deleteCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::DELETECB, analysisHistogramCB_[1]); } diff --git a/tksao/frame/polygon.C b/tksao/frame/polygon.C index bcab15b..5e618f2 100644 --- a/tksao/frame/polygon.C +++ b/tksao/frame/polygon.C @@ -254,6 +254,8 @@ void Polygon::analysis(AnalysisTask mm, int which) parent->options->cmdName); addCallBack(CallBack::ROTATECB, analysisHistogramCB_[0], parent->options->cmdName); + addCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0], + parent->options->cmdName); addCallBack(CallBack::DELETECB, analysisHistogramCB_[1], parent->options->cmdName); } @@ -261,6 +263,7 @@ void Polygon::analysis(AnalysisTask mm, int which) deleteCallBack(CallBack::MOVECB, analysisHistogramCB_[0]); deleteCallBack(CallBack::EDITCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::ROTATECB, analysisHistogramCB_[0]); + deleteCallBack(CallBack::UPDATE3DCB, analysisHistogramCB_[0]); deleteCallBack(CallBack::DELETECB, analysisHistogramCB_[1]); } |