PointCloudLibrary/pcl

Use strongly typed 'enum' instead of 'int' for properties in PCLVisualizer code

Open

#1,692 opened on Aug 24, 2016

View on GitHub
 (11 comments) (0 reactions) (0 assignees)C++ (9,023 stars) (4,506 forks)batch import
effort: lowgood first issuekind: todomodule: visualization

Description

Right now functions like setPointCloudRenderingProperties use an int to represent the property to be modified. This means that there is no way of knowing which properties are accepted by the function. A solution is to use strongly typed enum instead of int for properties. The issue was brought up in #1668.

Contributor guide