Medical Imaging Interaction Toolkit  2024.06.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 (const ImageStatisticsObject &statisticsData, const StatisticNameVector &statisticNames, QVariant itemText, bool isWIP, QmitkImageStatisticsTreeItem *parentItem=nullptr, const mitk::DataNode *imageNode=nullptr, const mitk::DataNode *maskNode=nullptr, const mitk::Label *label=nullptr)
 
 QmitkImageStatisticsTreeItem (const StatisticNameVector &statisticNames, QVariant itemText, bool isWIP, bool isNA, QmitkImageStatisticsTreeItem *parentItem=nullptr, const mitk::DataNode *imageNode=nullptr, const mitk::DataNode *maskNode=nullptr, const mitk::Label *label=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
 
mitk::Label::ConstPointer GetLabelInstance () const
 

Detailed Description

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

Definition at line 28 of file QmitkImageStatisticsTreeItem.h.

Member Typedef Documentation

◆ ImageStatisticsObject

◆ StatisticNameVector

Constructor & Destructor Documentation

◆ QmitkImageStatisticsTreeItem() [1/3]

QmitkImageStatisticsTreeItem::QmitkImageStatisticsTreeItem ( )

◆ QmitkImageStatisticsTreeItem() [2/3]

QmitkImageStatisticsTreeItem::QmitkImageStatisticsTreeItem ( const ImageStatisticsObject statisticsData,
const StatisticNameVector statisticNames,
QVariant  itemText,
bool  isWIP,
QmitkImageStatisticsTreeItem parentItem = nullptr,
const mitk::DataNode imageNode = nullptr,
const mitk::DataNode maskNode = nullptr,
const mitk::Label label = nullptr 
)
explicit

◆ QmitkImageStatisticsTreeItem() [3/3]

QmitkImageStatisticsTreeItem::QmitkImageStatisticsTreeItem ( const StatisticNameVector statisticNames,
QVariant  itemText,
bool  isWIP,
bool  isNA,
QmitkImageStatisticsTreeItem parentItem = nullptr,
const mitk::DataNode imageNode = nullptr,
const mitk::DataNode maskNode = nullptr,
const mitk::Label label = 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

◆ GetLabelInstance()

mitk::Label::ConstPointer QmitkImageStatisticsTreeItem::GetLabelInstance ( ) const

◆ isWIP()

bool QmitkImageStatisticsTreeItem::isWIP ( ) const

indicates that the statistic container owned by this instance is only a dummy WIP container 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: