12345678910111213141516171819202122232425262728293031323334353637 |
- #pragma once
- // Include modules
- #include "enums.hpp"
- // Include dependencies
- #include <QWidget>
- #include <osg/Vec3>
- QT_BEGIN_NAMESPACE
- namespace Ui { class EditWidget; }
- QT_END_NAMESPACE
- class EditWidget: public QWidget {
- Q_OBJECT
- public:
- EditWidget(QWidget* parent = nullptr);
- ~EditWidget();
- void updatePositions(osg::Vec3 point);
- void updateNormals(osg::Vec3 normal);
- void invalidatePositions();
- ActiveTrackingSystem getSelectedTrackingSystem();
- protected:
- virtual void showEvent(QShowEvent* event);
- private slots:
- void selectTool(Tool tool);
- void updateNormalModifier();
- void resetNormalModifier();
- void updateOptiTrackSettings();
- void resetOptiTrackSettings();
- private:
- Ui::EditWidget* ui;
- };
|