MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
mesh_io.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2015, Simon Fuhrmann
3 * TU Darmstadt - Graphics, Capture and Massively Parallel Computing
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD 3-Clause license. See the LICENSE.txt file for details.
8 */
9
10#ifndef MVE_MESH_IO_HEADER
11#define MVE_MESH_IO_HEADER
12
13#include <string>
14
15#include "mve/defines.h"
16#include "mve/mesh.h"
17
20
24TriangleMesh::Ptr
25load_mesh (std::string const& filename);
26
30void
31save_mesh (TriangleMesh::ConstPtr mesh, std::string const& filename);
32
35
36#endif /* MVE_MESH_IO_HEADER */
#define MVE_NAMESPACE_BEGIN
Definition defines.h:13
#define MVE_NAMESPACE_END
Definition defines.h:14
#define MVE_GEOM_NAMESPACE_END
Definition defines.h:20
#define MVE_GEOM_NAMESPACE_BEGIN
Definition defines.h:19
TriangleMesh::Ptr load_mesh(std::string const &filename)
Auto-detects filetype from extension and delegates to readers.
Definition mesh_io.cc:26
void save_mesh(TriangleMesh::ConstPtr mesh, std::string const &filename)
Auto-detects filetype from extension and delegates to writers.
Definition mesh_io.cc:47