Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef MITKIMAGEREADACCESSOR_H
18
#define MITKIMAGEREADACCESSOR_H
19
20
#include "
mitkImageAccessorBase.h
"
21
22
namespace
mitk
23
{
24
class
Image
;
25
class
ImageDataItem;
26
31
class
MITKCORE_EXPORT
ImageReadAccessor
:
public
ImageAccessorBase
32
{
33
friend
class
Image
;
34
35
template
<
class
TPixel,
unsigned
int
VDimension>
36
friend
class
ImagePixelReadAccessor
;
37
38
public
:
39
typedef
itk::SmartPointer<Image>
ImagePointer
;
40
50
ImageReadAccessor
(
ImageConstPointer
image,
51
const
ImageDataItem
*iDI =
nullptr
,
52
int
OptionFlags =
ImageAccessorBase::DefaultBehavior
);
53
54
ImageReadAccessor
(ImagePointer image,
55
const
ImageDataItem
*iDI =
nullptr
,
56
int
OptionFlags =
ImageAccessorBase::DefaultBehavior
);
57
58
ImageReadAccessor
(
const
Image
*image,
const
ImageDataItem
*iDI =
nullptr
);
59
61
virtual
~
ImageReadAccessor
();
62
63
protected
:
64
virtual
const
Image
*GetImage()
const override
;
65
66
private
:
68
void
OrganizeReadAccess();
69
70
ImageReadAccessor
&operator=(
const
ImageReadAccessor
&);
// Not implemented on purpose.
71
ImageReadAccessor
(
const
ImageReadAccessor
&);
72
73
ImageConstPointer
m_Image;
74
};
75
}
76
77
#endif // MITKIMAGEACCESSOR_H
mitk::ImagePixelReadAccessor
Gives locked and index-based read access for a particular image part. The class provides several set-...
Definition:
mitkImagePixelReadAccessor.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::ImageAccessorBase
Definition:
mitkImageAccessorBase.h:52
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkImageAccessorBase.h
itk::Image
class ITK_EXPORT Image
Definition:
mitkGeometryClipImageFilter.h:29
mitk::Image
Image class for storing images.
Definition:
mitkImage.h:76
mitk::ImageReadAccessor::ImagePointer
itk::SmartPointer< Image > ImagePointer
Definition:
mitkImageReadAccessor.h:39
mitk::ImageAccessorBase::DefaultBehavior
Definition:
mitkImageAccessorBase.h:73
itk::SmartPointer
Definition:
mitkIFileReader.h:33
mitk::ImageDataItem
Internal class for managing references on sub-images.
Definition:
mitkImageDataItem.h:51
mitk::ImageReadAccessor
ImageReadAccessor class to get locked read access for a particular image part.
Definition:
mitkImageReadAccessor.h:31
git
MITK
Modules
Core
include
mitkImageReadAccessor.h
Generated on Fri Feb 3 2017 20:52:00 for Medical Imaging Interaction Toolkit by
1.8.9.1