Inviwo 0.9.12-pre
Inviwo documentation
|
Utility class to calculate and apply auto linking. More...
#include <autolinker.h>
Public Member Functions | |
AutoLinker (ProcessorNetwork *network, Processor *target, Processor *source=nullptr, const std::vector< Processor * > &ignore={}) | |
const std::unordered_map< Property *, std::vector< Property * > > & | getAutoLinkCandidates () const |
void | sortAutoLinkCandidates () |
void | sortAutoLinkCandidates (dvec2 pos) |
void | addLinksToClosestCandidates (bool bidirectional) |
Static Public Member Functions | |
static void | addLinks (ProcessorNetwork *network, Processor *target, Processor *source=nullptr, const std::vector< Processor * > &ignore={}) |
Utility class to calculate and apply auto linking.
inviwo::AutoLinker::AutoLinker | ( | ProcessorNetwork * | network, |
Processor * | target, | ||
Processor * | source = nullptr, | ||
const std::vector< Processor * > & | ignore = {} ) |
Construct an auto link helper
network | the processor network in which to add autolinks |
target | the processor onto which auto links should be added |
source | source 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 |
ignore | don't consider links from these processors |