ImFusion SDK 4.3
LinkWindowing Class Reference

#include <ImFusion/Base/LinkWindowing.h>

Synchronizes DisplayOptions2d and DisplayOptions3d of multiple images. More...

+ Inheritance diagram for LinkWindowing:

Detailed Description

Synchronizes DisplayOptions2d and DisplayOptions3d of multiple images.

LinkWindowing only accepts Data of type SharedImageSet.

Public Member Functions

 LinkWindowing (const std::vector< SharedImageSet * > &images)
 Create a new LinkWindowing instance for the given images.
 
 LinkWindowing (const std::vector< Data * > &data)
 Convenience overload, performing the dynamic_cast to SharedImageSet* internally.
 
std::vector< Data * > data () const override
 Return list of all linked Data instances.
 
bool accepts (const Data &data) const override
 Checks whether the given Data instance is supported.
 
void add (Data &data) override
 Add the given Data instance to the link.
 
void remove (Data *data) override
 Remove the given Data instance from the link.
 
std::string uiTitle () const override
 Return a title of the link type for displaying in the UI.
 
std::string uiIconPath () const override
 Return a path to an icon representing the link type to display in the UI.
 
- 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.
 

Member Function Documentation

◆ data()

std::vector< Data * > data ( ) const
overridevirtual

Return list of all linked Data instances.

Implements DataLink.

◆ accepts()

bool accepts ( const Data & data) const
overridevirtual

Checks whether the given Data instance is supported.

Implements DataLink.

◆ add()

void add ( Data & data)
overridevirtual

Add the given Data instance to the link.

Implements DataLink.

◆ remove()

void remove ( Data * data)
overridevirtual

Remove the given Data instance from the link.

Implements DataLink.

◆ uiTitle()

std::string uiTitle ( ) const
overridevirtual

Return a title of the link type for displaying in the UI.

Implements DataLink.

◆ uiIconPath()

std::string uiIconPath ( ) const
overridevirtual

Return a path to an icon representing the link type to display in the UI.

Implements DataLink.


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