Go to the documentation of this file.
21 template<
typename HalfedgeGraph,
30 typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor;
58 std::vector<Vector> residuals;
60 residuals.push_back(std::move(vec1));
61 residuals.push_back(std::move(vec2));
70 std::vector< Vector > residuals;
72 residuals.push_back(std::move(vec1));
73 residuals.push_back(std::move(vec2));
76 Vector save = std::move(residuals[0]);
77 residuals[0] = std::move(residuals[1]);
78 residuals[1] = std::move(save);
84 std::pair< Point, Point >
place_points(
const std::vector<Vector> &residuals,
91 return std::make_pair(p1,p2);
typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor halfedge_descriptor
typename FEVV::Geometry_traits< HalfedgeGraph >::Vector Vector
typename FEVV::Geometry_traits< HalfedgeGraph >::Point Point
std::vector< Vector > compute_residuals(Collapse_info< HalfedgeGraph, PointMap > &mem) override
void record_error_prediction(const std::vector< Vector > &pred)
Raw_positions(HalfedgeGraph &g, Kept_position< HalfedgeGraph, PointMap > *kp, PointMap &pm)
Refer to Geometry_traits_documentation_dummy for further documentation on provided types and algorith...
Abstract class used to predict position.
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.
FEVV::Filters::PREDICTION_TYPE _type
Interfaces for plugins These interfaces will be used for different plugins.
typename FEVV::Geometry_traits< HalfedgeGraph > Geometry
std::vector< Vector > compute_residuals(vertex_descriptor v1, vertex_descriptor v2, Point)
void set_rev(bool) override
std::pair< Point, Point > place_points(const std::vector< Vector > &residuals, vertex_descriptor vkept, halfedge_descriptor, halfedge_descriptor) override
Decompression side: predicts a position from encoded residuals.
boost::graph_traits< MeshT >::vertex_descriptor vertex_descriptor
std::string get_as_string() const override
Predictor< HalfedgeGraph, PointMap > Super_class
typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor vertex_descriptor