#include <tri_edge_collapse_quadric.h>
Public Member Functions | |
QInfoStandard () | |
Static Public Member Functions | |
static void | Init () |
static void | Merge (VERTEX_TYPE &v_dest, VERTEX_TYPE const &v_del) |
static math::Quadric< double > & | Qd (VERTEX_TYPE *v) |
static math::Quadric< double > & | Qd (VERTEX_TYPE &v) |
static VERTEX_TYPE::ScalarType | W (VERTEX_TYPE &v) |
static VERTEX_TYPE::ScalarType | W (VERTEX_TYPE *v) |
This class describe Quadric based collapse operation.
Requirements:
Vertex must have: incremental mark VF topology
must have: members
QuadricType Qd();
ScalarType W() const; A per-vertex Weight that can be used in simplification lower weight means that error is lowered, standard: return W==1.0
void Merge(MESH_TYPE::vertex_type const & v); Merges the attributes of the current vertex with the ones of v (e.g. its weight with the one of the given vertex, the color ect). Standard: void function;
OtherWise the class should be templated with a static helper class that helps to retrieve these functions. If the vertex class exposes these functions a default static helper class is provided.
Definition at line 123 of file tri_edge_collapse_quadric.h.
vcg::tri::QInfoStandard< VERTEX_TYPE >::QInfoStandard | ( | ) | [inline] |
Definition at line 126 of file tri_edge_collapse_quadric.h.
static void vcg::tri::QInfoStandard< VERTEX_TYPE >::Init | ( | ) | [inline, static] |
Definition at line 127 of file tri_edge_collapse_quadric.h.
static void vcg::tri::QInfoStandard< VERTEX_TYPE >::Merge | ( | VERTEX_TYPE & | v_dest, | |
VERTEX_TYPE const & | v_del | |||
) | [inline, static] |
Definition at line 132 of file tri_edge_collapse_quadric.h.
static math::Quadric<double>& vcg::tri::QInfoStandard< VERTEX_TYPE >::Qd | ( | VERTEX_TYPE * | v | ) | [inline, static] |
Definition at line 129 of file tri_edge_collapse_quadric.h.
static math::Quadric<double>& vcg::tri::QInfoStandard< VERTEX_TYPE >::Qd | ( | VERTEX_TYPE & | v | ) | [inline, static] |
Definition at line 128 of file tri_edge_collapse_quadric.h.
static VERTEX_TYPE::ScalarType vcg::tri::QInfoStandard< VERTEX_TYPE >::W | ( | VERTEX_TYPE & | v | ) | [inline, static] |
Definition at line 131 of file tri_edge_collapse_quadric.h.
static VERTEX_TYPE::ScalarType vcg::tri::QInfoStandard< VERTEX_TYPE >::W | ( | VERTEX_TYPE * | v | ) | [inline, static] |
Definition at line 130 of file tri_edge_collapse_quadric.h.