ImFusion SDK 4.3
DataModelAutoLinking Class Reference

#include <ImFusion/Base/DataModelAutoLinking.h>

Utility class to automatically create DataLink instances between datasets in a DataModel. More...

+ Inheritance diagram for DataModelAutoLinking:

Detailed Description

Utility class to automatically create DataLink instances between datasets in a DataModel.

This class can manage the following links automatically:

Note
Ownership of the links created by DataModelAutoLinking will still be held by the observed DataModel as usual.
See also
DataModel, DataLink

Public Member Functions

 DataModelAutoLinking (DataModel &dataModel)
 Creates a new DataModelAutoLinking instance observing the given dataModel.
 
void setAutoLinkWindowing (bool enable)
 Enables automatic creation of LinkWindowing links per modality.
 
bool isAutoLinkWindowingEnabled () const
 Returns whether automatic creation of LinkWindowing links per modality is enabled.
 
void setAutoLinkPose (bool enable)
 Enables automatic creation of LinkPose links when grouping Data.
 
bool isAutoLinkPoseEnabled () const
 Returns whether automatic creation of LinkPose links when grouping Data is enabled.
 
bool didOriginallyCreate (const DataLink *link) const
 Checks if the given link was originally created by this object.
 
void clear ()
 Clears all internal bookkeeping of automatically created links but does not delete the links themselves.
 
- Public Member Functions inherited from SignalReceiver
 SignalReceiver ()=default
 Default constructor.
 
 SignalReceiver (const SignalReceiver &other)
 Copy constructor, does not copy any existing signal connections from other.
 
SignalReceiveroperator= (SignalReceiver rhs)
 Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs.
 
virtual ~SignalReceiver ()
 Virtual destructor disconnects from all connected signals.
 

Additional Inherited Members

- Protected Member Functions inherited from SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.
 

Constructor & Destructor Documentation

◆ DataModelAutoLinking()

Creates a new DataModelAutoLinking instance observing the given dataModel.

Will ignore all datasets that are already present and only deal with newly added datasets.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close