ImFusion C++ SDK 4.4.0
ImFusion::LinkWindowing Class Reference

#include <ImFusion/Base/LinkWindowing.h>

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

Inheritance diagram for ImFusion::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 ImFusion::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 ImFusion::SignalReceiver
void disconnectAll ()
 Disconnects all existing connections.

Member Function Documentation

◆ data()

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

Return list of all linked Data instances.

Implements ImFusion::DataLink.

◆ accepts()

bool ImFusion::LinkWindowing::accepts ( const Data & data) const
overridevirtual

Checks whether the given Data instance is supported.

Implements ImFusion::DataLink.

◆ add()

void ImFusion::LinkWindowing::add ( Data & data)
overridevirtual

Add the given Data instance to the link.

Implements ImFusion::DataLink.

◆ remove()

void ImFusion::LinkWindowing::remove ( Data * data)
overridevirtual

Remove the given Data instance from the link.

Implements ImFusion::DataLink.

◆ uiTitle()

std::string ImFusion::LinkWindowing::uiTitle ( ) const
overridevirtual

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

Implements ImFusion::DataLink.

◆ uiIconPath()

std::string ImFusion::LinkWindowing::uiIconPath ( ) const
overridevirtual

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

Implements ImFusion::DataLink.


The documentation for this class was generated from the following file:
  • ImFusion/Base/LinkWindowing.h
Search Tab / S to search, Esc to close