NDEVR
API Documentation
VertexOffsetWidget.h
1#pragma once
2#include <NDEVRConfig.h>
3#if NDEVR_VIEWPORT
4#include "ui_VertexOffsetWidgetUI.h"
5namespace Ui
6{
7 class VertexOffsetWidgetUI;
8}
9namespace NDEVR
10{
15 class VertexOffsetWidget : public QWidget
16 {
17 public:
22 VertexOffsetWidget(QWidget* parent = nullptr);
35 void init();
36 protected:
38 Ui::VertexOffsetWidgetUI* ui;
39 };
40}
41#endif
Takes user input in order to modify a model in real-time.
void updateFromManager()
Updates the widget values from the current controller state.
void init()
Initializes the widget UI and connects signals.
VertexOffsetWidget(QWidget *parent=nullptr)
Constructs a vertex offset widget.
ModelEditController * m_controller
The model edit controller providing vertex context.
Ui::VertexOffsetWidgetUI * ui
The auto-generated UI form for vertex offset editing.
void setController(ModelEditController *controller)
Sets the model edit controller that provides vertex editing context.
The primary namespace for the NDEVR SDK.