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
mitkExampleIOMimeTypes.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 mitkExampleIOMimeTypes_h
14
#define mitkExampleIOMimeTypes_h
15
16
#include "
mitkCustomMimeType.h
"
17
18
#include <string>
19
20
namespace
mitk
21
{
22
class
ExampleIOMimeTypes
23
{
24
public
:
25
// Deriving your own MimeType will probably be overkill in most situations.
26
class
ExampleDataStructureMimeType
:
public
CustomMimeType
27
{
28
public
:
29
ExampleDataStructureMimeType
();
30
bool
AppliesTo
(
const
std::string &path)
const override
;
31
ExampleDataStructureMimeType
*
Clone
()
const override
;
32
};
33
34
static
ExampleDataStructureMimeType
EXAMPLE_MIMETYPE
();
35
static
std::string
EXAMPLE_MIMETYPE_NAME
();
36
37
// Simpler method of creating a new MimeType
38
static
CustomMimeType
EXAMPLE_TWO_MIMETYPE
();
39
static
std::string
EXAMPLE_TWO_MIMETYPE_NAME
();
40
41
// Get all example Mime Types
42
static
std::vector<CustomMimeType *>
Get
();
43
44
private
:
45
// purposely not implemented
46
ExampleIOMimeTypes
();
47
ExampleIOMimeTypes
(
const
ExampleIOMimeTypes
&);
48
};
49
}
50
51
#endif
mitk::ExampleIOMimeTypes::ExampleDataStructureMimeType::AppliesTo
bool AppliesTo(const std::string &path) const override
Checks if the MimeType can handle file at the given location.
mitk::ExampleIOMimeTypes::ExampleDataStructureMimeType
Definition:
mitkExampleIOMimeTypes.h:26
mitk::ExampleIOMimeTypes
Definition:
mitkExampleIOMimeTypes.h:22
mitk::CustomMimeType
The CustomMimeType class represents a custom mime-type which may be registered as a service object....
Definition:
mitkCustomMimeType.h:44
mitkCustomMimeType.h
mitk::ExampleIOMimeTypes::EXAMPLE_MIMETYPE_NAME
static std::string EXAMPLE_MIMETYPE_NAME()
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::ExampleIOMimeTypes::ExampleDataStructureMimeType::Clone
ExampleDataStructureMimeType * Clone() const override
mitk::ExampleIOMimeTypes::EXAMPLE_TWO_MIMETYPE
static CustomMimeType EXAMPLE_TWO_MIMETYPE()
mitk::ExampleIOMimeTypes::ExampleDataStructureMimeType::ExampleDataStructureMimeType
ExampleDataStructureMimeType()
mitk::ExampleIOMimeTypes::EXAMPLE_TWO_MIMETYPE_NAME
static std::string EXAMPLE_TWO_MIMETYPE_NAME()
mitk::ExampleIOMimeTypes::Get
static std::vector< CustomMimeType * > Get()
mitk::ExampleIOMimeTypes::EXAMPLE_MIMETYPE
static ExampleDataStructureMimeType EXAMPLE_MIMETYPE()
src
MITK
Examples
FirstSteps
NewModule
autoload
IO
mitkExampleIOMimeTypes.h
Generated on Sat Mar 22 2025 02:15:01 for Medical Imaging Interaction Toolkit by
1.8.17