Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkImageStatisticsTreeItem Class Reference

#include <QmitkImageStatisticsTreeItem.h>

Public Types

using ImageStatisticsObject = mitk::ImageStatisticsContainer::ImageStatisticsObject
 
using StatisticNameVector = mitk::ImageStatisticsContainer::ImageStatisticsObject::StatisticNameVector
 

Public Member Functions

 QmitkImageStatisticsTreeItem ()
 
 QmitkImageStatisticsTreeItem (ImageStatisticsObject statisticsData, StatisticNameVector statisticNames, QVariant label, bool isWIP, QmitkImageStatisticsTreeItem *parentItem=nullptr)
 
 QmitkImageStatisticsTreeItem (StatisticNameVector statisticNames, QVariant label, bool isWIP, QmitkImageStatisticsTreeItem *parentItem=nullptr)
 
 ~QmitkImageStatisticsTreeItem ()
 
void appendChild (QmitkImageStatisticsTreeItem *child)
 
QmitkImageStatisticsTreeItemchild (int row)
 
int childCount () const
 
int columnCount () const
 
QVariant data (int column) const
 
int row () const
 
QmitkImageStatisticsTreeItemparentItem ()
 
bool isWIP () const
 

Detailed Description

An item that represents an entry (usually ImageStatisticsObject) for the QmitkImageStatisticsTreeModel

Definition at line 25 of file QmitkImageStatisticsTreeItem.h.

Member Typedef Documentation

◆ ImageStatisticsObject

◆ StatisticNameVector

Constructor & Destructor Documentation

◆ QmitkImageStatisticsTreeItem() [1/3]

QmitkImageStatisticsTreeItem::QmitkImageStatisticsTreeItem ( )

◆ QmitkImageStatisticsTreeItem() [2/3]

QmitkImageStatisticsTreeItem::QmitkImageStatisticsTreeItem ( ImageStatisticsObject  statisticsData,
StatisticNameVector  statisticNames,
QVariant  label,
bool  isWIP,
QmitkImageStatisticsTreeItem parentItem = nullptr 
)
explicit

◆ QmitkImageStatisticsTreeItem() [3/3]

QmitkImageStatisticsTreeItem::QmitkImageStatisticsTreeItem ( StatisticNameVector  statisticNames,
QVariant  label,
bool  isWIP,
QmitkImageStatisticsTreeItem parentItem = nullptr 
)
explicit

◆ ~QmitkImageStatisticsTreeItem()

QmitkImageStatisticsTreeItem::~QmitkImageStatisticsTreeItem ( )

Member Function Documentation

◆ appendChild()

void QmitkImageStatisticsTreeItem::appendChild ( QmitkImageStatisticsTreeItem child)

◆ child()

QmitkImageStatisticsTreeItem* QmitkImageStatisticsTreeItem::child ( int  row)

◆ childCount()

int QmitkImageStatisticsTreeItem::childCount ( ) const

◆ columnCount()

int QmitkImageStatisticsTreeItem::columnCount ( ) const

◆ data()

QVariant QmitkImageStatisticsTreeItem::data ( int  column) const

◆ isWIP()

bool QmitkImageStatisticsTreeItem::isWIP ( ) const

indicates that the statistic container owned by this instance is only a dummy WIP containter and the calculation of the up-to-date statistic is not yet finished.

◆ parentItem()

QmitkImageStatisticsTreeItem* QmitkImageStatisticsTreeItem::parentItem ( )

◆ row()

int QmitkImageStatisticsTreeItem::row ( ) const

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