39 m_histogram.plotter->setXRange(*points->getIntAtomic(
"spectral_wavelength_min"), *points->getIntAtomic(
"spectral_wavelength_max"));
48 n_spec = spec->numElements();
53 #pragma omp parallel for 59 for (
size_t i = 0; i < n_spec; i++)
61 m_data[channel] += (*spec)[i][channel];
69 QObject::connect(
m_histogram.shouldScale, SIGNAL(stateChanged(
int)),
this, SLOT(
refresh()));
LVRHistogram(QWidget *parent, PointBufferPtr points)
UCharChannel::Optional UCharChannelOptional
std::shared_ptr< PointBuffer > PointBufferPtr
boost::shared_array< float > floatArr