Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkModelFitResultRelationRule.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 mitkModelFitResultRelationRule_h
14 #define mitkModelFitResultRelationRule_h
15 
17 
18 #include "MitkModelFitExports.h"
19 
20 namespace mitk
21 {
44  {
45  public:
47  itkNewMacro(Self);
48 
49  using RuleIDType = Superclass::RuleIDType;
50  using RelationUIDType = Superclass::RelationUIDType;
51  using RelationUIDVectorType = Superclass::RelationUIDVectorType;
52 
53  bool IsDestinationCandidate(const IPropertyProvider *owner) const override;
54 
55  protected:
57  ~ModelFitResultRelationRule() override = default;
58 
61 
62  using DataRelationUIDVectorType = Superclass::DataRelationUIDVectorType;
63  virtual DataRelationUIDVectorType GetRelationUIDs_DataLayer(const IPropertyProvider* source,
64  const IPropertyProvider* destination, const InstanceIDVectorType& instances_IDLayer) const override;
65 
66  void Disconnect_datalayer(IPropertyOwner *source, const RelationUIDType& relationUID) const override;
67 
68  itk::LightObject::Pointer InternalClone() const override;
69  };
70 
71 } // namespace mitk
72 
73 #endif
mitk::SourceImageRelationRule::InstanceIDVectorType
PropertyRelationRuleBase::InstanceIDVectorType InstanceIDVectorType
Definition: mitkSourceImageRelationRule.h:90
mitk::PropertyRelationRuleBase::DataRelationUIDVectorType
std::vector< std::pair< RelationUIDType, RuleIDType > > DataRelationUIDVectorType
Definition: mitkPropertyRelationRuleBase.h:286
mitk::PropertyRelationRuleBase::RuleIDType
std::string RuleIDType
Definition: mitkPropertyRelationRuleBase.h:81
MitkModelFitExports.h
mitk::PropertyRelationRuleBase
Definition: mitkPropertyRelationRuleBase.h:74
mitk::SourceImageRelationRule::InstanceIDType
PropertyRelationRuleBase::InstanceIDType InstanceIDType
Definition: mitkSourceImageRelationRule.h:89
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitk::PropertyRelationRuleBase::InstanceIDType
std::string InstanceIDType
Definition: mitkPropertyRelationRuleBase.h:100
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::PropertyRelationRuleBase::InstanceIDVectorType
std::vector< InstanceIDType > InstanceIDVectorType
Definition: mitkPropertyRelationRuleBase.h:270
mitkSourceImageRelationRule.h
mitk::PropertyRelationRuleBase::RelationUIDType
Identifiable::UIDType RelationUIDType
Definition: mitkPropertyRelationRuleBase.h:82
mitk::SourceImageRelationRule
Definition: mitkSourceImageRelationRule.h:44
mitk::PropertyRelationRuleBase::RelationUIDVectorType
std::vector< RelationUIDType > RelationUIDVectorType
Definition: mitkPropertyRelationRuleBase.h:83
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::IPropertyProvider
Definition: mitkIPropertyProvider.h:24
mitk::ModelFitResultRelationRule
Definition: mitkModelFitResultRelationRule.h:43
mitk::IPropertyOwner
Definition: mitkIPropertyOwner.h:22