User Tools

Site Tools


Activating And Adjusting Delta Limits

The Delta Filter

A delta filter is designed to filter out dimension return values that fall below the a minimum or above a maximum threshold value.
In the example below a “delta_filter” block has been added to the processing block. To activate the delta filter set the active=“true” and then set the “delta_min” value to any number above zero. The “delta_max” value is then set to “1”. This means that any dimension value between these values will pass through the filter unchanged, any value below “delta_min” will be set to zero and any value above “delta_max” will be capped at the delta_max value. For example:

<Gesture id="1-finger-pivot-delta-filter" type="pivot">
                <cluster point_number="1"/>
        <algorithm class="kinemetric" type="continuous">
            <library module="pivot"/>
                <property id="pivot_dtheta" result="pivot_dtheta"/>
            <property ref="pivot_dtheta" active="false" delta_min="0.0001" delta_max="1"/>
        <update dispatch_type="continuous">
            <gesture_event  type="pivot">
                <property ref="pivot_dtheta" target="rotate"/>
activating_and_adjusting_delta_limits.txt · Last modified: 2015/10/09 18:09 by paul