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

#include <CollapseInfoT.hh>

List of all members.

Public Member Functions

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

Public Attributes

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

Mesh::HalfedgeHandle v0vl
Mesh::HalfedgeHandle v1vr
Mesh::HalfedgeHandle vlv1
Mesh::HalfedgeHandle vrv0

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:

collapse_info.png
See also:
ModProgMeshT::Info

Definition at line 77 of file CollapseInfoT.hh.


Constructor & Destructor Documentation

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.

Parameters:
_mesh Mesh source
_heh Halfedge to 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 138 of file CollapseInfoT.hh.


Member Data Documentation

template<class Mesh >
Mesh::FaceHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::fl

Left face.

Definition at line 99 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::FaceHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::fr

Right face.

Definition at line 100 of file CollapseInfoT.hh.

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

Definition at line 91 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::Point OpenMesh::Decimater::CollapseInfoT< Mesh >::p0

Position of removed vertex.

Definition at line 97 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::Point OpenMesh::Decimater::CollapseInfoT< Mesh >::p1

Positions of remaining vertex.

Definition at line 98 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::VertexHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::v0

Vertex to be removed.

Definition at line 95 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::HalfedgeHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::v0v1

Halfedge to be collapsed.

Definition at line 93 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::HalfedgeHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::v0vl

Definition at line 107 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::VertexHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::v1

Remaining vertex.

Definition at line 96 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::HalfedgeHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::v1v0

Reverse halfedge.

Definition at line 94 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::HalfedgeHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::v1vr

Definition at line 107 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::VertexHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::vl

Left vertex.

Definition at line 101 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::HalfedgeHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::vlv1

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

Definition at line 107 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::VertexHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::vr

Right vertex.

Definition at line 102 of file CollapseInfoT.hh.

template<class Mesh >
Mesh::HalfedgeHandle OpenMesh::Decimater::CollapseInfoT< Mesh >::vrv0

Definition at line 107 of file CollapseInfoT.hh.


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


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:17 2013