Go to the documentation of this file.
14 #include <boost/graph/graph_traits.hpp>
16 #include <boost/graph/properties.hpp>
28 typename HalfedgeGraph,
32 typename halfedge_descriptor =
33 typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor,
118 _v3 = boost::graph_traits< HalfedgeGraph >::null_vertex();
119 _v4 = boost::graph_traits< HalfedgeGraph >::null_vertex();
120 if(!CGAL::is_border(h,
_g))
vertex_descriptor get_vkept() const
void record_error_prediction(const std::vector< Vector > &pred)
void record_v3_v4(halfedge_descriptor h)
const std::vector< Vector > & get_error_prediction() const
Class used to store information on a single edge collapse operation.
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor opposite(typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor h, const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns the halfedge with source and target swapped.
Refer to Geometry_traits_documentation_dummy for further documentation on provided types and algorith...
const Point & get_pos_vkept() const
Get edge kept position.
Collapse_info(HalfedgeGraph &g, PointMap &pm)
void record_vkept(vertex_descriptor vkept)
int get_num_collapse() const
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor source(typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_descriptor e, const FEVV::DataStructures::AIF::AIFMesh &)
Returns the source vertex of e.
void record_vt_vs_pos(const Point &v1, const Point &v2)
const Point & get_pos_vs() const
Get edge source vertex position.
const Point & get_pos_vt() const
Get edge target vertex position.
FEVV::PCLPointCloudPointMap::value_type get(const FEVV::PCLPointCloudPointMap &pm, FEVV::PCLPointCloudPointMap::key_type key)
Specialization of get(point_map, key) for PCLPointCloud.
void record_pos_vkept(vertex_descriptor vkept)
Interfaces for plugins These interfaces will be used for different plugins.
void set_num_collapse(int nb)
vertex_descriptor get_v4() const
vertex_descriptor get_v3() const
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor prev(typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::halfedge_descriptor h, const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns the previous halfedge around its face.
std::vector< Vector > _error_prediction
boost::graph_traits< MeshT >::vertex_descriptor vertex_descriptor
Point _pos_vkept
target and source vertex positions
void record_reverse(bool rev)