MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_edge_detection()

void MayaFlux::Nodes::Generator::Logic::set_edge_detection ( EdgeType  type,
double  threshold = 0.5 
)

Configures digital transition detection.

Parameters
typeType of transition to detect (rising, falling, or both)
thresholdDecision boundary for state changes

Sets up the node to detect specific types of state transitions (edges) in the input signal. Useful for event detection, trigger generation, and synchronization with external events.

Definition at line 467 of file Logic.cpp.

468{
472}
vk::PhysicalDeviceType type
Definition VKDevice.cpp:126
float threshold
EdgeType m_edge_type
Type of edge to detect.
Definition Logic.hpp:707
double m_threshold
Threshold for boolean conversion.
Definition Logic.hpp:704
LogicOperator m_operator
Current logic operator.
Definition Logic.hpp:695
@ EDGE
Transition detector - identifies state changes.

References MayaFlux::Nodes::Generator::EDGE, m_edge_type, m_operator, m_threshold, threshold, and type.