34#include <NDEVR/Resource.h>
35#include <NDEVR/Matrix.h>
36#include <NDEVR/Pointer.h>
37#include <NDEVR/Unit.h>
41 class OrientationEditorUI;
46 class QTResourceListener;
49 class QCustomLineEdit;
74 QBoxLayout* offsetLayout();
77 void resizeEvent(QResizeEvent *event)
override;
79 virtual QSize minimumSizeHint()
const override;
80 virtual QSize sizeHint()
const override;
81 void updateLayoutSize();
82 void setAutoHideDials(
bool auto_hide_dials);
93 void updatePosition();
94 void updateOrientation();
96 void lockAspectRatio();
99 void updatePositionFromUI();
100 void updateOrientationFromDials();
101 void updateOrientationFromUI();
102 void updateScaleFromUI();
103 void updateScaleFieldsX();
104 void updateScaleFieldsY();
105 void updateScaleFieldsZ();
130 Ui::OrientationEditorUI*
ui;
Definition Matrix.hpp:173
Definition OrientationEditor.h:51
Ui::OrientationEditorUI * ui
Definition OrientationEditor.h:130
Resource< Vector< 3, fltp08 > > min_position
Definition OrientationEditor.h:119
Resource< Vector< 3, bool > > show_position
Definition OrientationEditor.h:107
Resource< Vector< 3, bool > > show_orientation
Definition OrientationEditor.h:109
Resource< Vector< 3, Angle< fltp08 > > > max_orientation
Definition OrientationEditor.h:116
void orientationUpdated()
Resource< Vector< 3, Angle< fltp08 > > > min_orientation
Definition OrientationEditor.h:120
Vector< 3, fltp08 > m_aspect_ratio
Definition OrientationEditor.h:126
Resource< ConstPointer< Unit > > size_unit
Definition OrientationEditor.h:123
Resource< Vector< 3, fltp08 > > min_scale
Definition OrientationEditor.h:121
Resource< Vector< 3, fltp08 > > max_scale
Definition OrientationEditor.h:117
Resource< Vector< 3, fltp08 > > scale
Definition OrientationEditor.h:113
Resource< ConstPointer< Unit > > position_unit
Definition OrientationEditor.h:124
Resource< Vector< 3, fltp08 > > max_position
Definition OrientationEditor.h:115
Resource< Vector< 3, bool > > show_scale
Definition OrientationEditor.h:108
QTResourceListener * m_units_listener
Definition OrientationEditor.h:129
SizeMode
Definition OrientationEditor.h:55
SizeMode m_size_mode
Definition OrientationEditor.h:127
bool m_auto_hide_dials
Definition OrientationEditor.h:128
Resource< Vector< 3, Angle< fltp08 > > > orientation
Definition OrientationEditor.h:112
Resource< Vector< 3, fltp08 > > position
Definition OrientationEditor.h:111
Resource< ConstPointer< Unit > > angle_unit
Definition OrientationEditor.h:122
Definition QCustomDial.h:58
Definition QCustomLineEdit.h:118
Definition TranslatedString.h:9
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
Definition FontEditor.h:6