Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
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 ()=default
 
PolygonMeshoperator+= (const PolygonMesh &rhs)
 Add another polygon mesh to the current mesh. More...
 
const PolygonMesh operator+ (const PolygonMesh &rhs)
 Add a polygon mesh to another mesh. More...
 

Static Public Member Functions

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

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

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

Definition at line 97 of file PolygonMesh.h.

◆ Ptr

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

Definition at line 96 of file PolygonMesh.h.

Constructor & Destructor Documentation

◆ PolygonMesh()

pcl::PolygonMesh::PolygonMesh ( )
default

Member Function Documentation

◆ concatenate() [1/2]

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

Concatenate two pcl::PolygonMesh.

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 66 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 30 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 90 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 79 of file PolygonMesh.h.

References pcl::concatenate().

Member Data Documentation

◆ cloud

::pcl::PCLPointCloud2 pcl::PolygonMesh::cloud

◆ header

::pcl::PCLHeader pcl::PolygonMesh::header

◆ polygons

std::vector< ::pcl::Vertices> pcl::PolygonMesh::polygons

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