Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkStandardFileLocations.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 mitkStandardFileLocations_h
14
#define mitkStandardFileLocations_h
15
16
#include <string>
17
18
#include <
MitkCoreExports.h
>
19
#include <itkObject.h>
20
#include <itkObjectFactory.h>
21
22
namespace
mitk
23
{
29
class
MITKCORE_EXPORT
StandardFileLocations
:
public
itk::Object
30
{
31
public
:
32
typedef
StandardFileLocations
Self
;
33
typedef
itk::Command
Superclass
;
34
typedef
itk::SmartPointer<Self>
Pointer
;
35
43
void
AddDirectoryForSearch(
const
char
*dir,
bool
insertInFrontOfSearchList =
true
);
44
50
void
RemoveDirectoryForSearch(
const
char
*dir);
51
76
std::string FindFile(
const
char
*filename,
const
char
*pathInSourceDir =
nullptr
);
77
89
std::string GetOptionDirectory();
90
91
static
StandardFileLocations
*GetInstance();
92
93
protected
:
94
itkFactorylessNewMacro(
Self
);
95
itkCloneMacro(
Self
);
96
97
typedef
std::vector<std::string>
FileSearchVectorType
;
98
FileSearchVectorType
m_SearchDirectories
;
99
100
StandardFileLocations
();
101
~
StandardFileLocations
()
override
;
102
103
std::string SearchDirectoriesForFile(
const
char
*filename);
104
105
private
:
106
// Private Copy Constructor
107
StandardFileLocations
(
const
StandardFileLocations
&);
108
};
109
110
}
// namespace
111
112
#endif
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::StandardFileLocations::m_SearchDirectories
FileSearchVectorType m_SearchDirectories
Definition:
mitkStandardFileLocations.h:98
mitk::StandardFileLocations::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkStandardFileLocations.h:34
MitkCoreExports.h
mitk::StandardFileLocations::Superclass
itk::Command Superclass
Definition:
mitkStandardFileLocations.h:33
mitk::StandardFileLocations
Provides a method to look for configuration and option files etc.
Definition:
mitkStandardFileLocations.h:29
mitk::StandardFileLocations::FileSearchVectorType
std::vector< std::string > FileSearchVectorType
Definition:
mitkStandardFileLocations.h:95
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::StandardFileLocations::Self
StandardFileLocations Self
Definition:
mitkStandardFileLocations.h:32
src
MITK
Modules
Core
include
mitkStandardFileLocations.h
Generated on Sat Mar 15 2025 02:13:19 for Medical Imaging Interaction Toolkit by
1.8.17