.. _file_include_beluga_ros_point_cloud.hpp: File point_cloud.hpp ==================== |exhale_lsh| :ref:`Parent directory ` (``include/beluga_ros``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS Implementation of ``sensor_msgs/PointCloud2`` wrapper type for messages with memory-aligned strides. .. contents:: Contents :local: :backlinks: none Definition (``include/beluga_ros/point_cloud.hpp``) --------------------------------------------------- .. toctree:: :maxdepth: 1 program_listing_file_include_beluga_ros_point_cloud.hpp.rst Detailed Description -------------------- The stride calculation ensures that the memory layout of the point cloud data is aligned with the size of the data type used for iteration (``iteratorType``). To maintain proper memory alignment, the stride must satisfy the condition: ``cloud_->point_step % sizeof(iteratorType) == 0`` This condition guarantees that ``point_step`` is a multiple of the size of the ``iteratorType``, ensuring efficient access to each point in the cloud. Includes -------- - ``Eigen/Dense`` - ``beluga/eigen_compatibility.hpp`` - ``beluga/sensor/data/point_cloud.hpp`` - ``beluga/views/take_evenly.hpp`` - ``beluga_ros/messages.hpp`` (:ref:`file_include_beluga_ros_messages.hpp`) - ``range/v3/view/iota.hpp`` - ``sophus/se3.hpp`` Included By ----------- - :ref:`file_include_beluga_ros_beluga_ros.hpp` Namespaces ---------- - :ref:`namespace_beluga_ros` Classes ------- - :ref:`exhale_class_classbeluga__ros_1_1PointCloud3` Typedefs -------- - :ref:`exhale_typedef_namespacebeluga__ros_1a4888a568cc51091687699fe54c0938dd` - :ref:`exhale_typedef_namespacebeluga__ros_1a77022e16066c0bce566008d32f03b720`