32 #ifndef LVR2_ALGORITHM_CONTOURALGORITHMS_H_ 33 #define LVR2_ALGORITHM_CONTOURALGORITHMS_H_ 83 template<
typename BaseVecT,
typename VisitorF,
typename PredF>
85 const BaseMesh<BaseVecT>&
mesh,
94 template<
typename BaseVecT,
typename VisitorF>
96 const BaseMesh<BaseVecT>&
mesh,
107 template<
typename BaseVecT,
typename PredF>
109 const BaseMesh<BaseVecT>&
mesh,
111 std::vector<EdgeHandle>& contourOut,
121 template<
typename BaseVecT>
123 const BaseMesh<BaseVecT>&
mesh,
125 std::vector<EdgeHandle>& contourOut
134 template<
typename BaseVecT,
typename PredF>
136 const BaseMesh<BaseVecT>&
mesh,
138 std::vector<VertexHandle>& contourOut,
148 template<
typename BaseVecT>
150 const BaseMesh<BaseVecT>&
mesh,
152 std::vector<VertexHandle>& contourOut
157 #include "lvr2/algorithm/ContourAlgorithms.tcc"
void walkContour(const BaseMesh< BaseVecT > &mesh, EdgeHandle startH, VisitorF visitor, PredF exists)
Walks on a boundary contour starting at startH.
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...
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...