(bridge_transform name flags [multiply add [srcmin srcmax dstmin dstmax]])
The name of the bridge.
A bitwise combination of:
1 | Forward bridge: bridge from source to destination |
2 | Inverse bridge: bridge from destination to source |
16 | Clamp output to the minimum. (Range mapping only.) |
32 | Clamp output to the maximum. (Range mapping only.) |
256 | The bridge is a direct copy |
512 | The bridge uses a linear transformation |
1024 | The bridge uses range mapping |
4096 | The bridge is disabled |
Bits 256, 512 and 1024 are mutually exclusive. |
The multiplier value for a linear transformation. This is ignored if (flags & 512) == 0.
The adder value for a linear transformation. This is ignored if (flags & 512) == 0.
The minimum range map value for the source point. This is ignored if (flags & 1024) == 0.
The maximum range map value for the source point. This is ignored if (flags & 1024) == 0.
The minimum range map value for the destination point. This is ingored if (flags & 1024) == 0.
The maximum range map value for the destination point. This is ingored if (flags & 1024) == 0.
This command modifies an existing bridge between two data points. The scaling and the limits on source and destination points used for linear transformations are stored with the bridge so that if you decide to change from a direct bridge to one that uses linear transformations your previous entries are preserved. The values themselves are only applied when the flag set indicates the corresponding transfer function.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.