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#include "reusex/types.hpp"
7
8#include <pcl/PolygonMesh.h>
9#include <pcl/TextureMesh.h>
10#include <rtabmap/core/DBDriver.h>
11
12#include <map>
13
14namespace ReUseX::geometry {
15
16pcl::TextureMesh::Ptr texture_mesh_with_cloud(pcl::PolygonMesh::Ptr mesh,
17 CloudConstPtr cloud);
18
19pcl::TextureMesh::Ptr
20texture_mesh(pcl::PolygonMesh::Ptr mesh,
21 std::map<int, rtabmap::Transform> const &poses,
22 std::map<int, rtabmap::Signature> const &nodes);
23} // 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:26