ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
texture_mesh.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <ReUseX/types.hpp>
8
9#include <pcl/PolygonMesh.h>
10#include <pcl/TextureMesh.h>
11#include <rtabmap/core/DBDriver.h>
12
13#include <map>
14
15namespace ReUseX::geometry {
16
17pcl::TextureMesh::Ptr texture_mesh_with_cloud(pcl::PolygonMesh::Ptr mesh,
18 CloudConstPtr cloud);
19
20pcl::TextureMesh::Ptr
21texture_mesh(pcl::PolygonMesh::Ptr mesh,
22 std::map<int, rtabmap::Transform> const &poses,
23 std::map<int, rtabmap::Signature> const &nodes);
24} // namespace ReUseX::geometry
pcl::TextureMesh::Ptr texture_mesh(pcl::PolygonMesh::Ptr mesh, std::map< int, rtabmap::Transform > const &poses, std::map< int, rtabmap::Signature > const &nodes)
pcl::TextureMesh::Ptr texture_mesh_with_cloud(pcl::PolygonMesh::Ptr mesh, CloudConstPtr cloud)
pcl::PolygonMeshPtr mesh(CloudConstPtr cloud, CloudNConstPtr normals, EigenVectorContainer< double, 4 > &planes, EigenVectorContainer< double, 3 > &centroids, std::vector< IndicesPtr > &inliers, CloudLConstPtr rooms, MeshOptions const opt=MeshOptions{}, std::shared_ptr< ReUseX::visualize::Visualizer > viewer=nullptr)
Generate a mesh from point cloud and geometric primitives.
typename Cloud::ConstPtr CloudConstPtr
Definition types.hpp:23