Gocator API
const GoPreFilterCoefficient * GoSetup_EnhancedSurfaceFlatnessFilterCoefficients ( GoSetup  setup,
GoRole  role 
)

Gets all the enhanced surface flatness filter coefficients currently in use, if device supports enhanced surface flatness filtering.

Check that the device supports it by calling GoSetup_IsEnhancedSurfaceFlatnessFilterSupported().

The coefficients returned is for the currently selected enhanced surface flatness filter mode. The number of coefficients is the value of GoPreFilterLengthOption in the GoSetup_SelectBuiltInEnhancedSurfaceFlatnessFilter() or GoSetup_SelectCustomEnhancedSurfaceFlatnessFilter() API calls.

Version
Introduced in firmware 6.3.1.83
Parameters
setupGoSetup object.
roleDetermines which device to retrieve the value from. Use GO_ROLE_MAIN or GOROLE_BUDDYIDX(buddyidx). See GoRole for more details.
Returns
Output array of coefficients which is filled with the enhanced surface flatness filter coefficients in use. The number of entries is the same as the GoPreFilterLengthOption parameter used to configure the enhanced surface flatness filter.