vcg::tri::QInfoStandard< VERTEX_TYPE > Class Template Reference

#include <tri_edge_collapse_quadric.h>

List of all members.

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)

Detailed Description

template<class VERTEX_TYPE>
class vcg::tri::QInfoStandard< VERTEX_TYPE >

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.


Constructor & Destructor Documentation

template<class VERTEX_TYPE >
vcg::tri::QInfoStandard< VERTEX_TYPE >::QInfoStandard (  )  [inline]

Definition at line 126 of file tri_edge_collapse_quadric.h.


Member Function Documentation

template<class VERTEX_TYPE >
static void vcg::tri::QInfoStandard< VERTEX_TYPE >::Init (  )  [inline, static]

Definition at line 127 of file tri_edge_collapse_quadric.h.

template<class VERTEX_TYPE >
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.

template<class VERTEX_TYPE >
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.

template<class VERTEX_TYPE >
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.

template<class VERTEX_TYPE >
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.

template<class VERTEX_TYPE >
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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:34 2013