Medical Imaging Interaction Toolkit
2023.12.00
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
e
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
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
w
Enumerator
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
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
n
o
p
q
r
s
t
u
v
Functions
_
e
g
h
i
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
Examples
Download
Bug Tracker
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkImageWriteAccessor.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 mitkImageWriteAccessor_h
14
#define mitkImageWriteAccessor_h
15
16
#include "
mitkImage.h
"
17
#include "
mitkImageAccessorBase.h
"
18
19
namespace
mitk
20
{
25
class
MITKCORE_EXPORT
ImageWriteAccessor
:
public
ImageAccessorBase
26
{
27
template
<
class
TPixel,
unsigned
int
VDimension>
28
friend
class
ImagePixelReadAccessor
;
29
30
public
:
31
typedef
Image::Pointer
ImagePointer
;
32
42
ImageWriteAccessor
(
ImagePointer
image,
43
const
ImageDataItem
*iDI =
nullptr
,
44
int
OptionFlags =
ImageAccessorBase::DefaultBehavior
);
45
47
inline
void
*
GetData
() {
return
m_AddressBegin; }
49
~
ImageWriteAccessor
()
override
;
50
51
protected
:
52
const
Image
*GetImage()
const override
;
53
54
private
:
56
void
OrganizeWriteAccess();
57
58
ImageWriteAccessor
&operator=(
const
ImageWriteAccessor
&);
// Not implemented on purpose.
59
ImageWriteAccessor
(
const
ImageWriteAccessor
&);
60
61
ImagePointer m_Image;
62
};
63
}
64
#endif
mitkImageAccessorBase.h
mitkImage.h
mitk::ImageWriteAccessor
ImageWriteAccessor class to get locked write-access for a particular image part.
Definition:
mitkImageWriteAccessor.h:25
mitk::ImageAccessorBase::DefaultBehavior
@ DefaultBehavior
Definition:
mitkImageAccessorBase.h:69
mitk::ImageDataItem
Internal class for managing references on sub-images.
Definition:
mitkImageDataItem.h:43
mitk::ImageAccessorBase
Definition:
mitkImageAccessorBase.h:48
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:69
itk::SmartPointer< Self >
mitk::ImageWriteAccessor::ImagePointer
Image::Pointer ImagePointer
Definition:
mitkImageWriteAccessor.h:31
mitk::ImagePixelReadAccessor
Gives locked and index-based read access for a particular image part. The class provides several set-...
Definition:
mitkImagePixelReadAccessor.h:32
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::ImageWriteAccessor::GetData
void * GetData()
Gives full data access.
Definition:
mitkImageWriteAccessor.h:47
src
MITK
Modules
Core
include
mitkImageWriteAccessor.h
Generated on Thu Nov 30 2023 15:58:53 for Medical Imaging Interaction Toolkit by
1.8.17