NDEVR
API Documentation
VertexOffsetWidget

A widget allowing the user to offset a vertex. More...

Collaboration diagram for VertexOffsetWidget:
[legend]

Public Member Functions

 VertexOffsetWidget (QWidget *parent=nullptr)
 Constructs a vertex offset widget.
void init ()
 Initializes the widget UI and connects signals.
void setController (ModelEditController *controller)
 Sets the model edit controller that provides vertex editing context.
void updateFromManager ()
 Updates the widget values from the current controller state.

Protected Attributes

ModelEditControllerm_controller
 The model edit controller providing vertex context.
Ui::VertexOffsetWidgetUI * ui
 The auto-generated UI form for vertex offset editing.

Detailed Description

A widget allowing the user to offset a vertex.


Definition at line 15 of file VertexOffsetWidget.h.

Constructor & Destructor Documentation

◆ VertexOffsetWidget()

VertexOffsetWidget::VertexOffsetWidget ( QWidget * parent = nullptr)

Constructs a vertex offset widget.

Parameters
[in]parentThe parent widget.

Member Function Documentation

◆ setController()

void VertexOffsetWidget::setController ( ModelEditController * controller)

Sets the model edit controller that provides vertex editing context.

Parameters
[in]controllerThe model edit controller to use.

The documentation for this class was generated from the following file: