MEPP2 Project
Graph_traits_extension_pcl_point_cloud.h
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 #pragma once
12 
13 /*
14  * Specialization of graph traits extension
15  * for FEVV::PCLPointCloud
16  */
17 
18 #include "Graph_traits_extension.h"
20 
21 namespace FEVV {
22 
23 
31 inline
34 {
35  return num_vertices(g);
36 }
37 
38 
46 inline
47 int
49 {
50  return 0;
51 }
52 
53 
61 inline
62 int
64 {
65  return 0;
66 }
67 
68 
76 inline
77 int
79 {
80  return 0;
81 }
82 
83 
84 } // namespace FEVV
85 
86 
87 // ELO note: Clear mesh
88 // see
89 // http://doc.cgal.org/latest/Surface_mesh/classCGAL_1_1Surface__mesh.html#a247d4ad3e6b106ae22e5306203812642
90 //
91 // void clear()
92 // removes all vertices, halfedge, edges and faces. Collects garbage and
93 // clears all properties.
94 // see
95 // CGAL-4.9/include/CGAL/boost/graph/helpers.h
96 //
97 
98 
boost::graph_traits< FEVV::PCLPointCloud >::vertices_size_type
index_type vertices_size_type
Definition: Graph_traits_pcl_point_cloud.h:61
FEVV::DataStructures::AIF::num_vertices
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertices_size_type num_vertices(const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns an upper bound of the number of vertices of the mesh.
Definition: Graph_traits_aif.h:191
FEVV::size_of_halfedges
boost::graph_traits< MeshT >::halfedges_size_type size_of_halfedges(const MeshT &g)
Real current number of halfedges of the mesh. Generic version.
Definition: Graph_traits_extension.h:63
Graph_traits_pcl_point_cloud.h
FEVV::PCLPointCloud
pcl::PointCloud< PCLEnrichedPoint > PCLPointCloud
Definition: DataStructures_pcl_point_cloud.h:28
FEVV::size_of_edges
boost::graph_traits< MeshT >::edges_size_type size_of_edges(const MeshT &g)
Real current number of edges of the mesh. Generic version.
Definition: Graph_traits_extension.h:46
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition: Assert.h:16
FEVV::size_of_faces
boost::graph_traits< MeshT >::faces_size_type size_of_faces(const MeshT &g)
Real current number of faces of the mesh. Generic version.
Definition: Graph_traits_extension.h:80
Graph_traits_extension.h
FEVV::size_of_vertices
boost::graph_traits< MeshT >::vertices_size_type size_of_vertices(const MeshT &g)
Real current number of vertices of the mesh. Generic version.
Definition: Graph_traits_extension.h:29