Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkFitPlotDataModel Class Reference

#include <QmitkFitPlotDataModel.h>

Inheritance diagram for QmitkFitPlotDataModel:
Collaboration diagram for QmitkFitPlotDataModel:

Public Types

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

Public Slots

void SetPlotData (const mitk::ModelFitPlotData *data)
 
void SetXName (const std::string &xName)
 

Public Member Functions

 QmitkFitPlotDataModel (QObject *parent=nullptr)
 
 ~QmitkFitPlotDataModel () override
 
const mitk::ModelFitPlotDataGetPlotData () const
 
const std::string & GetXName () 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::pair< std::string, const mitk::PlotDataCurve * > GetCurveByColumn (int col) const
 
std::pair< bool, mitk::ModelFitPlotData::PositionalCollectionMap::value_type > GetPositionalCurvePoint (const mitk::PlotDataCurve *) const
 

Detailed Description

Model that can be used to display the values of an ModelFitPlotData instance.

Definition at line 25 of file QmitkFitPlotDataModel.h.

Member Typedef Documentation

◆ FitVectorType

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

Definition at line 30 of file QmitkFitPlotDataModel.h.

Constructor & Destructor Documentation

◆ QmitkFitPlotDataModel()

QmitkFitPlotDataModel::QmitkFitPlotDataModel ( QObject *  parent = nullptr)

◆ ~QmitkFitPlotDataModel()

QmitkFitPlotDataModel::~QmitkFitPlotDataModel ( )
inlineoverride

Definition at line 33 of file QmitkFitPlotDataModel.h.

Member Function Documentation

◆ columnCount()

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

◆ data()

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

◆ flags()

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

◆ GetCurveByColumn()

std::pair<std::string, const mitk::PlotDataCurve*> QmitkFitPlotDataModel::GetCurveByColumn ( int  col) const
protected

◆ GetPlotData()

const mitk::ModelFitPlotData* QmitkFitPlotDataModel::GetPlotData ( ) const

◆ GetPositionalCurvePoint()

std::pair<bool, mitk::ModelFitPlotData::PositionalCollectionMap::value_type> QmitkFitPlotDataModel::GetPositionalCurvePoint ( const mitk::PlotDataCurve ) const
protected

◆ GetXName()

const std::string& QmitkFitPlotDataModel::GetXName ( ) const

◆ headerData()

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

◆ rowCount()

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

◆ setData()

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

◆ SetPlotData

void QmitkFitPlotDataModel::SetPlotData ( const mitk::ModelFitPlotData data)
slot

◆ SetXName

void QmitkFitPlotDataModel::SetXName ( const std::string &  xName)
slot

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