MEPP2 Project
Examples
OpenMesh
helloworld_filter_openmesh.cpp
Go to the documentation of this file.
1
// Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2
// All rights reserved.
3
//
4
// This file is part of MEPP2; you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as
6
// published by the Free Software Foundation; either version 3 of
7
// the License, or (at your option) any later version.
8
//
9
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11
// The following include is generic: it works without any change for
12
// all mesh datastructures. This should be true for all code to be
13
// encountered in directories mentioning "Generic" within their pathname.
14
#include "
Examples/Generic/Helloworld/helloworld_main.hpp
"
15
16
// The following include defines the FEVV::MeshOpenMesh type that is
17
// used below when instantiating helloworld_main<>
18
#include "
FEVV/DataStructures/DataStructures_openmesh.h
"
19
20
// The filter itself (Examples/Generic/Helloworld/helloworld_filter.hpp),
21
// as included by helloworld_main.hpp, manipulates both the geometry
22
// of the mesh as well as some of the mesh properties. The following
23
// includes respectively allow the filter to use expressions like
24
// `FEVV::Geometry_traits<...>` and
25
// `FEVV::Face_pmap<HalfedgeGraph, float> my_property_map;`.
26
#include "
FEVV/Wrappings/Geometry_traits_openmesh.h
"
27
#include "
FEVV/Wrappings/properties_openmesh.h
"
28
29
30
// Main: load a mesh, apply the filter, write the mesh
31
int
32
main
(
int
argc,
const
char
**argv)
33
{
34
return
helloworld_main< FEVV::MeshOpenMesh >(argc, argv);
35
}
main
int main(int argc, const char **argv)
Definition:
helloworld_filter_openmesh.cpp:32
Geometry_traits_openmesh.h
helloworld_main.hpp
DataStructures_openmesh.h
properties_openmesh.h
Generated by
1.8.20