Go to the documentation of this file.
23 typename HalfedgeGraph,
32 typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor;
47 std::make_tuple< bool, bool, bool, bool >(
false,
false,
false,
false);
67 std::vector< Vector > residuals;
80 std::pair< Point, Point >
place_points(
const std::vector< Vector > &residuals,
88 if(residuals.size() == 2)
127 return std::make_pair(p1, p2);
void set_bit_info(bool b1, bool b2, bool b3, bool b4)
void set_rev(bool b) override
typename FEVV::Geometry_traits< HalfedgeGraph >::Vector Vector
virtual FEVV::Filters::PREDICTION_TYPE get_type() const
void record_error_prediction(const std::vector< Vector > &pred)
const std::tuple< bool, bool, bool, bool > & get_midpoint() const
Refer to Geometry_traits_documentation_dummy for further documentation on provided types and algorith...
std::string get_as_string() const override
std::vector< Vector > compute_residuals(Collapse_info< HalfedgeGraph, PointMap > &mem) 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.
Abstract class used to predict position.
std::tuple< bool, bool, bool, bool > _round_midpoint
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
typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor vertex_descriptor
Interfaces for plugins These interfaces will be used for different plugins.
typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor halfedge_descriptor
Predictor< HalfedgeGraph, PointMap > Super_class
Delta_predictor(HalfedgeGraph &_g, Kept_position< HalfedgeGraph, PointMap > *kp, PointMap &pm)
typename FEVV::Geometry_traits< HalfedgeGraph > Geometry
boost::graph_traits< MeshT >::vertex_descriptor vertex_descriptor
std::map< vertex_descriptor, Vector > _vkept_to_other_residual
typename FEVV::Geometry_traits< HalfedgeGraph >::Point Point
Kept_position< HalfedgeGraph, PointMap > * _kp