40 size_t n = pointBuffer->numPoints();
41 floatArr points = pointBuffer->getPointArray();
43 if (pointId < 0 || pointId >= n)
49 m_pointInfo.infoText->setText(QString(
"Selected: %1, %2, %3")
50 .arg(points[pointId * 3], 10,
'g', 4)
51 .arg(points[pointId * 3 + 1], 10,
'g', 4)
52 .arg(points[pointId * 3 + 2], 10,
'g', 4));
55 size_t n_spec = spec_channels->numElements();
58 if (pointId >= n_spec)
68 m_data[i] = (*spec_channels)[pointId][i];
74 QObject::connect(
m_pointInfo.shouldScale, SIGNAL(stateChanged(
int)),
this, SLOT(
refresh()));