Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkFitParameterModel Class Reference

#include <QmitkFitParameterModel.h>

Inheritance diagram for QmitkFitParameterModel:
Collaboration diagram for QmitkFitParameterModel:

Public Types

using FitVectorType = std::vector< mitk::modelFit::ModelFitInfo::ConstPointer >
 

Public Slots

void setFits (const FitVectorType &fits)
 
void setCurrentPosition (const mitk::Point3D &currentPos)
 
void setPositionBookmarks (const mitk::PointSet *bookmarks)
 

Public Member Functions

 QmitkFitParameterModel (QObject *parent=nullptr)
 
 ~QmitkFitParameterModel () override
 
const FitVectorTypegetFits () const
 
mitk::Point3D getCurrentPosition () const
 
const mitk::PointSetgetPositionBookmarks () 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
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
 

Protected Member Functions

std::size_t getBookmarksCount () const
 

Detailed Description

Model that can be used to display the parameter values of ModelFitInfo instances for different world coordinate positions. If more then one ModelFitInfo instance is given the model will use a tree hierarchy. The first level are the fits, the seconds level are the parameter of the fit.

Definition at line 30 of file QmitkFitParameterModel.h.

Member Typedef Documentation

◆ FitVectorType

using QmitkFitParameterModel::FitVectorType = std::vector<mitk::modelFit::ModelFitInfo::ConstPointer>

Definition at line 35 of file QmitkFitParameterModel.h.

Constructor & Destructor Documentation

◆ QmitkFitParameterModel()

QmitkFitParameterModel::QmitkFitParameterModel ( QObject *  parent = nullptr)

◆ ~QmitkFitParameterModel()

QmitkFitParameterModel::~QmitkFitParameterModel ( )
inlineoverride

Definition at line 38 of file QmitkFitParameterModel.h.

Member Function Documentation

◆ columnCount()

int QmitkFitParameterModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ data()

QVariant QmitkFitParameterModel::data ( const QModelIndex &  index,
int  role 
) const
override

◆ flags()

Qt::ItemFlags QmitkFitParameterModel::flags ( const QModelIndex &  index) const
override

◆ getBookmarksCount()

std::size_t QmitkFitParameterModel::getBookmarksCount ( ) const
protected

◆ getCurrentPosition()

mitk::Point3D QmitkFitParameterModel::getCurrentPosition ( ) const

◆ getFits()

const FitVectorType& QmitkFitParameterModel::getFits ( ) const

◆ getPositionBookmarks()

const mitk::PointSet* QmitkFitParameterModel::getPositionBookmarks ( ) const

◆ headerData()

QVariant QmitkFitParameterModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
override

◆ rowCount()

int QmitkFitParameterModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ setCurrentPosition

void QmitkFitParameterModel::setCurrentPosition ( const mitk::Point3D currentPos)
slot

◆ setData()

bool QmitkFitParameterModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override

◆ setFits

void QmitkFitParameterModel::setFits ( const FitVectorType fits)
slot

◆ setPositionBookmarks

void QmitkFitParameterModel::setPositionBookmarks ( const mitk::PointSet bookmarks)
slot

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