ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMPointCloudBitFieldFilter Class
Members Example

In This Topic
    CIMPointCloudBitFieldFilter Class
    In This Topic
    Represents a point cloud bit field filter. Filters based on the bit-wise representation of the provided field. /// For a point to be retained, its attribute field bits must match /// BitsToSet and BitsToClear. Bits which are not explicitly clear nor /// set, are ignored.
    Object Model
    CIMPointCloudBitFieldFilter ClassCIMPointCloudBitFieldFilter ClassCIMPointCloudBitFieldFilter Class
    Syntax
    Example
    Get the filters for PointCloudSceneLayer
    //Must be called on the MCT
    //var pcsl = ...;
    IReadOnlyList<CIMPointCloudFilter> updatedFilter = pcsl.GetFilters();
    foreach (var filter in updatedFilter)
    {
      //There is either 0 or 1 of each
      if (filter is CIMPointCloudReturnFilter returnFilter)
      {
        PointCloudFilterDefinition pcfl = PointCloudFilterDefinition.FromCIM(updatedFilter);
        List<PointCloudReturnType> updatedReturnValues = pcfl.ReturnValues;
    
      }
      if (filter is CIMPointCloudValueFilter classCodesFilter)
      {
        // do something
      }
    
      if (filter is CIMPointCloudBitFieldFilter classFlagsFilter)
      {
        // do something
      }
    }
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.CIM.CIMObject
          ArcGIS.Core.CIM.CIMPointCloudFilter
             ArcGIS.Core.CIM.CIMPointCloudBitFieldFilter

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also