PointCloudBitfieldFilter

A filter that controls which points are rendered according to their associated flags. Use the PointCloudBitfieldFilter to filter points based on the value of specific flags. The PointCloudBitfieldFilter is commonly used with the "FLAGS" attribute. This attribute refers to a subset of the adjacent Point Data Record Format items. This grouping starts with Classification Flags and ends with Edge of Flight Line. Each flag is defined by its bit position and value. If the flag is set, its value is 1; otherwise, its value is 0. The dataset's Point Data Record Format determines the bit position of each flag. The size of the bitfield can be sourced from PointCloudAttribute.valueType. For example, an unsigned 8-bit integer bitfield would have 8 bits (or flags) per point, and valid bit positions would be from 0 to 7. You can read more about Point Data Record Formats in the LAS specification.

Since

300.1.0

Constructors

Link copied to clipboard
constructor(attributeName: String, requiredClearBits: Iterable<Long>, requiredSetBits: Iterable<Long>)

Creates a point cloud bitfield filter with the specified collections of bit positions.

Properties

Link copied to clipboard

A collection of bit positions where a point is only displayed if the corresponding bit value is 0. If both requiredClearBits and requiredSetBits are empty, this filter does not affect point visibility.

Link copied to clipboard

A collection of bit positions where a point is only displayed if the corresponding bit value is 1. If both requiredSetBits and requiredClearBits are empty, this filter does not affect point visibility.

Inherited properties

Link copied to clipboard

The attribute used for applying the filter.