System Curves

The variable type UTX_CURVE is used to represent many different parameters in the Ultrasonix software; vertical and lateral TGC’s, aperture openings, and delay curves are all typical parameters that use this type.

The definition of the type is as follows:

class UTX_CURVE { public: int t;   int m;    int b;    int vm; };

There are 4 parameters that represent the curve: t, m, b, and vm. The curve represents a 100 x 100 unit box that is interpolated based on the parameter that the curve represents.

t is the horizontal position of the top-most point of the curve. The range is 0 - 100. Note that this point’s vertical position is always fixed to 0. m is the horizontal position of the mid-point of the curve. The range is 0 – 100. b is the horizontal position of the bottom-most point of the. The range is 0 – 100. Note that this point’s vertical position is always fixed to 100. vm is the vertical position of the mid-point of the curve. The range is 0 – 100.

The figure below, shows an example of a curve represented by the following values:
 * t=100
 * m=18
 * b=0
 * vm=60