Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 // MITKLESIONMANAGER_H
MITKSEMANTICRELATIONS_EXPORT SemanticTypes::LesionClass GenerateNewLesionClass(const std::string &lesionClassType="")
Generate a new lesion class with UID and the given string as lesion class type.
MITKSEMANTICRELATIONS_EXPORT void ComputeLesionPresence(LesionData &lesionData, const SemanticTypes::CaseID &caseID)
Compute and store lesion presence for all available control points and information types...
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...
std::vector< SemanticTypes::LesionClass > LesionClassVector
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKSEMANTICRELATIONS_EXPORT
This class holds the data of each lesion in the lesion tree view. The data is the lesion itself with ...
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 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...