|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
Typedefs | |
| using | K = CGAL::Simple_cartesian<double> |
| CGAL kernel for geometric computations. | |
| using | Point_3 = K::Point_3 |
| CGAL 3D point type. | |
| using | Vector_3 = K::Vector_3 |
| CGAL 3D vector type. | |
| using | Mesh = CGAL::Surface_mesh<Point_3> |
| CGAL surface mesh type. | |
Functions | |
| Mesh | pcl_to_cgal_mesh (const pcl::PolygonMesh &pcl_mesh) |
| Convert PCL PolygonMesh to CGAL Surface_mesh. | |
| pcl::PolygonMesh | cgal_to_pcl_mesh (const Mesh &cgal_mesh) |
| Convert CGAL Surface_mesh to PCL PolygonMesh. | |
| Point_3 | eigen_to_cgal (const Eigen::Vector3d &v) |
| Convert Eigen Vector3d to CGAL Point_3. | |
| Eigen::Vector3d | cgal_to_eigen (const Point_3 &p) |
| Convert CGAL Point_3 to Eigen Vector3d. | |
| Eigen::Vector3d | cgal_to_eigen (const Vector_3 &v) |
| Convert CGAL Vector_3 to Eigen Vector3d. | |
| std::vector< pcl::PolygonMeshPtr > | decompose_mesh (const pcl::PolygonMesh &mesh) |
| Split a mesh into its connected components. | |
| using reusex::geometry::cgal::K = CGAL::Simple_cartesian<double> |
CGAL kernel for geometric computations.
Definition at line 14 of file cgal_utils.hpp.
| using reusex::geometry::cgal::Mesh = CGAL::Surface_mesh<Point_3> |
CGAL surface mesh type.
Definition at line 23 of file cgal_utils.hpp.
| using reusex::geometry::cgal::Point_3 = K::Point_3 |
CGAL 3D point type.
Definition at line 17 of file cgal_utils.hpp.
| using reusex::geometry::cgal::Vector_3 = K::Vector_3 |
CGAL 3D vector type.
Definition at line 20 of file cgal_utils.hpp.
|
inline |
Convert CGAL Point_3 to Eigen Vector3d.
| p | Input CGAL point |
Definition at line 45 of file cgal_utils.hpp.
|
inline |
Convert CGAL Vector_3 to Eigen Vector3d.
| v | Input CGAL vector |
Definition at line 54 of file cgal_utils.hpp.
| pcl::PolygonMesh reusex::geometry::cgal::cgal_to_pcl_mesh | ( | const Mesh & | cgal_mesh | ) |
Convert CGAL Surface_mesh to PCL PolygonMesh.
| cgal_mesh | Input CGAL mesh |
| std::vector< pcl::PolygonMeshPtr > reusex::geometry::cgal::decompose_mesh | ( | const pcl::PolygonMesh & | mesh | ) |
Split a mesh into its connected components.
Returns one PolygonMesh per disjoint piece, preserving vertex colors.
References reusex::geometry::mesh().
|
inline |
Convert Eigen Vector3d to CGAL Point_3.
| v | Input Eigen vector |
Definition at line 38 of file cgal_utils.hpp.
| Mesh reusex::geometry::cgal::pcl_to_cgal_mesh | ( | const pcl::PolygonMesh & | pcl_mesh | ) |
Convert PCL PolygonMesh to CGAL Surface_mesh.
| pcl_mesh | Input PCL mesh with PointXYZ vertices |