Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkImageChannelSelector.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 mitkImageChannelSelector_h
14
#define mitkImageChannelSelector_h
15
16
#include "
mitkSubImageSelector.h
"
17
#include <
MitkCoreExports.h
>
18
19
namespace
mitk
20
{
21
//##Documentation
22
//## @brief Provides access to a channel of the input image
23
//##
24
//## If the input is generated by a ProcessObject, only the required data is
25
//## requested.
26
//## @ingroup Process
27
class
MITKCORE_EXPORT
ImageChannelSelector
:
public
SubImageSelector
28
{
29
public
:
30
mitkClassMacro
(
ImageChannelSelector
,
SubImageSelector
);
31
32
itkFactorylessNewMacro(
Self
);
33
34
itkCloneMacro(
Self
);
35
36
itkGetConstMacro(ChannelNr,
int
);
37
itkSetMacro(ChannelNr,
int
);
38
39
protected
:
40
ImageChannelSelector
();
41
42
~
ImageChannelSelector
()
override
;
43
44
void
GenerateOutputInformation()
override
;
45
46
void
GenerateInputRequestedRegion()
override
;
47
48
void
GenerateData()
override
;
49
50
int
m_ChannelNr
;
51
};
52
53
}
// namespace mitk
54
55
#endif
mitk::SubImageSelector
Base class of all classes providing access to parts of an image.
Definition:
mitkSubImageSelector.h:31
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition:
mitkBaseDataSource.h:71
MitkCoreExports.h
mitkSubImageSelector.h
mitk::ImageChannelSelector
Provides access to a channel of the input image.
Definition:
mitkImageChannelSelector.h:27
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::ImageChannelSelector::m_ChannelNr
int m_ChannelNr
Definition:
mitkImageChannelSelector.h:50
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkImageChannelSelector.h
Generated on Mon Jun 17 2024 12:43:26 for Medical Imaging Interaction Toolkit by
1.8.17