MEPP2 Project
|
#include <Raw_positions.h>
Public Types | |
using | vertex_descriptor = typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor |
using | halfedge_descriptor = typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor |
using | Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector |
using | Point = typename FEVV::Geometry_traits< HalfedgeGraph >::Point |
using | Geometry = typename FEVV::Geometry_traits< HalfedgeGraph > |
typedef Predictor< HalfedgeGraph, PointMap > | Super_class |
![]() | |
using | vertex_descriptor = typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor |
using | halfedge_descriptor = typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor |
using | face_descriptor = typename boost::graph_traits< HalfedgeGraph >::face_descriptor |
using | Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector |
using | Point = typename FEVV::Geometry_traits< HalfedgeGraph >::Point |
using | Geometry = typename FEVV::Geometry_traits< HalfedgeGraph > |
Public Member Functions | |
Raw_positions (HalfedgeGraph &g, Kept_position< HalfedgeGraph, PointMap > *kp, PointMap &pm) | |
~Raw_positions () | |
std::vector< Vector > | compute_residuals (vertex_descriptor v1, vertex_descriptor v2, Point) |
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. More... | |
void | set_rev (bool) override |
std::string | get_as_string () const override |
![]() | |
Predictor (HalfedgeGraph &g, Kept_position< HalfedgeGraph, PointMap > *kp, PointMap &pm) | |
virtual | ~Predictor () |
virtual FEVV::Filters::PREDICTION_TYPE | get_type () const |
virtual const Point & | get_kept_position () const |
virtual FEVV::Filters::VKEPT_POSITION | get_type_KP () const |
int | get_nb_residuals () const |
Additional Inherited Members | |
![]() | |
Kept_position< HalfedgeGraph, PointMap > * | _kp |
HalfedgeGraph & | _g |
const Geometry | _gt |
PointMap & | _pm |
int | _nbResiduals |
Point | _kept_position |
FEVV::Filters::PREDICTION_TYPE | _type |
Definition at line 23 of file Raw_positions.h.
using FEVV::Filters::Raw_positions< HalfedgeGraph, PointMap >::Geometry = typename FEVV::Geometry_traits< HalfedgeGraph > |
Definition at line 33 of file Raw_positions.h.
using FEVV::Filters::Raw_positions< HalfedgeGraph, PointMap >::halfedge_descriptor = typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor |
Definition at line 29 of file Raw_positions.h.
using FEVV::Filters::Raw_positions< HalfedgeGraph, PointMap >::Point = typename FEVV::Geometry_traits< HalfedgeGraph >::Point |
Definition at line 32 of file Raw_positions.h.
typedef Predictor<HalfedgeGraph,PointMap> FEVV::Filters::Raw_positions< HalfedgeGraph, PointMap >::Super_class |
Definition at line 36 of file Raw_positions.h.
using FEVV::Filters::Raw_positions< HalfedgeGraph, PointMap >::Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector |
Definition at line 31 of file Raw_positions.h.
using FEVV::Filters::Raw_positions< HalfedgeGraph, PointMap >::vertex_descriptor = typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor |
Definition at line 27 of file Raw_positions.h.
|
inline |
Definition at line 38 of file Raw_positions.h.
|
inline |
Definition at line 46 of file Raw_positions.h.
|
inlineoverridevirtual |
Compression side: Computes geometric residuals from a set of info about the collapse.
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 66 of file Raw_positions.h.
|
inline |
|
inlineoverridevirtual |
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 96 of file Raw_positions.h.
|
inlineoverridevirtual |
Decompression side: predicts a position from encoded residuals.
h1 | should be target (h1) and target(h2) |
h2 | first halfedge to expand into a face second halfedge to expand into a face |
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 84 of file Raw_positions.h.
|
inlineoverridevirtual |
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 94 of file Raw_positions.h.