Developer Documentation
OpenMesh::Decimater::CollapseInfoT< Mesh > Struct Template Reference

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Tools/Decimater/CollapseInfoT.hh>

Public Member Functions

 CollapseInfoT (Mesh &_mesh, typename Mesh::HalfedgeHandle _heh)
 

Public Attributes

Meshmesh
 
Mesh::HalfedgeHandle v0v1
 Halfedge to be collapsed. More...
 
Mesh::HalfedgeHandle v1v0
 Reverse halfedge. More...
 
Mesh::VertexHandle v0
 Vertex to be removed. More...
 
Mesh::VertexHandle v1
 Remaining vertex. More...
 
Mesh::Point p0
 Position of removed vertex. More...
 
Mesh::Point p1
 Positions of remaining vertex. More...
 
Mesh::FaceHandle fl
 Left face. More...
 
Mesh::FaceHandle fr
 Right face. More...
 
Mesh::VertexHandle vl
 Left vertex. More...
 
Mesh::VertexHandle vr
 Right vertex. More...
 
Mesh::HalfedgeHandle vlv1
 
Mesh::HalfedgeHandle v0vl
 
Mesh::HalfedgeHandle vrv0
 
Mesh::HalfedgeHandle v1vr
 

Detailed Description

template<class Mesh>
struct OpenMesh::Decimater::CollapseInfoT< Mesh >

Stores information about a halfedge collapse.

The class stores information about a halfedge collapse. The most important information is v0v1, v1v0, v0, v1, vl, vr, which you can lookup in the following image:

See also
ModProgMeshT::Info

Definition at line 74 of file CollapseInfoT.hh.

Constructor & Destructor Documentation

◆ CollapseInfoT()

template<class Mesh >
OpenMesh::Decimater::CollapseInfoT< Mesh >::CollapseInfoT ( Mesh _mesh,
typename Mesh::HalfedgeHandle  _heh 
)
inline

Initializing constructor.

Given a mesh and a halfedge handle of the halfedge to be collapsed all important information of a halfedge collapse will be stored.

Local configuration of halfedge collapse to be stored in CollapseInfoT:

vl
 *
/ \

/ \ / fl \ v0 ---—> v1 \ fr / \ / \ /

  • vr
Parameters
_meshReference to mesh
_hehThe halfedge (v0 -> v1) defining the collapse The direction of the halfedge defines the direction of the collapse, i.e. the from-vertex will be removed and the to-vertex remains.

Definition at line 127 of file CollapseInfoT.hh.

Member Data Documentation

◆ fl

Left face.

Definition at line 86 of file CollapseInfoT.hh.

◆ fr

Right face.

Definition at line 87 of file CollapseInfoT.hh.

◆ mesh

template<class Mesh >
Mesh& OpenMesh::Decimater::CollapseInfoT< Mesh >::mesh

Definition at line 78 of file CollapseInfoT.hh.

◆ p0

Position of removed vertex.

Definition at line 84 of file CollapseInfoT.hh.

◆ p1

Positions of remaining vertex.

Definition at line 85 of file CollapseInfoT.hh.

◆ v0

Vertex to be removed.

Definition at line 82 of file CollapseInfoT.hh.

◆ v0v1

Halfedge to be collapsed.

Definition at line 80 of file CollapseInfoT.hh.

◆ v0vl

Definition at line 94 of file CollapseInfoT.hh.

◆ v1

Remaining vertex.

Definition at line 83 of file CollapseInfoT.hh.

◆ v1v0

Reverse halfedge.

Definition at line 81 of file CollapseInfoT.hh.

◆ v1vr

Definition at line 94 of file CollapseInfoT.hh.

◆ vl

Left vertex.

Definition at line 88 of file CollapseInfoT.hh.

◆ vlv1

Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr

Definition at line 94 of file CollapseInfoT.hh.

◆ vr

Right vertex.

Definition at line 89 of file CollapseInfoT.hh.

◆ vrv0

Definition at line 94 of file CollapseInfoT.hh.


The documentation for this struct was generated from the following file: