Open3D (C++ API)  0.18.0+252c867
UVUnwrapping.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
11 
12 namespace open3d {
13 namespace t {
14 namespace geometry {
15 namespace kernel {
16 namespace uvunwrapping {
17 
56 std::tuple<float, int, int> ComputeUVAtlas(TriangleMesh& mesh,
57  const size_t width = 512,
58  const size_t height = 512,
59  const float gutter = 1.0f,
60  const float max_stretch = 1.f / 6,
61  int parallel_partitions = 1,
62  int nthreads = 0);
63 
64 } // namespace uvunwrapping
65 } // namespace kernel
66 } // namespace geometry
67 } // namespace t
68 } // namespace open3d
int width
Definition: FilePCD.cpp:52
int height
Definition: FilePCD.cpp:53
std::tuple< float, int, int > ComputeUVAtlas(TriangleMesh &mesh, const size_t width, const size_t height, const float gutter, const float max_stretch, int parallel_partitions, int nthreads)
Definition: UVUnwrapping.cpp:142
Definition: PinholeCameraIntrinsic.cpp:16