ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / PointCloudFilterDefinition Class
Members Example

In This Topic
    PointCloudFilterDefinition Class
    In This Topic
    Represents a definition for a point cloud filter.
    Object Model
    PointCloudFilterDefinition ClassPointCloudFilterDefinition Class
    public sealed class PointCloudFilterDefinition 
    Public NotInheritable Class PointCloudFilterDefinition 
    The point cloud filter definition class allows you to define parameters to create a point cloud filter.
    Set a Filter for PointCloudSceneLayer
    //Must be called on the MCT
    //var pcsl = ...;
    //Retrieve the available classification codes
    //At 2.x - var dict = pcsl.QueryAvailableClassCodesAndLabels();
    var dict = pcsl.GetAvailableClassCodesAndLabels();
    //Filter out low noise and unclassified (7 and 1 respectively)
    var filterDef = new PointCloudFilterDefinition()
      ClassCodes = dict.Keys.Where(c => c != 7 && c != 1).ToList(),
      ReturnValues = new List<PointCloudReturnType> { 
                             PointCloudReturnType.FirstOfMany }
    //apply the filter
    Inheritance Hierarchy



    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also