Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkImageReadAccessor.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 mitkImageReadAccessor_h
14
#define mitkImageReadAccessor_h
15
16
#include "
mitkImageAccessorBase.h
"
17
18
namespace
mitk
19
{
20
class
Image
;
21
class
ImageDataItem;
22
27
class
MITKCORE_EXPORT
ImageReadAccessor
:
public
ImageAccessorBase
28
{
29
friend
class
Image
;
30
31
template
<
class
TPixel,
unsigned
int
VDimension>
32
friend
class
ImagePixelReadAccessor
;
33
34
public
:
35
typedef
itk::SmartPointer<Image>
ImagePointer
;
36
46
ImageReadAccessor
(
ImageConstPointer
image,
47
const
ImageDataItem
*iDI =
nullptr
,
48
int
OptionFlags =
ImageAccessorBase::DefaultBehavior
);
49
50
ImageReadAccessor
(
ImagePointer
image,
51
const
ImageDataItem
*iDI =
nullptr
,
52
int
OptionFlags =
ImageAccessorBase::DefaultBehavior
);
53
54
ImageReadAccessor
(
const
Image
*image,
const
ImageDataItem
*iDI =
nullptr
);
55
57
~
ImageReadAccessor
()
override
;
58
59
protected
:
60
const
Image
*GetImage()
const override
;
61
62
private
:
64
void
OrganizeReadAccess();
65
66
ImageReadAccessor
&operator=(
const
ImageReadAccessor
&);
// Not implemented on purpose.
67
ImageReadAccessor
(
const
ImageReadAccessor
&);
68
69
ImageConstPointer
m_Image;
70
};
71
}
72
73
#endif
mitk::ImageReadAccessor::ImagePointer
itk::SmartPointer< Image > ImagePointer
Definition:
mitkImageReadAccessor.h:35
mitkImageAccessorBase.h
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
Definition:
mitkIFileReader.h:30
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
mitk::ImageReadAccessor
ImageReadAccessor class to get locked read access for a particular image part.
Definition:
mitkImageReadAccessor.h:27
itk::Image
class ITK_EXPORT Image
Definition:
mitkGeometryClipImageFilter.h:25
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkImageReadAccessor.h
Generated on Mon Dec 23 2024 02:13:19 for Medical Imaging Interaction Toolkit by
1.8.17