Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkLesionManager.h
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 #ifndef mitkLesionManager_h
14 #define mitkLesionManager_h
15 
17 
18 // semantic relations module
19 #include "mitkLesionData.h"
20 
21 /*
22 * @brief Provides helper functions that are needed to work with lesions.
23 *
24 * These functions help to generate new lesions, check for existing lesions or provide functionality
25 * to generate new and find existing lesion class types.
26 */
27 namespace mitk
28 {
29  typedef std::vector<SemanticTypes::LesionClass> LesionClassVector;
30 
36  MITKSEMANTICRELATIONS_EXPORT SemanticTypes::Lesion GenerateNewLesion(const std::string& lesionClassType = "");
68 
69 } // namespace mitk
70 
71 #endif
MitkSemanticRelationsExports.h
mitk::GenerateNewLesionClass
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::LesionClass GenerateNewLesionClass(const std::string &lesionClassType="")
Generate a new lesion class with UID and the given string as lesion class type.
mitk::FindExistingLesionClass
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::LesionClass FindExistingLesionClass(const SemanticTypes::CaseID &caseID, const std::string &lesionClassType)
Find and return the whole lesion class including its UID given a specific lesion class type.
MITKSEMANTICRELATIONS_EXPORT
#define MITKSEMANTICRELATIONS_EXPORT
Definition: MitkSemanticRelationsExports.h:15
mitk::SemanticTypes::Lesion
Definition: mitkSemanticTypes.h:108
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::ComputeLesionPresence
MITKSEMANTICRELATIONS_EXPORT void ComputeLesionPresence(LesionData &lesionData, const SemanticTypes::CaseID &caseID)
Compute and store lesion presence for all available control points and information types.
mitk::SemanticTypes::LesionClass
Definition: mitkSemanticTypes.h:99
mitkLesionData.h
mitk::SemanticTypes::ID
std::string ID
Definition: mitkSemanticTypes.h:33
mitk::SemanticTypes::CaseID
std::string CaseID
Definition: mitkSemanticTypes.h:34
mitk::LesionData
This class holds the data of each lesion in the lesion tree view. The data is the lesion itself with ...
Definition: mitkLesionData.h:36
mitk::GenerateNewLesion
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::Lesion GenerateNewLesion(const std::string &lesionClassType="")
Generate a new lesion and lesion class with UIDs and the given string as lesion class type.
mitk::LesionClassVector
std::vector< SemanticTypes::LesionClass > LesionClassVector
Definition: mitkLesionManager.h:29
mitk::GetLesionByUID
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::Lesion GetLesionByUID(const SemanticTypes::CaseID &caseID, const SemanticTypes::ID &lesionUID)
Find and return a whole lesion including its lesion class given a specific lesion UID.