NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkDataNodeFilter.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkDataNodeFilter_h
16 #define niftkDataNodeFilter_h
17 
18 #include "niftkCoreExports.h"
19 
20 #include <mitkDataNode.h>
21 
22 namespace niftk
23 {
24 
30 class NIFTKCORE_EXPORT DataNodeFilter : public itk::Object
31 {
32 
33 public:
34 
35  mitkClassMacroItkParent(DataNodeFilter, itk::Object)
36 
37 
38  virtual bool Pass(const mitk::DataNode* node) = 0;
41 
42 protected:
43 
45  virtual ~DataNodeFilter();
46 
47  DataNodeFilter(const DataNodeFilter&); // Purposefully not implemented.
48  DataNodeFilter& operator=(const DataNodeFilter&); // Purposefully not implemented.
49 
50 };
51 
52 }
53 
54 #endif
A class that tests a list of nodes, and returns true for "pass" and false otherwise.
Definition: niftkDataNodeFilter.h:30
Definition: niftkExceptionObject.h:21