MEPP2 Project
|
#include <Delta_predictor.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 | |
Delta_predictor (HalfedgeGraph &_g, Kept_position< HalfedgeGraph, PointMap > *kp, PointMap &pm) | |
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... | |
const std::tuple< bool, bool, bool, bool > & | get_midpoint () const |
void | set_bit_info (bool b1, bool b2, bool b3, bool b4) |
void | set_rev (bool b) override |
std::string | get_as_string () const override |
~Delta_predictor () | |
![]() | |
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 |
Private Attributes | |
Point | Apred |
Point | Bpred |
Vector | DApred |
Vector | DBpred |
Vector | Dpred |
std::tuple< bool, bool, bool, bool > | _round_midpoint |
Point | _source |
Point | _target |
std::map< vertex_descriptor, Vector > | _vkept_to_other_residual |
bool | _rev |
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 25 of file Delta_predictor.h.
using FEVV::Filters::Delta_predictor< HalfedgeGraph, PointMap >::Geometry = typename FEVV::Geometry_traits< HalfedgeGraph > |
Definition at line 35 of file Delta_predictor.h.
using FEVV::Filters::Delta_predictor< HalfedgeGraph, PointMap >::halfedge_descriptor = typename boost::graph_traits< HalfedgeGraph >::halfedge_descriptor |
Definition at line 31 of file Delta_predictor.h.
using FEVV::Filters::Delta_predictor< HalfedgeGraph, PointMap >::Point = typename FEVV::Geometry_traits< HalfedgeGraph >::Point |
Definition at line 34 of file Delta_predictor.h.
typedef Predictor< HalfedgeGraph, PointMap > FEVV::Filters::Delta_predictor< HalfedgeGraph, PointMap >::Super_class |
Definition at line 38 of file Delta_predictor.h.
using FEVV::Filters::Delta_predictor< HalfedgeGraph, PointMap >::Vector = typename FEVV::Geometry_traits< HalfedgeGraph >::Vector |
Definition at line 33 of file Delta_predictor.h.
using FEVV::Filters::Delta_predictor< HalfedgeGraph, PointMap >::vertex_descriptor = typename boost::graph_traits< HalfedgeGraph >::vertex_descriptor |
Definition at line 29 of file Delta_predictor.h.
|
inline |
Definition at line 39 of file Delta_predictor.h.
|
inline |
Definition at line 145 of file Delta_predictor.h.
|
inlineoverridevirtual |
Compression side: Computes geometric residuals from a set of info about the collapse.
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 51 of file Delta_predictor.h.
|
inlineoverridevirtual |
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 143 of file Delta_predictor.h.
|
inline |
Definition at line 133 of file Delta_predictor.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 80 of file Delta_predictor.h.
|
inline |
Definition at line 137 of file Delta_predictor.h.
|
inlineoverridevirtual |
Implements FEVV::Filters::Predictor< HalfedgeGraph, PointMap >.
Definition at line 141 of file Delta_predictor.h.
|
private |
Definition at line 155 of file Delta_predictor.h.
|
private |
Definition at line 151 of file Delta_predictor.h.
|
private |
Definition at line 152 of file Delta_predictor.h.
|
private |
Definition at line 153 of file Delta_predictor.h.
|
private |
Definition at line 154 of file Delta_predictor.h.
|
private |
Definition at line 148 of file Delta_predictor.h.
|
private |
Definition at line 148 of file Delta_predictor.h.
|
private |
Definition at line 149 of file Delta_predictor.h.
|
private |
Definition at line 149 of file Delta_predictor.h.
|
private |
Definition at line 150 of file Delta_predictor.h.