Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
mitkNodePredicateBase.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 MITKNODEPREDICATEBASE_H_HEADER_INCLUDED_
18
#define MITKNODEPREDICATEBASE_H_HEADER_INCLUDED_
19
20
#include "itkObject.h"
21
#include <
MitkCoreExports.h
>
22
#include <
mitkCommon.h
>
23
24
namespace
mitk
25
{
26
class
DataNode;
27
//##Documentation
28
//## @brief Interface for evaluation conditions used in the DataStorage class GetSubset() method
29
//##
30
//## Classes that inherit this interface can be used as predicates in the GetSubset() method
31
//## of mitk::DataStorage. By combining different predicate objects, the user can form complex
32
//## queries like "give me all nodes that either contain a surface object or a binary segmentation
33
//## and that are tagged as Organtype == 'Liver'".
34
//## @warning NodePredicates are now derived from itk::Object and make thus use of the smart pointer concept.
35
//## As a result predicates should only store raw pointers because for one thing they are not owners
36
//## of these objects and should not keep them alive.
37
//##
38
//## @ingroup DataStorage
39
class
MITKCORE_EXPORT
NodePredicateBase
:
public
itk::Object
40
{
41
public
:
42
mitkClassMacroItkParent
(
NodePredicateBase
, itk::Object);
43
44
//##Documentation
45
//## @brief Standard Destructor
46
virtual
~
NodePredicateBase
();
47
48
//##Documentation
49
//## @brief This method will be used to evaluate the node. Has to be overwritten in subclasses
50
virtual
bool
CheckNode(
const
mitk::DataNode
*node)
const
= 0;
51
};
52
53
}
// namespace mitk
54
55
#endif
/* MITKNODEPREDICATEBASE_H_HEADER_INCLUDED_ */
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
MitkCoreExports.h
mitkCommon.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition:
mitkCommon.h:53
mitk::NodePredicateBase
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Definition:
mitkNodePredicateBase.h:39
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:66
git
MITK
Modules
Core
include
mitkNodePredicateBase.h
Generated on Fri Feb 3 2017 20:52:04 for Medical Imaging Interaction Toolkit by
1.8.9.1