Commit ad933369 authored by Simon Boyé's avatar Simon Boyé

Added missing license header in various files.

parent 48d82107
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*!
Use gradient descent
......
......@@ -4,7 +4,7 @@
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Generated by shader2cpp.
// 2015-04-24T12:57:27.242722
// 2015-05-04T13:44:58.234871
#ifndef _VITELOTTE_UTILS_VG_MESH_GL2_RENDERER_SHADERS_
......
......@@ -4,7 +4,7 @@
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Generated by shader2cpp.
// 2015-04-24T12:57:27.204247
// 2015-05-04T13:44:58.201174
#ifndef _VITELOTTE_UTILS_VG_MESH_RENDERER_SHADERS_
......
......@@ -13,3 +13,9 @@
-g _VITELOTTE_UTILS_VG_MESH_GL2_RENDERER_SHADERS_ \
-o Patate/Vitelotte/Utils/vgMeshGL2RendererShaders.hpp \
Patate/Vitelotte/Utils/vgMeshGL2RendererShaders/*
./bin/shader2cpp \
-e \
-l \
-o examples/Vitelotte/common/shaders.cpp \
examples/Vitelotte/common/shaders/*
......@@ -71,8 +71,8 @@ if namespaces:
if ns != '':
print("}", file=out)
print(file=out)
if options.include_guard:
print("#endif", file=out)
out.close()
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <boost/thread/thread.hpp>
#include <pcl/point_types.h>
#include <pcl/io/ply_io.h>
......@@ -117,4 +123,4 @@ int main()
viewer->spinOnce (100);
boost::this_thread::sleep (boost::posix_time::microseconds (100000));
}
}
\ No newline at end of file
}
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <pcl/point_types.h>
#include <pcl/impl/instantiate.hpp>
......@@ -5,4 +11,4 @@
#include "pcl_wrapper.hpp"
// Instantiations of specific point types
PCL_INSTANTIATE_PRODUCT(GlsCurvature, ((pcl::PointNormal)(pcl::PointXYZRGBNormal)(pcl::PointXYZINormal))((pcl::PointNormal)(pcl::PointXYZRGBNormal)(pcl::PointXYZINormal)));
\ No newline at end of file
PCL_INSTANTIATE_PRODUCT(GlsCurvature, ((pcl::PointNormal)(pcl::PointXYZRGBNormal)(pcl::PointXYZINormal))((pcl::PointNormal)(pcl::PointXYZRGBNormal)(pcl::PointXYZINormal)));
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef PCL_FEATURES_GLS_CURVATURE_H_
#define PCL_FEATURES_GLS_CURVATURE_H_
......@@ -86,4 +92,4 @@ namespace pcl
computeFeatureEigen (pcl::PointCloud<Eigen::MatrixXf> &) {}
};
}
#endif // PCL_FEATURES_GLS_CURVATURE_H_
\ No newline at end of file
#endif // PCL_FEATURES_GLS_CURVATURE_H_
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef PCL_FEATURES_GLS_CURVATURE_IMPL_H_
#define PCL_FEATURES_GLS_CURVATURE_IMPL_H_
......@@ -88,4 +94,4 @@ pcl::GlsCurvature<PointInT, PointOutT>::computeCurvature(const pcl::PointCloud<P
#define PCL_INSTANTIATE_GlsCurvature(T, OutT) template class PCL_EXPORTS pcl::GlsCurvature<T, OutT>;
#endif // PCL_FEATURES_GLS_CURVATURE_IMPL_H_
\ No newline at end of file
#endif // PCL_FEATURES_GLS_CURVATURE_IMPL_H_
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "bezierCurve.h"
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_BEZIER_CURVE_
#define _EXAMPLES_VITELOTTE_COMMON_BEZIER_CURVE_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <GL/glew.h>
#include "glLineRenderer.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_GL_LINE_RENDERER_
#define _EXAMPLES_VITELOTTE_COMMON_GL_LINE_RENDERER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <GL/glew.h>
#include "glPointRenderer.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_GL_POINT_RENDERER_
#define _EXAMPLES_VITELOTTE_COMMON_GL_POINT_RENDERER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "orthographicCamera.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_ORTHOGRAPHIC_CAMERA_
#define _EXAMPLES_VITELOTTE_COMMON_ORTHOGRAPHIC_CAMERA_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_PLOT_OBJ_
#define _EXAMPLES_VITELOTTE_COMMON_PLOT_OBJ_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// Generated by shader2cpp.
// 2015-01-05T18:11:19.424778
// 2015-05-04T13:44:58.265314
extern const char* frag_lines_glsl;
const char* frag_lines_glsl =
"/*\n"
" This Source Code Form is subject to the terms of the Mozilla Public\n"
" License, v. 2.0. If a copy of the MPL was not distributed with this\n"
" file, You can obtain one at http://mozilla.org/MPL/2.0/.\n"
"*/\n"
"\n"
"#version 410 core\n"
"\n"
"flat in vec4 color[2];\n"
......@@ -39,6 +50,12 @@ const char* frag_lines_glsl =
extern const char* frag_points_glsl;
const char* frag_points_glsl =
"/*\n"
" This Source Code Form is subject to the terms of the Mozilla Public\n"
" License, v. 2.0. If a copy of the MPL was not distributed with this\n"
" file, You can obtain one at http://mozilla.org/MPL/2.0/.\n"
"*/\n"
"\n"
"#version 410 core\n"
"\n"
"flat in vec4 color;\n"
......@@ -60,6 +77,12 @@ const char* frag_points_glsl =
extern const char* geom_lines_glsl;
const char* geom_lines_glsl =
"/*\n"
" This Source Code Form is subject to the terms of the Mozilla Public\n"
" License, v. 2.0. If a copy of the MPL was not distributed with this\n"
" file, You can obtain one at http://mozilla.org/MPL/2.0/.\n"
"*/\n"
"\n"
"#version 410 core\n"
"\n"
"layout(lines) in;\n"
......@@ -118,6 +141,12 @@ const char* geom_lines_glsl =
extern const char* geom_points_glsl;
const char* geom_points_glsl =
"/*\n"
" This Source Code Form is subject to the terms of the Mozilla Public\n"
" License, v. 2.0. If a copy of the MPL was not distributed with this\n"
" file, You can obtain one at http://mozilla.org/MPL/2.0/.\n"
"*/\n"
"\n"
"#version 410 core\n"
"\n"
"layout(points) in;\n"
......@@ -170,6 +199,12 @@ const char* geom_points_glsl =
extern const char* vert_lines_glsl;
const char* vert_lines_glsl =
"/*\n"
" This Source Code Form is subject to the terms of the Mozilla Public\n"
" License, v. 2.0. If a copy of the MPL was not distributed with this\n"
" file, You can obtain one at http://mozilla.org/MPL/2.0/.\n"
"*/\n"
"\n"
"#version 410 core\n"
"\n"
"uniform mat4 viewMatrix;\n"
......@@ -191,6 +226,12 @@ const char* vert_lines_glsl =
extern const char* vert_points_glsl;
const char* vert_points_glsl =
"/*\n"
" This Source Code Form is subject to the terms of the Mozilla Public\n"
" License, v. 2.0. If a copy of the MPL was not distributed with this\n"
" file, You can obtain one at http://mozilla.org/MPL/2.0/.\n"
"*/\n"
"\n"
"#version 410 core\n"
"\n"
"uniform mat4 viewMatrix;\n"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 410 core
flat in vec4 color[2];
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 410 core
flat in vec4 color;
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 410 core
layout(lines) in;
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 410 core
layout(points) in;
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 410 core
uniform mat4 viewMatrix;
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#version 410 core
uniform mat4 viewMatrix;
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <cassert>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_TEXT_FORMATTER_
#define _EXAMPLES_VITELOTTE_COMMON_TEXT_FORMATTER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "trackball.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_TRACKBALL_
#define _EXAMPLES_VITELOTTE_COMMON_TRACKBALL_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "vgMeshWithCurves.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_VG_MESH_WITH_CURVES_
#define _EXAMPLES_VITELOTTE_COMMON_VG_MESH_WITH_CURVES_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <string>
#include <sstream>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_VG_MESH_WITH_CURVES_READER_
#define _EXAMPLES_VITELOTTE_COMMON_VG_MESH_WITH_CURVES_READER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "vgMeshWithCurvesWriter.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_VG_MESH_WITH_CURVES_WRITER_
#define _EXAMPLES_VITELOTTE_COMMON_VG_MESH_WITH_CURVES_WRITER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <GL/glew.h>
#include "vgNodeRenderer.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _EXAMPLES_VITELOTTE_COMMON_VG_NODE_RENDERER_
#define _EXAMPLES_VITELOTTE_COMMON_VG_NODE_RENDERER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <limits>
#include <QFileDialog>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVG_EDITOR_DOCUMENT_
#define _MVG_EDITOR_DOCUMENT_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <cstdlib>
#include <iostream>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVG_EDITOR_EDITOR_
#define _MVG_EDITOR_EDITOR_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <iostream>
#include "GL/glew.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <QSplitter>
#include <QMenuBar>
#include <QMenu>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVG_EDITOR_MAIN_WINDOW_
#define _MVG_EDITOR_MAIN_WINDOW_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <QPainter>
#include <QPaintEvent>
#include <QColorDialog>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVG_EDITOR_VALUE_EDITOR_
#define _MVG_EDITOR_VALUE_EDITOR_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <Eigen/Geometry>
#include <iostream>
#include <fstream>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVG_VIEWER_MVG_VIEWER_
#define _MVG_VIEWER_MVG_VIEWER_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "checkCommand.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVGTK_CHECK_COMMAND_
#define _MVGTK_CHECK_COMMAND_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "compactCommand.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVGTK_COMPACT_COMMAND_
#define _MVGTK_COMPACT_COMMAND_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "convertCommand.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVGTK_CONVERT_COMMAND_
#define _MVGTK_CONVERT_COMMAND_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "curvesToNodesCommand.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVGTK_CURVES_TO_NODES_COMMAND_
#define _MVGTK_CURVES_TO_NODES_COMMAND_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "finalizeCommand.h"
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef _MVGTK_FINALIZE_COMMAND_
#define _MVGTK_FINALIZE_COMMAND_
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <cstdlib>
#include <iostream>
......
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <fstream>
#include <iostream>
...