14#include <QtDataVisualization/qbar3dseries.h>
15#include <QtDataVisualization/qbardataproxy.h>
16#include <QtDataVisualization/q3dbars.h>
17#include <QtDataVisualization/QCustom3DLabel>
30#include <QRadioButton>
36#include <QtDataVisualization/QValue3DAxis>
37#include <QtDataVisualization/Q3DTheme>
38#include <QtDataVisualization/qabstract3dseries.h>
41#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
42using namespace QtDataVisualization;
45class StarProfileViewer :
public QDialog
52 void setBlackToYellowGradient();
53 void setGreenToRedGradient();
56 template <
typename T>
void loadDataPrivate();
57 float getImageDataValue(
int x,
int y);
59 void updateVerticalAxis();
60 void updateHFRandPeakSelection();
61 void updateDisplayData();
63 void enableTrackingBox(
bool enable);
64 void changeSelection();
65 void updateSelectorBars(
QPoint position);
66 void toggleCutoffEnabled(
bool enable);
69 void changeSelectionType(
int type);
70 void zoomViewTo(
int where);
71 void updateSampleSize(
const QString &text);
72 void updateColor(
int selection);
73 void updateBarSpacing(
int value);
76 void sampleSizeUpdated(
int size);
78 Q3DBars *m_graph {
nullptr };
79 QValue3DAxis *m_pixelValueAxis {
nullptr };
80 QCategory3DAxis *m_xPixelAxis {
nullptr };
81 QCategory3DAxis *m_yPixelAxis {
nullptr };
82 QBar3DSeries *m_3DPixelSeries {
nullptr };
84 QBarDataArray *dataSet {
nullptr };
87 float getImageDataValue(
int x,
int y);
88 void getSubFrameMinMax(
float *subFrameMin,
float *subFrameMax,
double *dataMin,
double *dataMax);
91 void getSubFrameMinMax(
float *subFrameMin,
float *subFrameMax);
94 QLabel *reportBox {
nullptr };
104 QLabel *pixelReport {
nullptr };
105 QLabel *maxValue {
nullptr };
106 QLabel *minValue {
nullptr };
107 QLabel *cutoffValue {
nullptr };
112 QSlider *blackPointSlider {
nullptr };
113 QSlider *whitePointSlider {
nullptr };
114 QSlider *cutoffSlider {
nullptr };
115 QSlider *verticalSelector {
nullptr };
116 QSlider *horizontalSelector {
nullptr };
119 bool cutOffEnabled {
false };
121 int convertToSliderValue(
float value);
122 float convertFromSliderValue(
int value);
123 void updatePixelReport();
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:47:11 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.