QXRD
0.11.16
|
#include <qxrdrasterdata.h>
Public Member Functions | |
QxrdRasterData (QcepImageDataBasePtr img=QcepImageDataBasePtr(), int interp=1, QwtInterval range=QwtInterval(0, 40000)) | |
double | value (double x, double y) const |
QwtInterval | range () const |
void | setDisplayedRange (double min, double max) |
double | minValue () |
double | maxValue () |
void | setInterpolate (int interp) |
int | interpolate () |
QwtInterval | percentileRange (double lowpct, double highpct) |
int | width () const |
int | height () const |
const QcepImageDataBasePtr | data () const |
int | interp () const |
QPointF | optimizePeakPosition (QPointF pt) const |
Private Attributes | |
QcepImageDataBasePtr | m_Data |
int | m_NRows |
int | m_NCols |
QwtInterval | m_Range |
int | m_Interpolate |
Definition at line 10 of file qxrdrasterdata.h.
QxrdRasterData::QxrdRasterData | ( | QcepImageDataBasePtr | img = QcepImageDataBasePtr() , |
int | interp = 1 , |
||
QwtInterval | range = QwtInterval(0,40000) |
||
) |
Definition at line 6 of file qxrdrasterdata.cpp.
References DEBUG_IMAGES, g_Application, HEXARG, m_NCols, m_NRows, QcepApplication::printMessage(), and qcepDebug().
|
inline |
int QxrdRasterData::height | ( | ) | const |
Definition at line 116 of file qxrdrasterdata.cpp.
References m_NRows.
Referenced by QxrdImagePlot::onMaskedImageAvailable(), and QxrdImagePlot::onProcessedImageAvailable().
|
inline |
Definition at line 34 of file qxrdrasterdata.h.
References m_Interpolate.
Referenced by setInterpolate().
int QxrdRasterData::interpolate | ( | ) |
double QxrdRasterData::maxValue | ( | ) |
Definition at line 88 of file qxrdrasterdata.cpp.
References m_Data.
Referenced by QxrdImagePlot::recalculateDisplayedRange().
double QxrdRasterData::minValue | ( | ) |
Definition at line 79 of file qxrdrasterdata.cpp.
References m_Data.
Referenced by QxrdImagePlot::recalculateDisplayedRange().
QPointF QxrdRasterData::optimizePeakPosition | ( | QPointF | pt | ) | const |
Definition at line 121 of file qxrdrasterdata.cpp.
References value().
Referenced by QxrdImagePlot::trackerTextF().
QwtInterval QxrdRasterData::percentileRange | ( | double | lowpct, |
double | highpct | ||
) |
Definition at line 97 of file qxrdrasterdata.cpp.
References m_Data.
Referenced by QxrdImagePlot::recalculateDisplayedRange().
QwtInterval QxrdRasterData::range | ( | ) | const |
void QxrdRasterData::setDisplayedRange | ( | double | min, |
double | max | ||
) |
Definition at line 72 of file qxrdrasterdata.cpp.
References m_Range.
Referenced by QxrdImagePlot::recalculateDisplayedRange().
void QxrdRasterData::setInterpolate | ( | int | interp | ) |
Definition at line 26 of file qxrdrasterdata.cpp.
References interp(), and m_Interpolate.
Referenced by QxrdImagePlot::onInterpolateChanged().
double QxrdRasterData::value | ( | double | x, |
double | y | ||
) | const |
Definition at line 38 of file qxrdrasterdata.cpp.
References m_Data, m_Interpolate, m_NCols, and m_NRows.
Referenced by optimizePeakPosition(), and QxrdImagePlot::trackerTextF().
int QxrdRasterData::width | ( | ) | const |
Definition at line 111 of file qxrdrasterdata.cpp.
References m_NCols.
Referenced by QxrdImagePlot::onMaskedImageAvailable(), and QxrdImagePlot::onProcessedImageAvailable().
|
private |
Definition at line 39 of file qxrdrasterdata.h.
Referenced by data(), maxValue(), minValue(), percentileRange(), and value().
|
private |
Definition at line 43 of file qxrdrasterdata.h.
Referenced by interp(), interpolate(), setInterpolate(), and value().
|
private |
Definition at line 41 of file qxrdrasterdata.h.
Referenced by QxrdRasterData(), value(), and width().
|
private |
Definition at line 40 of file qxrdrasterdata.h.
Referenced by height(), QxrdRasterData(), and value().
|
private |
Definition at line 42 of file qxrdrasterdata.h.
Referenced by range(), and setDisplayedRange().