Medical Imaging Interaction Toolkit  2021.02.99-9e0e53e2
Medical Imaging Interaction Toolkit
mitkOclDataSetFilter.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 __mitkOclDataSetFilter_h
14 #define __mitkOclDataSetFilter_h
15 
16 #include "mitkOclFilter.h"
17 #include "mitkOclDataSet.h"
18 
19 #define FILTER_UCHAR 0
20 #define FILTER_SHORT 1
21 
22 namespace mitk
23 {
24 class OclFilter;
25 class OclDataSetFilter;
26 
34 class MITKOPENCL_EXPORT OclDataSetFilter: public OclFilter
35 {
36 public:
41  void SetInput(mitk::OclDataSet::Pointer DataSet);
42 
49  void SetInput(void* DataSet, unsigned int size, unsigned int BpE);
50 
55  void SetInput(mitk::Image::Pointer image);
56 
57 protected:
59 
60  virtual ~OclDataSetFilter();
61 
63  mitk::OclDataSet::Pointer m_Input;
64  unsigned int m_CurrentSize;
65 };
66 }
67 #endif // __mitkOclDataSetFilter_h
DataCollection - Class to facilitate loading/accessing structured data.
mitk::OclDataSet::Pointer m_Input
The OclDataSetFilter is the topmost class for all filter which take DataSets as input.
Superclass for all OpenCL based filter.
Definition: mitkOclFilter.h:33