Point Cloud Library (PCL) 1.12.0
Loading...
Searching...
No Matches
pcl::PolygonMesh Struct Reference

#include <pcl/PolygonMesh.h>

+ Collaboration diagram for pcl::PolygonMesh:

Public Types

using Ptr = shared_ptr< ::pcl::PolygonMesh>
 
using ConstPtr = shared_ptr<const ::pcl::PolygonMesh>
 

Public Member Functions

 PolygonMesh ()
 
PolygonMeshoperator+= (const PolygonMesh &rhs)
 Add another polygon mesh to the current mesh.
 
const PolygonMesh operator+ (const PolygonMesh &rhs)
 Add a polygon mesh to another mesh.
 

Static Public Member Functions

static bool concatenate (pcl::PolygonMesh &mesh1, const pcl::PolygonMesh &mesh2)
 Inplace concatenate two pcl::PolygonMesh.
 
static bool concatenate (const PolygonMesh &mesh1, const PolygonMesh &mesh2, PolygonMesh &mesh_out)
 Concatenate two pcl::PCLPointCloud2.
 

Public Attributes

::pcl::PCLHeader header
 
::pcl::PCLPointCloud2 cloud
 
std::vector< ::pcl::Verticespolygons
 

Detailed Description

Definition at line 14 of file PolygonMesh.h.

Member Typedef Documentation

◆ ConstPtr

Definition at line 98 of file PolygonMesh.h.

◆ Ptr

Definition at line 97 of file PolygonMesh.h.

Constructor & Destructor Documentation

◆ PolygonMesh()

pcl::PolygonMesh::PolygonMesh ( )
inline

Definition at line 16 of file PolygonMesh.h.

Member Function Documentation

◆ concatenate() [1/2]

static bool pcl::PolygonMesh::concatenate ( const PolygonMesh & mesh1,
const PolygonMesh & mesh2,
PolygonMesh & mesh_out )
inlinestatic

Concatenate two pcl::PCLPointCloud2.

Parameters
[in]mesh1the first input mesh
[in]mesh2the second input mesh
[out]mesh_outthe resultant output mesh
Returns
true if successful, false otherwise (unexpected error)

Definition at line 67 of file PolygonMesh.h.

References pcl::concatenate().

◆ concatenate() [2/2]

static bool pcl::PolygonMesh::concatenate ( pcl::PolygonMesh & mesh1,
const pcl::PolygonMesh & mesh2 )
inlinestatic

Inplace concatenate two pcl::PolygonMesh.

Parameters
[in,out]mesh1the first input and output mesh
[in]mesh2the second input mesh
Returns
true if successful, false otherwise (unexpected error)

Definition at line 31 of file PolygonMesh.h.

References cloud, pcl::PCLPointCloud2::concatenate(), header, pcl::PCLPointCloud2::height, polygons, pcl::PCLHeader::stamp, and pcl::PCLPointCloud2::width.

Referenced by pcl::concatenate().

◆ operator+()

const PolygonMesh pcl::PolygonMesh::operator+ ( const PolygonMesh & rhs)
inline

Add a polygon mesh to another mesh.

Parameters
[in]rhsthe mesh to add to the current mesh
Returns
the new mesh as a concatenation of the current mesh and the new given mesh

Definition at line 91 of file PolygonMesh.h.

◆ operator+=()

PolygonMesh & pcl::PolygonMesh::operator+= ( const PolygonMesh & rhs)
inline

Add another polygon mesh to the current mesh.

Parameters
[in]rhsthe mesh to add to the current mesh
Returns
the new mesh as a concatenation of the current mesh and the new given mesh

Definition at line 80 of file PolygonMesh.h.

References pcl::concatenate().

Member Data Documentation

◆ cloud

◆ header

◆ polygons


The documentation for this struct was generated from the following file: