11 #ifndef CXTRANSFORM3DWIDGET_H_ 12 #define CXTRANSFORM3DWIDGET_H_ 14 #include "cxResourceWidgetsExport.h" 47 void setEditable(
bool edit);
53 virtual void prePaintEvent();
56 void toggleEditSlot();
57 void textEditChangedSlot();
58 void toggleInvertSlot();
64 void addAngleControls(QString uid, QString name,
int index, QVBoxLayout* layout);
65 void addTranslationControls(QString uid, QString name,
int index, QVBoxLayout* layout);
66 void rotateSlot(QPointF delta,
int index);
67 void translateSlot(QPointF delta,
int index);
68 void updateAdapter(DoublePropertyPtr adapter,
double value);
69 void setActionText(QAction* action, QString text, QString tip);
71 void updateInvertAction();
75 boost::array<DoublePropertyPtr, 3> mAngleAdapter;
76 boost::array<DoublePropertyPtr, 3> mTranslationAdapter;
80 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.