Medical Imaging Interaction Toolkit  2026.06.00
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;
64  const IPropertyProvider* destination, const InstanceIDVectorType& instances_IDLayer) const override;
65 
66  void Disconnect_datalayer(IPropertyOwner *source, const RelationUIDType& relationUID) const override;
67 
69 
71  };
72 
73 } // namespace mitk
74 
75 #endif
#define MITKMODELFIT_EXPORT
Interface implemented by classes that provide write/read access to property information.
Interface implemented by classes that provide access to property information.
void Disconnect_datalayer(IPropertyOwner *source, const RelationUIDType &relationUID) const override
virtual DataRelationUIDVectorType GetRelationUIDs_DataLayer(const IPropertyProvider *source, const IPropertyProvider *destination, const InstanceIDVectorType &instances_IDLayer) const override
ModelFitResultRelationRule(const ModelFitResultRelationRule &other)
mitkClassMacro(ModelFitResultRelationRule, SourceImageRelationRule)
bool IsDestinationCandidate(const IPropertyProvider *owner) const override
Check whether the given property provider qualifies as a destination for this rule.
~ModelFitResultRelationRule() override=default
std::vector< RelationUIDType > RelationUIDVectorType
std::vector< std::pair< RelationUIDType, RuleIDType > > DataRelationUIDVectorType
std::vector< InstanceIDType > InstanceIDVectorType
Relation rule for referencing an image as the source of a destination entity.
PropertyRelationRuleBase::InstanceIDType InstanceIDType
PropertyRelationRuleBase::InstanceIDVectorType InstanceIDVectorType
Find image slices visible on a given plane.