![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/DataModelAutoLinking.h>
Utility class to automatically create DataLink instances between datasets in a DataModel. More...
Inheritance diagram for DataModelAutoLinking:Utility class to automatically create DataLink instances between datasets in a DataModel.
This class can manage the following links automatically:
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. | |
| SignalReceiver & | operator= (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. | |
| DataModelAutoLinking | ( | DataModel & | dataModel | ) |
Creates a new DataModelAutoLinking instance observing the given dataModel.
Will ignore all datasets that are already present and only deal with newly added datasets.