BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
RealSpaceView.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Views/RealSpaceWidgets/RealSpaceView.h
6 //! @brief Defines class RealSpaceView
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_REALSPACEWIDGETS_REALSPACEVIEW_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_REALSPACEWIDGETS_REALSPACEVIEW_H
17 
18 #include <QWidget>
19 
20 class RealSpaceModel;
21 
22 namespace RealSpace {
23 class Widget3D;
24 class Camera;
25 } // namespace RealSpace
26 
27 //! Contains 3D view.
28 
29 class RealSpaceView : public QWidget {
30  Q_OBJECT
31 
32 public:
33  RealSpaceView(QWidget* parent = 0);
34 
35  void setModel(RealSpaceModel* model);
36 
37  void defaultView();
38  void sideView();
39  void topView();
40 
42 
43 private:
45 };
46 
47 #endif // BORNAGAIN_GUI_COREGUI_VIEWS_REALSPACEWIDGETS_REALSPACEVIEW_H
Contains 3D view.
Definition: RealSpaceView.h:29
RealSpace::Camera & getCamera()
RealSpaceView(QWidget *parent=0)
void setModel(RealSpaceModel *model)
RealSpace::Widget3D * m_3dview
Definition: RealSpaceView.h:44