BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
RealSpacePanel.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/SampleDesigner/RealSpacePanel.h
6 //! @brief Defines class RealSpacePanel
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2021
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_REALSPACEPANEL_H
16 #define BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_REALSPACEPANEL_H
17 
18 #include <QWidget>
19 
20 class RealSpaceCanvas;
21 
22 //! Panel to show 3D view of sample. Contains toolbar and RealSpaceCanvas
23 
24 class RealSpacePanel : public QWidget {
25  Q_OBJECT
26 
27 public:
28  RealSpacePanel(QWidget* parent);
29 
30  QSize sizeHint() const override;
32 
33 private:
35 };
36 
37 #endif // BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_REALSPACEPANEL_H
Provides 3D object generation for RealSpace presentation.
Panel to show 3D view of sample. Contains toolbar and RealSpaceCanvas.
RealSpaceCanvas * canvas()
RealSpacePanel(QWidget *parent)
QSize sizeHint() const override
RealSpaceCanvas * m_canvas