Volume Cartographer
2.27.0
vc
core
types
TexturedMesh.hpp
Go to the documentation of this file.
1
#pragma once
2
5
#include <opencv2/core.hpp>
6
7
#include "
vc/core/types/ITKMesh.hpp
"
8
#include "
vc/core/types/UVMap.hpp
"
9
10
namespace
volcart
11
{
17
struct
TexturedMesh
{
19
TexturedMesh
() =
default
;
21
TexturedMesh
(ITKMesh::Pointer m,
UVMap::Pointer
u, cv::Mat i)
22
:
mesh
{std::move(m)},
uv
{std::move(u)},
img
{std::move(i)}
23
{
24
}
26
ITKMesh::Pointer
mesh
;
28
UVMap::Pointer
uv
;
30
cv::Mat
img
;
31
};
32
}
// namespace volcart
ITKMesh.hpp
UVMap.hpp
volcart::UVMap::Pointer
std::shared_ptr< UVMap > Pointer
Definition:
UVMap.hpp:55
volcart
Volume Cartographer library
volcart::TexturedMesh
Convenience type for textured meshes.
Definition:
TexturedMesh.hpp:17
volcart::TexturedMesh::uv
UVMap::Pointer uv
UV map.
Definition:
TexturedMesh.hpp:28
volcart::TexturedMesh::img
cv::Mat img
Texture image.
Definition:
TexturedMesh.hpp:30
volcart::TexturedMesh::TexturedMesh
TexturedMesh(ITKMesh::Pointer m, UVMap::Pointer u, cv::Mat i)
Constructor with member components.
Definition:
TexturedMesh.hpp:21
volcart::TexturedMesh::TexturedMesh
TexturedMesh()=default
Default constructor.
volcart::TexturedMesh::mesh
ITKMesh::Pointer mesh
Mesh geometry.
Definition:
TexturedMesh.hpp:26
Generated by
1.9.4