Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::AutoLinker Class Reference

Utility class to calculate and apply auto linking. More...

#include <autolinker.h>

Public Member Functions

 AutoLinker ()=default
 
void update (ProcessorNetwork &network, Processor &target, Processor *source=nullptr, const std::vector< Processor * > &ignore={})
 
void clear ()
 
const std::unordered_map< Property *, std::vector< Property * > > & getAutoLinkCandidates () const
 
void sortAutoLinkCandidates ()
 
void sortAutoLinkCandidates (dvec2 pos)
 
void addLinksToClosestCandidates (ProcessorNetwork &network, bool bidirectional)
 

Static Public Member Functions

static void addLinks (ProcessorNetwork &network, Processor &target, Processor *source=nullptr, const std::vector< Processor * > &ignore={})
 

Detailed Description

Utility class to calculate and apply auto linking.

Constructor & Destructor Documentation

◆ AutoLinker()

inviwo::AutoLinker::AutoLinker ( )
default

Construct an auto link helper

Member Function Documentation

◆ update()

void inviwo::AutoLinker::update ( ProcessorNetwork & network,
Processor & target,
Processor * source = nullptr,
const std::vector< Processor * > & ignore = {} )
Parameters
networkthe processor network in which to add autolinks
targetthe processor onto which auto links should be added
sourcesource of links. If source is not null we consider all predecessors of source as input for linking, if source is null we consider all processor in the network
ignoredon't consider links from these processors

The documentation for this class was generated from the following file: