overview project page about

Compute Flags
(PCCComputeFlags)



Short Description

The purpose of this command is to compute flags (standard channel int32 flags, used in many point clouds) by simple conditions.

Usage

This is a command (PCCommand). See using commands for an overview.

The referenceValue is used for comparison on the specified channel. channelIndex selects the index within the attribute channel (e.g. position[1]). flagsToBeSet specifies the flags to be set according to the test (set or deleted according to the outcome of the test). testOnGreater specifies whether the data value must be greater or lessOrEqual to the reference value.

Actual test performed:
Set bits in flagsToBeSet

if

channel [ channelIndex ]   <=(>)   referenceValue.



overview project page about