ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
UVUnwrapping.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include "
cloudViewer/t/geometry/TriangleMesh.h
"
11
12
namespace
cloudViewer
{
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 cloudViewer
width
int width
Definition:
FileIOFactory.cpp:142
height
int height
Definition:
FileIOFactory.cpp:143
cloudViewer::geometry::TriangleMesh
::ccMesh TriangleMesh
Definition:
TriangleMesh.h:19
cloudViewer::t::geometry::kernel::uvunwrapping::ComputeUVAtlas
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:175
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
TriangleMesh.h
libs
cloudViewer
t
geometry
kernel
UVUnwrapping.h
Generated on Wed Jan 28 2026 09:00:55 for ACloudViewer by
1.9.1