Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitk::LesionData Class Reference

This class holds the data of each lesion in the lesion tree view. The data is the lesion itself with its UID, name and lesion class as well as two vectors for. More...

#include <mitkLesionData.h>

Public Member Functions

 LesionData (const SemanticTypes::Lesion &lesion=SemanticTypes::Lesion())
 sets the data members to their initial values More...
 
SemanticTypes::Lesion GetLesion () const
 
SemanticTypes::ID GetLesionUID () const
 
std::string GetLesionName () const
 
const std::vector< bool > & GetLesionPresence () const
 
const std::vector< double > & GetLesionVolume () const
 
void SetLesion (const SemanticTypes::Lesion &lesion)
 
void SetLesionPresence (const std::vector< bool > &lesionPresence)
 
void SetLesionVolume (const std::vector< double > &lesionVolume)
 

Detailed Description

This class holds the data of each lesion in the lesion tree view. The data is the lesion itself with its UID, name and lesion class as well as two vectors for.

  • lesion presence: bool value for each control-point inside the semantic relations storage
  • lesion volume: double value for each control-point - information type pair inside the semantic relations storage

Definition at line 36 of file mitkLesionData.h.

Constructor & Destructor Documentation

◆ LesionData()

mitk::LesionData::LesionData ( const SemanticTypes::Lesion lesion = SemanticTypes::Lesion())

sets the data members to their initial values

Definition at line 16 of file mitkLesionData.cpp.

Member Function Documentation

◆ GetLesion()

SemanticTypes::Lesion mitk::LesionData::GetLesion ( ) const
inline

◆ GetLesionName()

std::string mitk::LesionData::GetLesionName ( ) const
inline

Definition at line 46 of file mitkLesionData.h.

Referenced by QmitkLesionTreeModel::data(), and QmitkStatisticsTreeModel::data().

◆ GetLesionPresence()

const std::vector<bool>& mitk::LesionData::GetLesionPresence ( ) const
inline

Definition at line 48 of file mitkLesionData.h.

Referenced by QmitkLesionTreeModel::data().

◆ GetLesionUID()

SemanticTypes::ID mitk::LesionData::GetLesionUID ( ) const
inline

Definition at line 45 of file mitkLesionData.h.

Referenced by QmitkLesionTreeModel::data(), and QmitkStatisticsTreeModel::data().

◆ GetLesionVolume()

const std::vector<double>& mitk::LesionData::GetLesionVolume ( ) const
inline

Definition at line 49 of file mitkLesionData.h.

Referenced by QmitkStatisticsTreeModel::data().

◆ SetLesion()

void mitk::LesionData::SetLesion ( const SemanticTypes::Lesion lesion)

Definition at line 21 of file mitkLesionData.cpp.

◆ SetLesionPresence()

void mitk::LesionData::SetLesionPresence ( const std::vector< bool > &  lesionPresence)

Definition at line 26 of file mitkLesionData.cpp.

Referenced by mitk::ComputeLesionPresence().

◆ SetLesionVolume()

void mitk::LesionData::SetLesionVolume ( const std::vector< double > &  lesionVolume)

Definition at line 31 of file mitkLesionData.cpp.

Referenced by QmitkStatisticsCalculator::ComputeLesionVolume().


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