Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
Medical Imaging Interaction Toolkit
mitkNodePredicateGeometry.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 MITKNODEPREDICATEGEOMETRY_H_HEADER_INCLUDED_
14 #define MITKNODEPREDICATEGEOMETRY_H_HEADER_INCLUDED_
15 
16 #include "mitkNodePredicateBase.h"
17 #include "mitkBaseGeometry.h"
18 #include "mitkTimeGeometry.h"
19 
20 namespace mitk
21 {
22  class BaseData;
23 
36  {
37  public:
42 
43  itkSetMacro(CheckPrecision, mitk::ScalarType);
44  itkGetMacro(CheckPrecision, mitk::ScalarType);
45 
46  ~NodePredicateGeometry() override;
47 
48  bool CheckNode(const mitk::DataNode *node) const override;
49 
50  protected:
51 
53  NodePredicateGeometry(const BaseGeometry* refGeometry);
55  NodePredicateGeometry(const BaseGeometry* refGeometry, TimePointType relevantTimePoint);
57  NodePredicateGeometry(const TimeGeometry* refGeometry);
58 
66  };
67 } // namespace mitk
68 
69 #endif /* MITKNodePredicateGeometry_H_HEADER_INCLUDED_ */
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
double ScalarType
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMacro2Param(classname, typea, typeb)
Definition: mitkCommon.h:85
Predicate that evaluates if the given DataNode's data object has the same geometry (in terms of spaci...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
BaseGeometry::ConstPointer m_RefGeometry
mitk::ScalarType TimePointType
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
TimeGeometry::ConstPointer m_RefTimeGeometry
BaseGeometry Describes the geometry of a data object.
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64