CustusX  22.04-rc5
An IGT application
cx::Transform3DWidget Class Reference

Widget for displaying and manipulating an affine matrix, i.e. a rotation+translation matrix. More...

#include <cxTransform3DWidget.h>

Inheritance diagram for cx::Transform3DWidget:
cx::BaseWidget cx::OptimizedUpdateWidget

Signals

void changed ()
 

Public Member Functions

 Transform3DWidget (QWidget *parent=NULL)
 
virtual ~Transform3DWidget ()
 
void setMatrix (const Transform3D &M)
 
Transform3D getMatrix () const
 
void setEditable (bool edit)
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Protected Slots

virtual void prePaintEvent ()
 

Additional Inherited Members

- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 

Detailed Description

Widget for displaying and manipulating an affine matrix, i.e. a rotation+translation matrix.

Definition at line 38 of file cxTransform3DWidget.h.

Constructor & Destructor Documentation

cx::Transform3DWidget::Transform3DWidget ( QWidget *  parent = NULL)

Definition at line 68 of file cxTransform3DWidget.cpp.

cx::Transform3DWidget::~Transform3DWidget ( )
virtual

Definition at line 263 of file cxTransform3DWidget.cpp.

Member Function Documentation

void cx::Transform3DWidget::changed ( )
signal
Transform3D cx::Transform3DWidget::getMatrix ( ) const

Definition at line 272 of file cxTransform3DWidget.cpp.

void cx::Transform3DWidget::prePaintEvent ( )
protectedvirtualslot

Definition at line 336 of file cxTransform3DWidget.cpp.

void cx::Transform3DWidget::setEditable ( bool  edit)

Definition at line 195 of file cxTransform3DWidget.cpp.

void cx::Transform3DWidget::setMatrix ( const Transform3D M)

Definition at line 267 of file cxTransform3DWidget.cpp.


The documentation for this class was generated from the following files: