PointCloudLibrary/pcl

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

Aperta

#1692 aperta il 24 ago 2016

 (11 commenti) (0 reazioni) (0 assegnatari)C++ (4506 fork)batch import
effort: lowgood first issuekind: todomodule: visualization

Metriche repository

Star
 (9023 stelle)
Metriche merge PR
 (Merge medio 8g 7h) (3 PR mergiate in 30 g)

Descrizione

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.

Guida contributor