Medical Imaging Interaction Toolkit  2018.4.99-1640525a
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 (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 IMAGETIMESELECTOR_H_HEADER_INCLUDED_C1E4861D
14 #define IMAGETIMESELECTOR_H_HEADER_INCLUDED_C1E4861D
15 
16 #include "mitkSubImageSelector.h"
17 #include <MitkCoreExports.h>
18 
19 namespace mitk
20 {
21  //##Documentation
22  //## @brief Provides access to a volume at a specific time 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(TimeNr, int);
37  itkSetMacro(TimeNr, int);
38 
39  itkGetConstMacro(ChannelNr, int);
40  itkSetMacro(ChannelNr, int);
41 
42  protected:
44 
45  ~ImageTimeSelector() override;
46 
47  void GenerateOutputInformation() override;
48 
49  void GenerateInputRequestedRegion() override;
50 
51  void GenerateData() override;
52 
53  int m_TimeNr;
54 
56  };
57 
58 } // namespace mitk
59 
60 #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:40
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.