Medical Imaging Interaction Toolkit  2025.12.02
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
28  {
29  public:
31 
32  itkFactorylessNewMacro(Self);
33 
34  itkCloneMacro(Self);
35 
36  itkGetConstMacro(ChannelNr, int);
37  itkSetMacro(ChannelNr, int);
38 
39  protected:
41 
43 
44  void GenerateOutputInformation() override;
45 
47 
48  void GenerateData() override;
49 
51  };
52 
53 } // namespace mitk
54 
55 #endif
#define MITKCORE_EXPORT
Provides access to a channel of the input image.
void GenerateOutputInformation() override
void GenerateInputRequestedRegion() override
void GenerateData() override
Base class of all classes providing access to parts of an image.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Find image slices visible on a given plane.