Index-Based Point Cloud Selection With Normals

Description

This operator is used to select one or more point clouds from an input point cloud list (a data collection containing multiple point clouds) based on a specified index number. Users can precisely select a specific point cloud in the list by setting the index number, or retain all point clouds except the specified index number through the invert index function.

Overview

Selects or removes specified point clouds from a point cloud list by index.

Scenarios

  • Processing Multi-Point Cloud Inputs: When the previous operator (such as point cloud clustering, multi-template matching) outputs a list containing multiple point clouds, this operator can be used to select a specific one for subsequent processing. For example, selecting the first point cloud cluster or the last point cloud cluster in the clustering results.

  • Filtering Specific Point Clouds: When a specific point cloud needs to be excluded from the list, the invert index function can be used. For example, removing the result point cloud with the lowest or highest matching score.

  • Flow Control: In complex algorithm flows, selecting a certain point cloud in the list for processing based on conditions.

Inputs and Outputs

Inputs

Point Cloud: A list containing one or more point clouds.

Outputs

Indexed point cloud list 🔵: A list containing the selected point cloud(s).

Parameters

Index Number

Description

Specifies the position number, in the input list, of the point cloud to select (or to exclude, when using invert index). Indexing starts at 0. The special value -1 refers to the last point cloud in the list.

Tuning Instructions

  • Set to 0: Selects the 1st point cloud in the list.

  • Set to 1: Selects the 2nd point cloud in the list.

  • Set to -1: Selects the last point cloud in the list.

  • Set to other positive integer n: Selects the (n+1)-th point cloud in the list.

Note: The set index number must be within the valid range (from -1 to list length-1), otherwise the operator will report an error. For example, if the input list has only 3 point clouds, the valid index range is -1, 0, 1, 2.

Parameter Range

[-1, 10000], Default value: 0. The actual effective upper limit depends on the length of the input list.

Parameter Range

Values/Range: [-1, 10000]

Default: 0

Invert Index

Description

Changes the operator’s selection logic.

Tuning Instructions

  • Disabled (Default): Forward indexing. The operator only outputs the point cloud specified by the "Index Number" parameter, and the output list contains only one point cloud.

  • Enabled: The operator outputs all point clouds in the list except the one specified by the "Index Number" parameter. The output list contains the number of point clouds equal to the original list length minus one.

Parameter Range

Default: False