Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkImageTimeSelector.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 IMAGETIMESELECTOR_H_HEADER_INCLUDED_C1E4861D
18 #define IMAGETIMESELECTOR_H_HEADER_INCLUDED_C1E4861D
19 
20 #include "mitkSubImageSelector.h"
21 #include <MitkCoreExports.h>
22 
23 namespace mitk
24 {
25  //##Documentation
26  //## @brief Provides access to a volume at a specific time 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(TimeNr, int);
39  itkSetMacro(TimeNr, int);
40 
41  itkGetConstMacro(ChannelNr, int);
42  itkSetMacro(ChannelNr, int);
43 
44  protected:
46 
47  virtual ~ImageTimeSelector();
48 
49  virtual void GenerateOutputInformation() override;
50 
51  virtual void GenerateInputRequestedRegion() override;
52 
53  virtual void GenerateData() override;
54 
55  int m_TimeNr;
56 
57  int m_ChannelNr;
58  };
59 
60 } // namespace mitk
61 
62 #endif /* IMAGETIMESELECTOR_H_HEADER_INCLUDED_C1E4861D */
#define MITKCORE_EXPORT
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
Provides access to a volume at a specific time of the input image.
Base class of all classes providing access to parts of an image.