Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkLesionData.cpp
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 // semantic relations module
14 #include "mitkLesionData.h"
15 
16 mitk::LesionData::LesionData(const SemanticTypes::Lesion& lesion/* = SemanticTypes::Lesion()*/)
17 {
18  m_Lesion = lesion;
19 }
20 
22 {
23  m_Lesion = lesion;
24 }
25 
26 void mitk::LesionData::SetLesionPresence(const std::vector<bool>& lesionPresence)
27 {
28  m_LesionPresence = lesionPresence;
29 }
30 
31 void mitk::LesionData::SetLesionVolume(const std::vector<double>& lesionVolume)
32 {
33  m_LesionVolume = lesionVolume;
34 }
void SetLesionPresence(const std::vector< bool > &lesionPresence)
void SetLesionVolume(const std::vector< double > &lesionVolume)
void SetLesion(const SemanticTypes::Lesion &lesion)
LesionData(const SemanticTypes::Lesion &lesion=SemanticTypes::Lesion())
sets the data members to their initial values