Point Cloud Library (PCL)  1.9.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>

Public Types

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

Public Member Functions

 PolygonMesh ()
 
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::PCLPointCloud2. More...
 

Public Attributes

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

Detailed Description

Definition at line 15 of file PolygonMesh.h.

Member Typedef Documentation

◆ ConstPtr

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

Definition at line 98 of file PolygonMesh.h.

◆ Ptr

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

Definition at line 97 of file PolygonMesh.h.

Constructor & Destructor Documentation

◆ PolygonMesh()

pcl::PolygonMesh::PolygonMesh ( )
inline

Definition at line 17 of file PolygonMesh.h.

Member Function Documentation

◆ concatenate() [1/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 32 of file PolygonMesh.h.

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

Referenced by concatenate(), pcl::concatenate(), and operator+=().

◆ concatenate() [2/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 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 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: