PointCloudLibrary/pcl

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

Open

#1.692 aberto em 24 de ago. de 2016

Ver no GitHub
 (11 comments) (0 reactions) (0 assignees)C++ (4.506 forks)batch import
effort: lowgood first issuekind: todomodule: visualization

Métricas do repositório

Stars
 (9.023 stars)
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