ContourAlgorithms.hpp
Go to the documentation of this file.
1 
28 /*
29  * ContourAlgorithms.hpp
30  */
31 
32 #ifndef LVR2_ALGORITHM_CONTOURALGORITHMS_H_
33 #define LVR2_ALGORITHM_CONTOURALGORITHMS_H_
34 
35 
38 
39 #include <vector>
40 
41 namespace lvr2
42 {
43 
83 template<typename BaseVecT, typename VisitorF, typename PredF>
84 void walkContour(
85  const BaseMesh<BaseVecT>& mesh,
86  EdgeHandle startH,
87  VisitorF visitor,
88  PredF exists
89 );
90 
94 template<typename BaseVecT, typename VisitorF>
95 void walkContour(
96  const BaseMesh<BaseVecT>& mesh,
97  EdgeHandle startH,
98  VisitorF visitor
99 );
100 
107 template<typename BaseVecT, typename PredF>
108 void calcContourEdges(
109  const BaseMesh<BaseVecT>& mesh,
110  EdgeHandle startH,
111  std::vector<EdgeHandle>& contourOut,
112  PredF exists
113 );
114 
121 template<typename BaseVecT>
122 void calcContourEdges(
123  const BaseMesh<BaseVecT>& mesh,
124  EdgeHandle startH,
125  std::vector<EdgeHandle>& contourOut
126 );
127 
134 template<typename BaseVecT, typename PredF>
136  const BaseMesh<BaseVecT>& mesh,
137  EdgeHandle startH,
138  std::vector<VertexHandle>& contourOut,
139  PredF exists
140 );
141 
148 template<typename BaseVecT>
150  const BaseMesh<BaseVecT>& mesh,
151  EdgeHandle startH,
152  std::vector<VertexHandle>& contourOut
153 );
154 
155 } // namespace lvr2
156 
157 #include "lvr2/algorithm/ContourAlgorithms.tcc"
158 
159 #endif /* LVR2_ALGORITHM_CONTOURALGORITHMS_H_ */
Handles.hpp
lvr2::calcContourEdges
void calcContourEdges(const BaseMesh< BaseVecT > &mesh, EdgeHandle startH, std::vector< EdgeHandle > &contourOut, PredF exists)
Walks on a boundary contour starting at startH and adds all visited edges to the given out vector.
BaseMesh.hpp
lvr2::walkContour
void walkContour(const BaseMesh< BaseVecT > &mesh, EdgeHandle startH, VisitorF visitor, PredF exists)
Walks on a boundary contour starting at startH.
lvr2::calcContourVertices
void calcContourVertices(const BaseMesh< BaseVecT > &mesh, EdgeHandle startH, std::vector< VertexHandle > &contourOut, PredF exists)
Walks on a boundary contour starting at startH and adds all visited vertices to the given out vector.
lvr2
Definition: BaseBufferManipulators.hpp:39
mesh
HalfEdgeMesh< Vec > mesh
Definition: src/tools/lvr2_gs_reconstruction/Main.cpp:26


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:23