Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
mitkSemanticRelationsDataStorageAccess.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 mitkSemanticRelationsDataStorageAccess_h
14
#define mitkSemanticRelationsDataStorageAccess_h
15
16
#include <
MitkSemanticRelationsExports.h
>
17
18
// semantic relations module
19
#include "
mitkSemanticTypes.h
"
20
21
// mitk core
22
#include <
mitkDataStorage.h
>
23
#include <
mitkWeakPointer.h
>
24
25
namespace
mitk
26
{
39
class
MITKSEMANTICRELATIONS_EXPORT
SemanticRelationsDataStorageAccess
40
{
41
public
:
42
43
using
DataNodeVector
= std::vector<DataNode::Pointer>;
44
45
SemanticRelationsDataStorageAccess
(
DataStorage
* dataStorage);
46
47
/************************************************************************/
48
/* functions to get instances / attributes */
49
/************************************************************************/
62
DataNodeVector
GetAllSegmentationsOfCase(
const
SemanticTypes::CaseID
& caseID)
const
;
77
DataNodeVector
GetAllSegmentationsOfLesion(
const
SemanticTypes::CaseID
& caseID,
const
SemanticTypes::Lesion
& lesion)
const
;
88
DataNodeVector
GetAllImagesOfCase(
const
SemanticTypes::CaseID
& caseID)
const
;
99
DataNodeVector
GetAllImagesByID(
const
SemanticTypes::IDVector
& imageIDs)
const
;
112
DataNodeVector
GetAllImagesOfLesion(
const
SemanticTypes::CaseID
& caseID,
const
SemanticTypes::Lesion
& lesion)
const
;
127
DataNodeVector
GetAllSpecificImages(
const
SemanticTypes::CaseID
& caseID,
const
SemanticTypes::ControlPoint
& controlPoint,
const
SemanticTypes::InformationType
& informationType)
const
;
139
DataNodeVector
GetAllSpecificImages(
const
SemanticTypes::CaseID
& caseID,
const
SemanticTypes::InformationType
& informationType,
const
SemanticTypes::ExaminationPeriod
& examinationPeriod)
const
;
155
DataNodeVector
GetAllSpecificSegmentations(
const
SemanticTypes::CaseID
& caseID,
const
SemanticTypes::ControlPoint
& controlPoint,
const
SemanticTypes::InformationType
& informationType)
const
;
174
DataNode::Pointer
GetSpecificSegmentation(
const
SemanticTypes::CaseID
& caseID,
const
SemanticTypes::ControlPoint
& controlPoint,
175
const
SemanticTypes::InformationType
& informationType,
const
SemanticTypes::Lesion
& lesion)
const
;
176
177
private
:
178
179
WeakPointer<DataStorage>
m_DataStorage;
180
181
};
182
}
// namespace mitk
183
184
#endif
mitk::SemanticRelationsDataStorageAccess
The API provides functions to query and manipulate image relations and instances, that are helpful du...
Definition:
mitkSemanticRelationsDataStorageAccess.h:39
MitkSemanticRelationsExports.h
mitkDataStorage.h
mitkSemanticTypes.h
itk::SmartPointer< Self >
mitk::SemanticTypes::IDVector
std::vector< ID > IDVector
Definition:
mitkSemanticTypes.h:115
MITKSEMANTICRELATIONS_EXPORT
#define MITKSEMANTICRELATIONS_EXPORT
Definition:
MitkSemanticRelationsExports.h:15
mitk::SemanticTypes::ControlPoint
Definition:
mitkSemanticTypes.h:40
mitk::SemanticTypes::Lesion
Definition:
mitkSemanticTypes.h:108
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::SemanticTypes::CaseID
std::string CaseID
Definition:
mitkSemanticTypes.h:34
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition:
mitkDataStorage.h:43
mitkWeakPointer.h
mitk::SemanticRelationsDataStorageAccess::DataNodeVector
std::vector< DataNode::Pointer > DataNodeVector
Definition:
mitkSemanticRelationsDataStorageAccess.h:43
mitk::WeakPointer
Definition:
mitkWeakPointer.h:22
mitk::SemanticTypes::ExaminationPeriod
The concept of an examination period. An examination period holds a vector of control point UIDs....
Definition:
mitkSemanticTypes.h:89
mitk::SemanticTypes::InformationType
std::string InformationType
Definition:
mitkSemanticTypes.h:35
src
MITK
Modules
SemanticRelations
include
mitkSemanticRelationsDataStorageAccess.h
Generated on Thu Nov 30 2023 15:58:55 for Medical Imaging Interaction Toolkit by
1.8.17