1 #ifndef CTL_PROJECTIONVIEWER_H 2 #define CTL_PROJECTIONVIEWER_H 9 class ProjectionViewer;
131 QPair<QString, QPair<double, double>> preset2);
141 void keyPressEvent(QKeyEvent *event)
override;
144 Ui::ProjectionViewer *ui;
150 void changeView(
int requestedChange);
151 void updateSliderRange();
152 void updatePixelInfo(
int x,
int y,
float value);
153 void windowingUpdate();
164 #endif // CTL_PROJECTIONVIEWER_H Simple class that holds the layout of a multi module detector.
Definition: modulelayout.h:32
ProjectionViewer(QWidget *parent=nullptr)
Definition: projectionviewer.cpp:16
Chunk2DView * dataView() const
Definition: projectionviewer.cpp:97
void setAutoMouseWindowScaling()
Definition: projectionviewer.cpp:185
void setModuleLayout(const ModuleLayout &layout)
Definition: projectionviewer.cpp:123
The ProjectionData class is the container class used to store all projections from all views.
Definition: projectiondata.h:19
The ProjectionViewer class provides a tool for visualization of ProjectionData.
Definition: projectionviewer.h:115
void showView(int view)
Definition: projectionviewer.cpp:194
void autoResize()
Definition: projectionviewer.cpp:170
void setWindowPresets(QPair< QString, QPair< double, double >> preset1, QPair< QString, QPair< double, double >> preset2)
Definition: projectionviewer.cpp:152
~ProjectionViewer()
Definition: projectionviewer.cpp:59
static void plot(ProjectionData projections, const ModuleLayout &layout={})
Definition: projectionviewer.cpp:75
int currentView() const
Definition: projectionviewer.cpp:161
The Chunk2DView class provides basic visualization of Chunk2D data.
Definition: chunk2dview.h:87
void setData(ProjectionData projections)
Definition: projectionviewer.cpp:106
const ProjectionData & data() const
Definition: projectionviewer.cpp:89