![]() |
NDEVR
API Documentation
|
A simple widget that shows a modifiable 4x4 matrix and corresponding widgets for editing a 4x4 matrix. More...
Public Member Functions | |
| MatrixEditor (QWidget *parent=nullptr) | |
| Constructs a MatrixEditor widget. | |
| void | edited () |
| Emitted when the matrix has been modified by the user. | |
| bool | hasParent () |
| Checks whether a parent matrix has been set. | |
| OrientationEditor * | orientationWidget () |
| Returns the orientation editor sub-widget. | |
| void | setEditable (bool editable) |
| Sets whether the matrix fields are editable by the user. | |
| void | setParentMatrix (const Matrix< fltp08, 4, 4 > &matrix) |
| Sets the parent transformation matrix used as a reference frame. | |
| void | updateOrientation () |
| Updates the orientation editor to reflect the current matrix value. | |
Public Attributes | |
| Resource< Matrix< fltp08, 4, 4 > > | matrix |
| The 4x4 transformation matrix resource being edited. | |
A simple widget that shows a modifiable 4x4 matrix and corresponding widgets for editing a 4x4 matrix.
Definition at line 45 of file MatrixEditor.h.
| MatrixEditor::MatrixEditor | ( | QWidget * | parent = nullptr | ) |
Constructs a MatrixEditor widget.
| [in] | parent | The parent widget. |
References MatrixEditor().
Referenced by MatrixEditor().
| bool MatrixEditor::hasParent | ( | ) |
Checks whether a parent matrix has been set.
| OrientationEditor * MatrixEditor::orientationWidget | ( | ) |
Returns the orientation editor sub-widget.
| void MatrixEditor::setEditable | ( | bool | editable | ) |
Sets whether the matrix fields are editable by the user.
| [in] | editable | True to allow editing, false to make read-only. |