Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkNodePredicateNot.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 mitkNodePredicateNot_h
14 #define mitkNodePredicateNot_h
15 
17 
18 namespace mitk
19 {
20  //##Documentation
21  //## @brief Composite predicate that negates its child predicate
22  //## Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds
23  //## only one subpredicate at any time. But logically any Predicate that has one or more subpredicate
24  //## is a CompositePredicate.
25  //##
26  //## @ingroup DataStorage
28  {
29  public:
32 
33  //##Documentation
34  //## @brief Standard Destructor
35  ~NodePredicateNot() override;
36 
37  //##Documentation
38  //## @brief Reimplemented, only one child predicate is allowed for the NOT predicate.
39  void AddPredicate(const mitk::NodePredicateBase *p) override;
40 
41  //##Documentation
42  //## @brief Checks, if the node does not fulfill the child predicate condition
43  bool CheckNode(const mitk::DataNode *node) const override;
44 
45  protected:
46  //##Documentation
47  //## @brief Constructor
49  };
50 
51 } // namespace mitk
52 
53 #endif
mitk::NodePredicateNot
Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodeP...
Definition: mitkNodePredicateNot.h:27
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
mitk::NodePredicateBase
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Definition: mitkNodePredicateBase.h:35
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::NodePredicateCompositeBase
Base class for all predicates that can have child predicates (e.g. AND/OR)
Definition: mitkNodePredicateCompositeBase.h:28
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkNodePredicateCompositeBase.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63