Workspace::ViewportHighlightResolver
Manager class responsible for updating viewport model highlights based on current workspace node selection. More...
#include "GUI/Workspace/ViewportHighlightResolver.h"
Public Functions
| Name | |
|---|---|
| ViewportHighlightResolver(WorkspaceDiwne * diwne) | |
| void | registerNodeCallbacks(Core::Node * node)<br>Register callbacks with a node. |
| void | resolve()<br>If needed, updates highlight status of all model nodes by starting a breadth-first search for selected nodes at each one of them. |
| void | resolveNeeded()<br>Trigger a highlight resolve during resolve() call. |
Detailed Description
class Workspace::ViewportHighlightResolver;Manager class responsible for updating viewport model highlights based on current workspace node selection.
A model is highlighted if any currently selected node is directly or indirectly connected to it, potentially influencing it.
Public Functions Documentation
function ViewportHighlightResolver
explicit ViewportHighlightResolver(
WorkspaceDiwne * diwne
)function registerNodeCallbacks
void registerNodeCallbacks(
Core::Node * node
)Register callbacks with a node.
Makes resolveNeeded() calls when resolve is needed (during node deletion and plug and unplug operations).
function resolve
void resolve()If needed, updates highlight status of all model nodes by starting a breadth-first search for selected nodes at each one of them.
Thus highlighting any models that the current node selection may have an effect on.
function resolveNeeded
inline void resolveNeeded()Trigger a highlight resolve during resolve() call.
Should be called when selection or structure of the node tree changes.
Updated on 2026-09-11 at 21:24:25 +0000