Skip to content

inconsistent data member naming convention in pcl::PointCloud #2469

Open
@csukuangfj

Description

@csukuangfj

Your Environment

  • PCL Version: the master branch

Context

See the code

uint32_t width;
/** \brief The point cloud height (if organized as an image-structure). */
uint32_t height;
/** \brief True if no points are invalid (e.g., have NaN or Inf values in any of their floating point fields). */
bool is_dense;
/** \brief Sensor acquisition pose (origin/translation). */
Eigen::Vector4f sensor_origin_;
/** \brief Sensor acquisition pose (rotation). */
Eigen::Quaternionf sensor_orientation_;

boost::shared_ptr<MsgFieldMap> mapping_;

Some data members are ended with _ and some are not.

Expected Behavior

Either all end with _ or none.

Current Behavior

The naming convention is not consistent.

Code to Reproduce

See the code above.

Possible Solution

Rename the data members consistently.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions