Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <QmitkImageStatisticsTreeModel.h>
Signals | |
void | dataAvailable () |
void | modelChanged () |
Public Member Functions | |
QmitkImageStatisticsTreeModel (QObject *parent=nullptr) | |
~QmitkImageStatisticsTreeModel () override | |
void | SetImageNodes (const std::vector< mitk::DataNode::ConstPointer > &nodes) |
void | SetMaskNodes (const std::vector< mitk::DataNode::ConstPointer > &nodes) |
void | Clear () |
void | SetIgnoreZeroValueVoxel (bool _arg) |
bool | GetIgnoreZeroValueVoxel () const |
void | SetHistogramNBins (unsigned int nbins) |
unsigned int | GetHistogramNBins () const |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
QVariant | data (const QModelIndex &index, int role) const override |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
int | rowCount (const QModelIndex &parent=QModelIndex()) const override |
int | columnCount (const QModelIndex &parent=QModelIndex()) const override |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const override |
QModelIndex | parent (const QModelIndex &child) const override |
Public Member Functions inherited from QmitkAbstractDataStorageModel | |
~QmitkAbstractDataStorageModel () override | |
void | SetDataStorage (mitk::DataStorage *dataStorage) |
mitk::DataStorage::Pointer | GetDataStorage () const |
void | SetNodePredicate (const mitk::NodePredicateBase *nodePredicate) |
const mitk::NodePredicateBase * | GetNodePredicate () const |
Protected Member Functions | |
void | DataStorageChanged () override |
void | NodePredicateChanged () override |
void | NodeAdded (const mitk::DataNode *node) override |
void | NodeChanged (const mitk::DataNode *node) override |
void | NodeRemoved (const mitk::DataNode *node) override |
Protected Member Functions inherited from QmitkAbstractDataStorageModel | |
QmitkAbstractDataStorageModel (QObject *parent=nullptr) | |
QmitkAbstractDataStorageModel (mitk::DataStorage *dataStorage, QObject *parent=nullptr) | |
Additional Inherited Members | |
Protected Attributes inherited from QmitkAbstractDataStorageModel | |
mitk::WeakPointer< mitk::DataStorage > | m_DataStorage |
mitk::NodePredicateBase::ConstPointer | m_NodePredicate |
The class is used to represent the information of mitk::ImageStatisticsContainer in the set datastorage in the context of the QT view-model-concept. The represented ImageStatisticContainer are specified by setting the image and mask nodes that should be regarded. In addition you may specified the statistic computation property HistogramNBins and IgnoreZeroValueVoxel to select the correct statistics.
Definition at line 34 of file QmitkImageStatisticsTreeModel.h.
QmitkImageStatisticsTreeModel::QmitkImageStatisticsTreeModel | ( | QObject * | parent = nullptr | ) |
|
override |
void QmitkImageStatisticsTreeModel::Clear | ( | ) |
|
override |
|
override |
|
signal |
|
overrideprotectedvirtual |
Implements QmitkAbstractDataStorageModel.
|
override |
unsigned int QmitkImageStatisticsTreeModel::GetHistogramNBins | ( | ) | const |
/brief Get bin size for histogram resolution.
bool QmitkImageStatisticsTreeModel::GetIgnoreZeroValueVoxel | ( | ) | const |
/brief Get status of zero value voxel ignoring.
|
override |
|
override |
|
signal |
Is emitted whenever the model changes are finished (usually a bit later than dataAvailable()).
|
overrideprotectedvirtual |
Implements QmitkAbstractDataStorageModel.
|
overrideprotectedvirtual |
Implements QmitkAbstractDataStorageModel.
|
overrideprotectedvirtual |
Implements QmitkAbstractDataStorageModel.
|
overrideprotectedvirtual |
Implements QmitkAbstractDataStorageModel.
|
override |
|
override |
void QmitkImageStatisticsTreeModel::SetHistogramNBins | ( | unsigned int | nbins | ) |
/brief Set bin size for histogram resolution.
void QmitkImageStatisticsTreeModel::SetIgnoreZeroValueVoxel | ( | bool | _arg | ) |
/brief Set flag to ignore zero valued voxels
void QmitkImageStatisticsTreeModel::SetImageNodes | ( | const std::vector< mitk::DataNode::ConstPointer > & | nodes | ) |
void QmitkImageStatisticsTreeModel::SetMaskNodes | ( | const std::vector< mitk::DataNode::ConstPointer > & | nodes | ) |