13 #ifndef mitkSourceImageRelationRule_h
14 #define mitkSourceImageRelationRule_h
84 const std::string &displayName,
85 const std::string &sourceRole,
86 const std::string &destinationRole);
122 std::string m_DisplayName;
123 std::string m_SourceRole;
124 std::string m_DestinationRole;
Image class for storing images.
std::size_t ItemSelectionIndex
Identifiable::UIDType RelationUIDType
std::vector< RelationUIDType > RelationUIDVectorType
std::vector< std::pair< RelationUIDType, RuleIDType > > DataRelationUIDVectorType
std::vector< InstanceIDType > InstanceIDVectorType
std::string InstanceIDType
bool IsAbstract() const override
RuleIDType GetRuleID() const override
SourceImageRelationRule()
void Disconnect_datalayer(IPropertyOwner *source, const RelationUIDType &relationUID) const override
std::string GenerateRuleID(const std::string &purpose) const
virtual DataRelationUIDVectorType GetRelationUIDs_DataLayer(const IPropertyProvider *source, const IPropertyProvider *destination, const InstanceIDVectorType &instances_IDLayer) const override
SourceImageRelationRule(const RuleIDType &purposeTag, const std::string &displayName)
RelationUIDType Connect(Image *source, const Image *destination) const
SourceImageRelationRule(const RuleIDType &purposeTag)
~SourceImageRelationRule() override=default
std::vector< std::pair< size_t, std::string > > GetReferenceSequenceIndices(const IPropertyProvider *source, const IPropertyProvider *destination=nullptr, InstanceIDVectorType ignoreInstances={}) const
std::string GetDisplayName() const override
itk::LightObject::Pointer InternalClone() const override
PropertyKeyPath::ItemSelectionIndex CreateNewSourceImageSequenceItem(IPropertyOwner *source) const
bool IsSupportedRuleID(const RuleIDType &ruleID) const override
std::string GetSourceRoleName() const override
std::string GetDestinationRoleName() const override
SourceImageRelationRule(const RuleIDType &purposeTag, const std::string &displayName, const std::string &sourceRole, const std::string &destinationRole)
void Connect_datalayer(IPropertyOwner *source, const IPropertyProvider *destination, const InstanceIDType &instanceID) const override
bool IsDestinationCandidate(const IPropertyProvider *owner) const override
#define mitkNewMacro4Param(classname, typea, typeb, typec, typed)
#define mitkClassMacro(className, SuperClassName)
#define mitkNewMacro2Param(classname, typea, typeb)
#define mitkNewMacro1Param(classname, type)
Find image slices visible on a given plane.