globalmapper.LidarClassFilter_EnableGroups

globalmapper.LidarClassFilter_EnableGroups(GM_LidarClassFilter_t aClassFilter, GM_LidarClassGroup_t16 aGroupMask, bool aMatchAny) GM_Error_t32, GM_LidarClassFilter_t[source]

Modify a Lidar class filter so that all classes with the given group are enabled.

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) – The filter object to enable the class group in.

  • aGroupMask (GM_LidarClassGroup_t16) – Mask of Lidar class groups to enable.

  • aMatchAny (bool) – Whether it will match any groups in the mask or require all.

Returns

Error Code

Return type

GM_Error_t32

Returns

Class filter that will be filled in.

Return type

GM_LidarClassFilter_t