#include <WdgRadHist.h>
Public Slots | |
void | onRHistIsFilled (ndarray< float, 1 > &, const unsigned &, const unsigned &) |
Public slot for histogram update. | |
Public Member Functions | |
WdgRadHist (QWidget *parent=0) | |
virtual | ~WdgRadHist () |
public slots: void onRHistIsFilled(ndarray<float, 1>&, const unsigned&, const unsigned&);
Constructor creates a widget with default frame of axes. Actual axes scale and histogram show up through the call to slot onRHistIsFilled(...). It is assumed that pixels have square geometry and radial bin size is equal to the pixel side size.
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 60 of file WdgRadHist.h.
PSQt::WdgRadHist::WdgRadHist | ( | QWidget * | parent = 0 |
) |
PSQt::WdgRadHist::~WdgRadHist | ( | ) | [virtual] |
Definition at line 54 of file WdgRadHist.cpp.
void PSQt::WdgRadHist::onRHistIsFilled | ( | ndarray< float, 1 > & | , | |
const unsigned & | , | |||
const unsigned & | ||||
) | [slot] |
Public slot for histogram update.
[in] | - | ndarray<float, 1>& - ndarray with histogram data from zero-radius to maximal for zoomed image |
[in] | - | const unsigned& - low index in the histogram array for zoomed region |
[in] | - | const unsigned& - upper index in the histogram array for zoomed region |
Definition at line 66 of file WdgRadHist.cpp.
References PSQt::hist(), PSQt::INFO, MsgInLog, PSQt::GUAxes::pscene(), and PSQt::GUAxes::setLimits().