34#include <NDEVR/OrientationEditor.h>
35#include <NDEVR/Resource.h>
36#include <NDEVR/Matrix.h>
37namespace Ui {
class MatrixEditorUI; }
94 Ui::MatrixEditorUI* ui;
void OrientationEdited()
Slot called when the orientation editor values change, to sync back to the matrix.
Resource< Matrix< fltp08, 4, 4 > > matrix
The 4x4 transformation matrix resource being edited.
bool hasParent()
Checks whether a parent matrix has been set.
OrientationEditor * orientationWidget()
Returns the orientation editor sub-widget.
void updateOrientation()
Updates the orientation editor to reflect the current matrix value.
void setParentMatrix(const Matrix< fltp08, 4, 4 > &matrix)
Sets the parent transformation matrix used as a reference frame.
void updateMatrix()
Slot that updates the matrix resource from the UI field values.
MatrixEditor(QWidget *parent=nullptr)
Constructs a MatrixEditor widget.
void setEditable(bool editable)
Sets whether the matrix fields are editable by the user.
void edited()
Emitted when the matrix has been modified by the user.
Templated logic for doing matrix multiplication.
A dialog where the user can set a 3D orientation of an object.
A core part of the engine, stores variables that can be listened to with ResourceListener which will ...
The primary namespace for the NDEVR SDK.