Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
|
#include <mitkQMAPAlgorithmModel.h>
Public Member Functions | |
QMAPAlgorithmModel (QObject *parent=nullptr) | |
virtual | ~QMAPAlgorithmModel () |
void | SetAlgorithm (map::algorithm::RegistrationAlgorithmBase *pAlgorithm) |
void | SetAlgorithm (map::algorithm::facet::MetaPropertyAlgorithmInterface *pMetaInterface) |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
Helper class that implements a model to handle the MetaProperty interface of a MatchPoint algorithm in context of the QT view-model-concept. A algorithm can be set as data source for the model. The model retrieves all information through the MetaPropertyInterface. Changes in the view will be propagated by the model into the algorithm.
Definition at line 38 of file mitkQMAPAlgorithmModel.h.
mitk::QMAPAlgorithmModel::QMAPAlgorithmModel | ( | QObject * | parent = nullptr | ) |
|
inlinevirtual |
Definition at line 44 of file mitkQMAPAlgorithmModel.h.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void mitk::QMAPAlgorithmModel::SetAlgorithm | ( | map::algorithm::facet::MetaPropertyAlgorithmInterface * | pMetaInterface | ) |
void mitk::QMAPAlgorithmModel::SetAlgorithm | ( | map::algorithm::RegistrationAlgorithmBase * | pAlgorithm | ) |
|
virtual |