32 #ifndef CXTRANSFORM3DWIDGET_H_ 33 #define CXTRANSFORM3DWIDGET_H_ 35 #include "cxResourceWidgetsExport.h" 68 void setEditable(
bool edit);
74 virtual void prePaintEvent();
77 void toggleEditSlot();
78 void textEditChangedSlot();
79 void toggleInvertSlot();
85 void addAngleControls(QString uid, QString name,
int index, QVBoxLayout* layout);
86 void addTranslationControls(QString uid, QString name,
int index, QVBoxLayout* layout);
87 void rotateSlot(QPointF delta,
int index);
88 void translateSlot(QPointF delta,
int index);
89 void updateAdapter(DoublePropertyPtr adapter,
double value);
90 void setActionText(QAction* action, QString text, QString tip);
92 void updateInvertAction();
96 boost::array<DoublePropertyPtr, 3> mAngleAdapter;
97 boost::array<DoublePropertyPtr, 3> mTranslationAdapter;
100 QAction* mEditAction;
101 QAction* mInvertAction;
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class DoubleProperty > DoublePropertyPtr
Namespace for all CustusX production code.