PointCloudLibrary/pcl

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

Aberta

#1.692 aberto em 24 de ago. de 2016

 (11 comentários) (0 reação) (0 responsável)C++ (4.506 forks)batch import
effort: lowgood first issuekind: todomodule: visualization

Métricas do repositório

Stars
 (9.023 estrelas)
Métricas de merge de PR
 (Mesclagem média 8d 7h) (3 fundiu PRs em 30d)

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.

Guia do colaborador