Point Cloud Library (PCL)
1.10.0
|
41 #include <pcl/surface/processing.h>
71 initCompute ()
override;
90 area (
const std::vector<std::uint32_t>& vertices);
99 isEar (
int u,
int v,
int w,
const std::vector<std::uint32_t>& vertices);
108 isInsideTriangle (
const Eigen::Vector3f& u,
109 const Eigen::Vector3f& v,
110 const Eigen::Vector3f& w,
111 const Eigen::Vector3f& p);
118 crossProduct (
const Eigen::Vector2f& p1,
const Eigen::Vector2f& p2)
const
120 return p1[0]*p2[1] - p1[1]*p2[0];
This file defines compatibility wrappers for low level I/O functions.
shared_ptr< const EarClipping > ConstPtr
The ear clipping triangulation algorithm.
shared_ptr< EarClipping > Ptr
EarClipping()
Empty constructor.
float crossProduct(const Eigen::Vector2f &p1, const Eigen::Vector2f &p2) const
Compute the cross product between 2D vectors.
pcl::PolygonMeshConstPtr input_mesh_
Input polygonal mesh.
shared_ptr< PointCloud< PointT > > Ptr
Describes a set of vertices in a polygon mesh, by basically storing an array of indices.
virtual bool initCompute()
Initialize computation.
MeshProcessing represents the base class for mesh processing algorithms.
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.