Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
mitkMAPAlgorithmInfoSelection.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 mitkMAPAlgorithmInfoSelection_h
14
#define mitkMAPAlgorithmInfoSelection_h
15
16
#include <
berryIStructuredSelection.h
>
17
18
#include <mapDeploymentDLLInfo.h>
19
20
#include "
org_mitk_matchpoint_core_helper_Export.h
"
21
22
23
namespace
mitk
{
24
30
class
MITK_MATCHPOINT_CORE_HELPER_EXPORT
MAPAlgorithmInfoSelection
:
public
virtual
berry::IStructuredSelection
31
{
32
33
public
:
34
35
berryObjectMacro
(
MAPAlgorithmInfoSelection
);
36
37
typedef ::map::deployment::DLLInfo
AlgorithmInfoType
;
38
typedef
std::vector<AlgorithmInfoType::ConstPointer>
AlgorithmInfoVectorType
;
39
40
MAPAlgorithmInfoSelection
();
41
MAPAlgorithmInfoSelection
(AlgorithmInfoType::ConstPointer info);
42
MAPAlgorithmInfoSelection
(
const
AlgorithmInfoVectorType
& infos);
43
44
Object::Pointer GetFirstElement()
const override
;
45
iterator
Begin()
const override
;
46
iterator
End()
const override
;
47
48
int
Size()
const override
;
49
50
ContainerType::Pointer
ToVector()
const override
;
51
52
AlgorithmInfoVectorType
GetSelectedAlgorithmInfo()
const
;
53
57
bool
IsEmpty()
const override
;
58
59
bool
operator==
(
const
berry::Object
* obj)
const override
;
60
61
protected
:
62
63
ContainerType::Pointer
m_Selection
;
64
};
65
66
}
67
68
69
#endif
berryIStructuredSelection.h
berry::IStructuredSelection
Definition:
berryIStructuredSelection.h:28
mitk::MAPAlgorithmInfoSelection
Used by plugins to communicate selections of deployed algorithms.
Definition:
mitkMAPAlgorithmInfoSelection.h:30
mitk::MAPAlgorithmInfoSelection::AlgorithmInfoVectorType
std::vector< AlgorithmInfoType::ConstPointer > AlgorithmInfoVectorType
Definition:
mitkMAPAlgorithmInfoSelection.h:38
berry::SmartPointer< Self >
org_mitk_matchpoint_core_helper_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::IStructuredSelection::iterator
ContainerType::const_iterator iterator
Definition:
berryIStructuredSelection.h:31
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
MITK_MATCHPOINT_CORE_HELPER_EXPORT
#define MITK_MATCHPOINT_CORE_HELPER_EXPORT
Definition:
org_mitk_matchpoint_core_helper_Export.h:26
mitk::MAPAlgorithmInfoSelection::m_Selection
ContainerType::Pointer m_Selection
Definition:
mitkMAPAlgorithmInfoSelection.h:63
mitk::MAPAlgorithmInfoSelection::AlgorithmInfoType
::map::deployment::DLLInfo AlgorithmInfoType
Definition:
mitkMAPAlgorithmInfoSelection.h:37
src
MITK
Plugins
org.mitk.matchpoint.core.helper
src
mitkMAPAlgorithmInfoSelection.h
Generated on Wed May 17 2023 16:26:08 for Medical Imaging Interaction Toolkit by
1.8.17