Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkPreferenceListReaderOptionsFunctor.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 mitkPreferenceListReaderOptionsFunctor_h
14
#define mitkPreferenceListReaderOptionsFunctor_h
15
16
#include <
MitkCoreExports.h
>
17
#include <
mitkIOUtil.h
>
18
19
#include <vector>
20
#include <string>
21
22
23
namespace
mitk
24
{
44
struct
MITKCORE_EXPORT
PreferenceListReaderOptionsFunctor
:
public
IOUtil::ReaderOptionsFunctorBase
45
{
46
using
ListType
= std::vector<std::string>;
47
48
bool
operator()(
IOUtil::LoadInfo
&loadInfo)
const override
;
49
50
PreferenceListReaderOptionsFunctor
();
51
PreferenceListReaderOptionsFunctor
(
const
ListType
& preference,
const
ListType
& black);
52
PreferenceListReaderOptionsFunctor
(
const
ListType
& preference,
const
IFileReader::Options
& options);
53
PreferenceListReaderOptionsFunctor
(
const
ListType
& preference,
const
ListType
& black,
const
IFileReader::Options
& options);
54
55
protected
:
56
const
ListType
m_PreferenceList
;
57
const
ListType
m_BlackList
;
58
const
IFileReader::Options
m_Options
;
59
};
60
}
61
62
#endif
mitk::IOUtil::ReaderOptionsFunctorBase
Definition:
mitkIOUtil.h:73
mitk::PreferenceListReaderOptionsFunctor::ListType
std::vector< std::string > ListType
Definition:
mitkPreferenceListReaderOptionsFunctor.h:46
mitk::IFileIO::Options
std::map< std::string, us::Any > Options
Options for reading or writing data.
Definition:
mitkIFileIO.h:69
mitk::PreferenceListReaderOptionsFunctor::m_Options
const IFileReader::Options m_Options
Definition:
mitkPreferenceListReaderOptionsFunctor.h:58
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MitkCoreExports.h
mitk::PreferenceListReaderOptionsFunctor::m_BlackList
const ListType m_BlackList
Definition:
mitkPreferenceListReaderOptionsFunctor.h:57
mitk::PreferenceListReaderOptionsFunctor::m_PreferenceList
const ListType m_PreferenceList
Definition:
mitkPreferenceListReaderOptionsFunctor.h:56
mitk::IOUtil::LoadInfo
Definition:
mitkIOUtil.h:56
mitk::PreferenceListReaderOptionsFunctor
Option callback functor with a preference list/ black list option selection strategy.
Definition:
mitkPreferenceListReaderOptionsFunctor.h:44
mitkIOUtil.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkPreferenceListReaderOptionsFunctor.h
Generated on Mon Jun 17 2024 12:43:28 for Medical Imaging Interaction Toolkit by
1.8.17