VPTissue Reference Manual
|
Qt GUI to enter a transformation of an item. More...
#include <TransformationWidget.h>
Signals | |
void | TransformationChanged () |
Emitted when the transformation is changed by the user. | |
Public Member Functions | |
TransformationWidget (int maxScaleRatio, double maxTranslationX, double maxTranslationY, QWidget *parent=nullptr) | |
Constructor. More... | |
virtual | ~TransformationWidget () |
Destructor. | |
int | GetRotation () |
Gets the rotation of the transformation. More... | |
double | GetScalingX () |
Gets the x scaling of the transformation. More... | |
double | GetScalingY () |
Gets the y scaling of the transformation. More... | |
double | GetTranslationX () |
Gets the x translation of the transformation. More... | |
double | GetTranslationY () |
Gets the y translation of the transformation. More... | |
Qt GUI to enter a transformation of an item.
Definition at line 33 of file TransformationWidget.h.
SimPT_Editor::TransformationWidget::TransformationWidget | ( | int | maxScaleRatio, |
double | maxTranslationX, | ||
double | maxTranslationY, | ||
QWidget * | parent = nullptr |
||
) |
Constructor.
maxScaleRatio | The maximum ratio that can be scaled |
maxTranslationX | The maximum translation in the x direction |
maxTranslationY | The maximum translation in the y direction |
parent | The widget's parent |
Definition at line 58 of file TransformationWidget.cpp.
|
inline |
Gets the rotation of the transformation.
Definition at line 58 of file TransformationWidget.h.
|
inline |
Gets the x scaling of the transformation.
Definition at line 65 of file TransformationWidget.h.
|
inline |
Gets the y scaling of the transformation.
Definition at line 72 of file TransformationWidget.h.
|
inline |
Gets the x translation of the transformation.
Definition at line 79 of file TransformationWidget.h.
|
inline |
Gets the y translation of the transformation.
Definition at line 86 of file TransformationWidget.h.