Volume Cartographer 2.27.0
TexturedMesh.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <opencv2/core.hpp>
6
9
10namespace volcart
11{
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;
30 cv::Mat img;
31};
32} // namespace volcart
std::shared_ptr< UVMap > Pointer
Definition: UVMap.hpp:55
Volume Cartographer library
Convenience type for textured meshes.
UVMap::Pointer uv
UV map.
cv::Mat img
Texture image.
TexturedMesh(ITKMesh::Pointer m, UVMap::Pointer u, cv::Mat i)
Constructor with member components.
TexturedMesh()=default
Default constructor.
ITKMesh::Pointer mesh
Mesh geometry.