Point Cloud Library (PCL)
1.14.1-dev
|
#include <pcl/PCLPointCloud2.h>
Public Types | |
using | Ptr = shared_ptr< ::pcl::PCLPointCloud2 > |
using | ConstPtr = shared_ptr< const ::pcl::PCLPointCloud2 > |
Public Member Functions | |
PCLPointCloud2 & | operator+= (const PCLPointCloud2 &rhs) |
Add a point cloud to the current cloud. More... | |
PCLPointCloud2 | operator+ (const PCLPointCloud2 &rhs) |
Add a point cloud to another cloud. More... | |
template<typename T > | |
const T & | at (const pcl::uindex_t &point_index, const pcl::uindex_t &field_offset) const |
Get value at specified offset. More... | |
template<typename T > | |
T & | at (const pcl::uindex_t &point_index, const pcl::uindex_t &field_offset) |
Get value at specified offset. More... | |
Static Public Member Functions | |
static bool | concatenate (pcl::PCLPointCloud2 &cloud1, const pcl::PCLPointCloud2 &cloud2) |
Inplace concatenate two pcl::PCLPointCloud2. More... | |
static bool | concatenate (const PCLPointCloud2 &cloud1, const PCLPointCloud2 &cloud2, PCLPointCloud2 &cloud_out) |
Concatenate two pcl::PCLPointCloud2. More... | |
Public Attributes | |
::pcl::PCLHeader | header |
uindex_t | height = 0 |
uindex_t | width = 0 |
std::vector<::pcl::PCLPointField > | fields |
std::uint8_t | is_bigendian = BOOST_ENDIAN_BIG_BYTE |
uindex_t | point_step = 0 |
uindex_t | row_step = 0 |
std::vector< std::uint8_t > | data |
std::uint8_t | is_dense = 0 |
Definition at line 16 of file PCLPointCloud2.h.
using pcl::PCLPointCloud2::ConstPtr = shared_ptr<const ::pcl::PCLPointCloud2> |
Definition at line 36 of file PCLPointCloud2.h.
using pcl::PCLPointCloud2::Ptr = shared_ptr< ::pcl::PCLPointCloud2> |
Definition at line 35 of file PCLPointCloud2.h.
|
inline |
Get value at specified offset.
[in] | point_index | point index. |
[in] | field_offset | offset. |
Definition at line 109 of file PCLPointCloud2.h.
|
inline |
Get value at specified offset.
[in] | point_index | point index. |
[in] | field_offset | offset. |
Definition at line 95 of file PCLPointCloud2.h.
|
inlinestatic |
Concatenate two pcl::PCLPointCloud2.
[in] | cloud1 | the first input point cloud dataset |
[in] | cloud2 | the second input point cloud dataset |
[out] | cloud_out | the resultant output point cloud dataset |
Definition at line 64 of file PCLPointCloud2.h.
References pcl::concatenate().
|
static |
Inplace concatenate two pcl::PCLPointCloud2.
IFF the layout of all the fields in both the clouds is the same, this command doesn't remove any fields named "_" (aka marked as skip). For comparison of field names, "rgb" and "rgba" are considered equivalent However, if the order and/or number of non-skip fields is different, the skip fields are dropped and non-skip fields copied selectively. This function returns an error if
[in,out] | cloud1 | the first input and output point cloud dataset |
[in] | cloud2 | the second input point cloud dataset |
Referenced by pcl::concatenate(), and pcl::PolygonMesh::concatenate().
|
inline |
Add a point cloud to another cloud.
[in] | rhs | the cloud to add to the current cloud |
Definition at line 84 of file PCLPointCloud2.h.
PCLPointCloud2& pcl::PCLPointCloud2::operator+= | ( | const PCLPointCloud2 & | rhs | ) |
Add a point cloud to the current cloud.
[in] | rhs | the cloud to add to the current cloud |
std::vector<std::uint8_t> pcl::PCLPointCloud2::data |
Definition at line 30 of file PCLPointCloud2.h.
Referenced by pcl::detail::copyStringValue(), pcl::detail::copyStringValue< std::int8_t >(), pcl::detail::copyStringValue< std::uint8_t >(), pcl::copyValueString(), pcl::copyValueString< std::int8_t >(), pcl::copyValueString< std::uint8_t >(), pcl::fromPCLPointCloud2(), pcl::isValueFinite(), pcl::TextureMapping< PointInT >::mapTexture2Mesh(), pcl::TextureMapping< PointInT >::mapTexture2MeshUV(), pcl::SurfaceReconstruction< PointInT >::reconstruct(), pcl::MeshConstruction< PointInT >::reconstruct(), pcl::OrganizedFastMesh< PointInT >::resetPointData(), and pcl::toPCLPointCloud2().
std::vector<::pcl::PCLPointField> pcl::PCLPointCloud2::fields |
Definition at line 23 of file PCLPointCloud2.h.
Referenced by pcl::detail::copyStringValue(), pcl::detail::copyStringValue< std::int8_t >(), pcl::detail::copyStringValue< std::uint8_t >(), pcl::copyValueString(), pcl::copyValueString< std::int8_t >(), pcl::copyValueString< std::uint8_t >(), pcl::fromPCLPointCloud2(), pcl::getFieldIndex(), pcl::getFieldsList(), pcl::isValueFinite(), pcl::TextureMapping< PointInT >::mapTexture2Mesh(), pcl::TextureMapping< PointInT >::mapTexture2MeshUV(), pcl::OrganizedFastMesh< PointInT >::resetPointData(), and pcl::toPCLPointCloud2().
::pcl::PCLHeader pcl::PCLPointCloud2::header |
Definition at line 18 of file PCLPointCloud2.h.
Referenced by pcl::fromPCLPointCloud2(), and pcl::toPCLPointCloud2().
uindex_t pcl::PCLPointCloud2::height = 0 |
Definition at line 20 of file PCLPointCloud2.h.
Referenced by pcl::PolygonMesh::concatenate(), pcl::fromPCLPointCloud2(), pcl::outofcore::OutofcoreOctreeDiskContainer< PointT >::getDataSize(), pcl::TextureMapping< PointInT >::mapTexture2Mesh(), pcl::TextureMapping< PointInT >::mapTexture2MeshUV(), pcl::outofcore::OutofcoreOctreeDiskContainer< PointT >::OutofcoreOctreeDiskContainer(), pcl::SurfaceReconstruction< PointInT >::reconstruct(), pcl::MeshConstruction< PointInT >::reconstruct(), and pcl::toPCLPointCloud2().
std::uint8_t pcl::PCLPointCloud2::is_bigendian = BOOST_ENDIAN_BIG_BYTE |
Definition at line 26 of file PCLPointCloud2.h.
std::uint8_t pcl::PCLPointCloud2::is_dense = 0 |
Definition at line 32 of file PCLPointCloud2.h.
Referenced by pcl::detail::copyStringValue(), pcl::fromPCLPointCloud2(), and pcl::toPCLPointCloud2().
uindex_t pcl::PCLPointCloud2::point_step = 0 |
uindex_t pcl::PCLPointCloud2::row_step = 0 |
Definition at line 28 of file PCLPointCloud2.h.
Referenced by pcl::fromPCLPointCloud2(), and pcl::toPCLPointCloud2().
uindex_t pcl::PCLPointCloud2::width = 0 |
Definition at line 21 of file PCLPointCloud2.h.
Referenced by pcl::PolygonMesh::concatenate(), pcl::fromPCLPointCloud2(), pcl::outofcore::OutofcoreOctreeDiskContainer< PointT >::getDataSize(), pcl::TextureMapping< PointInT >::mapTexture2Mesh(), pcl::TextureMapping< PointInT >::mapTexture2MeshUV(), pcl::outofcore::OutofcoreOctreeDiskContainer< PointT >::OutofcoreOctreeDiskContainer(), pcl::SurfaceReconstruction< PointInT >::reconstruct(), pcl::MeshConstruction< PointInT >::reconstruct(), and pcl::toPCLPointCloud2().