mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 121 forks source link

SliceViewer: overlay a peaks workspace #6013

Closed mantid-builder closed 9 years ago

mantid-builder commented 12 years ago

Original Reporter: @jzikovsky

This ticket is blocks : TRAC6247, TRAC6248, TRAC6249, TRAC6250

Drag/drop (or something else) to add a PeaksWorkspace to a MDWorkspace being viewed.

Some code will have to choose the right dimensions to pick for the peaks, to match the MDWorkspace being viewed (HKL vs Qlab vs QSample)... Right now, I would use the names of the dimensions as a guide.

I think it would be nice to show peaks as circles that come in and out of view as you scroll around. The circles could have different opacity based on whether they are in front of or behind the screen. I'm not sure how to handle the drawing, on top of the QwtPlotSpectrogram. Presumably something like the LineOverlay, with a mostly-transparent widget covering the whole space?

I'm sure people will later want to add things like labels (HKL) and the ability to click on it to get more information.

mantid-builder commented 9 years ago

This issue was originally trac ticket 5167

mantid-builder commented 9 years ago

http://trac.mantidproject.org/mantid/raw-attachment/ticket/5167/PeakOverlays.png PeakOverlays.png (uploaded by @OwenArnold on 2012-11-29T10:38:42)