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
mitkBasicCombinationOpenCVImageFilter.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 mitkBasicCombinationOpenCVImageFilter_h
18 #define mitkBasicCombinationOpenCVImageFilter_h
19 
21 
22 //itk headers
23 #include "itkObjectFactory.h"
24 
25 namespace mitk {
26 class MITKOPENCVVIDEOSUPPORT_EXPORT BasicCombinationOpenCVImageFilter : public AbstractOpenCVImageFilter
27 {
28 public:
30  itkFactorylessNewMacro(Self)
31  itkCloneMacro(Self)
32 
33 
37  bool OnFilterImage( cv::Mat& image ) override;
38 
42  void PushFilter( AbstractOpenCVImageFilter::Pointer filter );
43 
49 
54  bool RemoveFilter( AbstractOpenCVImageFilter::Pointer filter );
55 
60  bool GetIsFilterOnTheList( AbstractOpenCVImageFilter::Pointer filter );
61 
66  bool GetIsEmpty();
67 
68 protected:
72  std::vector<AbstractOpenCVImageFilter::Pointer> m_FilterList;
73 };
74 
75 } // namespace mitk
76 
77 #endif // mitkBasicCombinationOpenCVImageFilter_h
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Interface for image filters on OpenCV images.
std::vector< AbstractOpenCVImageFilter::Pointer > m_FilterList
All filters applied to the given image during call of mitk::mitkBasicCombinationOpenCVImageFilter::Fi...