Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
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 ( )

Definition at line 32 of file QmitkImageStatisticsTreeItem.cpp.

◆ QmitkImageStatisticsTreeItem() [2/3]

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

Definition at line 15 of file QmitkImageStatisticsTreeItem.cpp.

◆ QmitkImageStatisticsTreeItem() [3/3]

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

Definition at line 24 of file QmitkImageStatisticsTreeItem.cpp.

◆ ~QmitkImageStatisticsTreeItem()

QmitkImageStatisticsTreeItem::~QmitkImageStatisticsTreeItem ( )

Definition at line 34 of file QmitkImageStatisticsTreeItem.cpp.

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

Definition at line 54 of file QmitkImageStatisticsTreeItem.cpp.

◆ 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.

Definition at line 129 of file QmitkImageStatisticsTreeItem.cpp.

Referenced by QmitkImageStatisticsTreeModel::data().

◆ parentItem()

QmitkImageStatisticsTreeItem * QmitkImageStatisticsTreeItem::parentItem ( )

◆ row()

int QmitkImageStatisticsTreeItem::row ( ) const

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