![]() |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
#include <Libs/Visualization/VTK/Widgets/ctkVTKAbstractMatrixWidget.h>
Public Types | |
typedef ctkMatrixWidget | Superclass |
Self/Superclass typedef. More... | |
![]() | |
typedef QWidget | Superclass |
Superclass typedef. More... | |
Public Member Functions | |
ctkVTKAbstractMatrixWidget (QWidget *parent) | |
Constructors. More... | |
vtkMatrix4x4 * | matrix () const |
virtual | ~ctkVTKAbstractMatrixWidget () |
![]() | |
int | columnCount () const |
ctkMatrixWidget (int rows, int columns, QWidget *parent=0) | |
Constructor, builds a custom rowsXcolumns matrix. More... | |
ctkMatrixWidget (QWidget *parent=0) | |
Constructor, builds a 4x4 identity matrix. More... | |
int | decimals () const |
ctkDoubleSpinBox::DecimalsOptions | decimalsOption () const |
bool | isEditable () const |
double | maximum () const |
double | minimum () const |
virtual QSize | minimumSizeHint () const |
Reimplemented from QAbstractScrollArea. More... | |
int | rowCount () const |
void | setDecimalsOption (ctkDoubleSpinBox::DecimalsOptions option) |
void | setEditable (bool newEditable) |
void | setMaximum (double newMaximum) |
void | setMinimum (double newMinimum) |
void | setRange (double newMinimum, double newMaximum) |
void | setSingleStep (double step) |
Q_INVOKABLE void | setValue (int i, int j, double value) |
void | setValues (const QVector< double > &vector) |
double | singleStep () const |
virtual QSize | sizeHint () const |
Q_INVOKABLE double | value (int i, int j) const |
QVector< double > | values () const |
virtual | ~ctkMatrixWidget () |
Protected Member Functions | |
virtual void | setColumnCount (int newColumnCount) |
void | setMatrixInternal (vtkMatrix4x4 *matrix) |
virtual void | setRowCount (int newRowCount) |
![]() | |
ctkMatrixWidget (ctkMatrixWidgetPrivate &pvt, QWidget *parent=0) | |
protected constructor to derive private implementations More... | |
virtual void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
QScopedPointer< ctkVTKAbstractMatrixWidgetPrivate > | d_ptr |
Additional Inherited Members | |
![]() | |
void | identity () |
Reset the matrix to identity. More... | |
void | setDecimals (int decimals) |
![]() | |
void | decimalsChanged (int) |
void | matrixChanged () |
![]() | |
int | columnCount |
int | decimals |
ctkDoubleSpinBox::DecimalsOptions | decimalsOption |
bool | editable |
double | maximum |
double | minimum |
int | rowCount |
double | singleStep |
QVector< double > | values |
This base class is primarily used by ctkVTKMatrixWidget but can be the base of other classes (ctkVTKTransformWidget?) that don't want to expose setMatrix() publicly.
Definition at line 37 of file ctkVTKAbstractMatrixWidget.h.
Self/Superclass typedef.
Definition at line 42 of file ctkVTKAbstractMatrixWidget.h.
ctkVTKAbstractMatrixWidget::ctkVTKAbstractMatrixWidget | ( | QWidget * | parent | ) |
Constructors.
|
virtual |
vtkMatrix4x4* ctkVTKAbstractMatrixWidget::matrix | ( | ) | const |
|
protectedvirtual |
Reimplemented from ctkMatrixWidget.
|
protected |
|
protectedvirtual |
Reimplemented from ctkMatrixWidget.
|
protected |
Definition at line 56 of file ctkVTKAbstractMatrixWidget.h.