AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
ClipPlaneWidget.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
19#include <agx/EulerAngles.h>
20#include <agx/Quat.h>
21#include <agx/Vec3.h>
22#include <agxQt/export.h>
23
24#include <agx/PushDisableWarnings.h> // Disabling warnings. Include agx/PopDisableWarnings.h below!
25#include <QWidget>
26#include <agxQt/ui_Controller.h>
27#include <agxQt/ui_ClipPlaneWidget.h>
28#include <agx/PopDisableWarnings.h> // End of disabled warnings.
29
30namespace agxQt
31{
32 class ClipPlaneController;
33}
34
35namespace agxQt
36{
40 class AGXQT_EXPORT ClipPlaneWidget : public QWidget
41 {
42 Q_OBJECT
43
44 public:
45 explicit ClipPlaneWidget(QWidget *parent = 0);
46
48
50
52
53 private:
54 void setEnableGUI(bool enable);
55
56 public:
57 signals:
59
60 public slots:
62
63 private slots:
64 void slotCenterEditFinished();
65 void slotRotationEditFinished();
66 void slotEnableChecked();
67 void slotEnableRenderChecked();
68 void slotUpdateGUIFromClipPlane();
69
71 // Variables
73 private:
74 Ui::ClipPlaneWidget* m_ui;
75 agxQt::ClipPlaneController* m_clipPlaneController;
76 };
77}
#define AGXQT_EXPORT
Class that is used to manipulate the clip plane in the scene.
Definition QtOSGUtils.h:84
ClipPlaneWidget for controlling the ClipPlane in qtViewer.
void setClipPlaneController(agxQt::ClipPlaneController *clipPlane)
ClipPlaneWidget(QWidget *parent=0)
Contains classes/utility functions for connecting AGX to QT with OSG.