LidarClassFilter_SetClassEnabled

globalmapper.LidarClassFilter_SetClassEnabled(GM_LidarClassFilter_t aClassFilter, GM_LidarClass_t8 aClass, bool aEnable) GM_Error_t32, GM_LidarClassFilter_t[source]

Enables or disables a Lidar class in a Lidar class filter.

NOTE: This function will modify the input argument aClassFilter to enable the given group. It is also returned from the function as a convenience. If you don’t want aClassFilter to be altered, you should create a copy before calling this function.

Parameters:
  • aClassFilter (GM_LidarClassFilter_t) – Class filter to modify

  • aClass (GM_LidarClass_t8) – Class to enable/disable

  • aEnable (bool) – Enable the class?

Returns:

Error Code

Return type:

GM_Error_t32