ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pc_io.h
Go to the documentation of this file.
1 /* License Information
2  *
3  * Copyright (C) ONERA, The French Aerospace Lab
4  * Author: Alexandre BOULCH
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to deal
8  * in the Software without restriction, including without limitation the rights
9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10  * copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in
14  * all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22  * SOFTWARE.
23  *
24  *
25  * Note that this library relies on external libraries subject to their own
26  * license. To use this software, you are subject to the dependencies license,
27  * these licenses applies to the dependency ONLY and NOT this code. Please
28  * refer below to the web sites for license informations: PCL, BOOST,NANOFLANN,
29  * EIGEN, LUA TORCH
30  *
31  * When using the software please aknowledge the corresponding publication:
32  * "Deep Learning for Robust Normal Estimation in Unstructured Point Clouds "
33  * by Alexandre Boulch and Renaud Marlet
34  * Symposium of Geometry Processing 2016, Computer Graphics Forum
35  */
36 
37 #ifndef PC_IO_HEADER
38 #define PC_IO_HEADER
39 
40 #include <string>
41 
42 #include "Eigen/Dense"
43 
44 void pc_load(const std::string& filename, Eigen::MatrixX3d& pc);
45 void pc_save(const std::string& filename,
46  const Eigen::MatrixX3d& pc,
47  const Eigen::MatrixX3d& normals);
48 
49 #endif
std::string filename
double normals[3]
void pc_load(const std::string &filename, Eigen::MatrixX3d &pc)
Definition: pc_io.cpp:46
void pc_save(const std::string &filename, const Eigen::MatrixX3d &pc, const Eigen::MatrixX3d &normals)
Definition: pc_io.cpp:64