Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 IMAGECHANNELSELECTOR_H_HEADER_INCLUDED_C1E4F4E7
18 #define IMAGECHANNELSELECTOR_H_HEADER_INCLUDED_C1E4F4E7
19 
20 #include "mitkSubImageSelector.h"
21 #include <MitkCoreExports.h>
22 
23 namespace mitk
24 {
25  //##Documentation
26  //## @brief Provides access to a channel of the input image
27  //##
28  //## If the input is generated by a ProcessObject, only the required data is
29  //## requested.
30  //## @ingroup Process
32  {
33  public:
35 
36  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
37 
38  itkGetConstMacro(ChannelNr, int);
39  itkSetMacro(ChannelNr, int);
40 
41  protected:
43 
44  virtual ~ImageChannelSelector();
45 
46  virtual void GenerateOutputInformation() override;
47 
48  virtual void GenerateInputRequestedRegion() override;
49 
50  virtual void GenerateData() override;
51 
52  int m_ChannelNr;
53  };
54 
55 } // namespace mitk
56 
57 #endif /* IMAGECHANNELSELECTOR_H_HEADER_INCLUDED_C1E4F4E7 */
#define MITKCORE_EXPORT
Provides access to a channel of the input image.
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Base class of all classes providing access to parts of an image.