 |
OpenMesh
|
Go to the documentation of this file.
53 #ifndef OPENMESH_DECIMATER_COLLAPSEINFOT_HH
54 #define OPENMESH_DECIMATER_COLLAPSEINFOT_HH
85 CollapseInfoT(Mesh& _mesh,
typename Mesh::HalfedgeHandle _heh);
89 typename Mesh::HalfedgeHandle
v0v1;
90 typename Mesh::HalfedgeHandle
v1v0;
95 typename Mesh::FaceHandle
fl;
96 typename Mesh::FaceHandle
fr;
103 typename Mesh::HalfedgeHandle
vlv1, v0vl, vrv0, v1vr;
130 typename Mesh::HalfedgeHandle _heh) :
131 mesh(_mesh), v0v1(_heh), v1v0(_mesh.opposite_halfedge_handle(v0v1)), v0(
132 _mesh.to_vertex_handle(v1v0)), v1(_mesh.to_vertex_handle(v0v1)), p0(
133 _mesh.point(v0)), p1(_mesh.point(v1)), fl(_mesh.face_handle(v0v1)), fr(
134 _mesh.face_handle(v1v0))
139 vlv1 = mesh.next_halfedge_handle(
v0v1);
140 v0vl = mesh.next_halfedge_handle(
vlv1);
141 vl = mesh.to_vertex_handle(
vlv1);
142 vlv1 = mesh.opposite_halfedge_handle(
vlv1);
143 v0vl = mesh.opposite_halfedge_handle(v0vl);
148 vrv0 = mesh.next_halfedge_handle(
v1v0);
149 v1vr = mesh.next_halfedge_handle(vrv0);
150 vr = mesh.to_vertex_handle(vrv0);
151 vrv0 = mesh.opposite_halfedge_handle(vrv0);
152 v1vr = mesh.opposite_halfedge_handle(v1vr);
160 #endif // OPENMESH_DECIMATER_COLLAPSEINFOT_HH defined
Mesh::HalfedgeHandle v1v0
Reverse halfedge.
Definition: CollapseInfoT.hh:90
Mesh::HalfedgeHandle vlv1
Outer remaining halfedge of diamond spanned by v0, v1, vl, and vr.
Definition: CollapseInfoT.hh:103
Stores information about a halfedge collapse.
Definition: CollapseInfoT.hh:74
Mesh::Point p1
Positions of remaining vertex.
Definition: CollapseInfoT.hh:94
Kernel::VertexHandle VertexHandle
Handle for referencing the corresponding item.
Definition: PolyMeshT.hh:136
Mesh::HalfedgeHandle v0v1
Halfedge to be collapsed.
Definition: CollapseInfoT.hh:89
CollapseInfoT(Mesh &_mesh, typename Mesh::HalfedgeHandle _heh)
Initializing constructor.
Definition: CollapseInfoT.hh:129
Mesh::Point p0
Position of removed vertex.
Definition: CollapseInfoT.hh:93
Mesh::VertexHandle v0
Vertex to be removed.
Definition: CollapseInfoT.hh:91
Kernel::Point Point
Coordinate type.
Definition: PolyMeshT.hh:112
Mesh::FaceHandle fr
Right face.
Definition: CollapseInfoT.hh:96
Mesh::VertexHandle vl
Left vertex.
Definition: CollapseInfoT.hh:97
Mesh::VertexHandle v1
Remaining vertex.
Definition: CollapseInfoT.hh:92
Mesh::FaceHandle fl
Left face.
Definition: CollapseInfoT.hh:95
This file contains all code required to use Eigen3 vectors as Mesh vectors.
Definition: MeshItems.hh:59
Mesh::VertexHandle vr
Right vertex.
Definition: CollapseInfoT.hh:98
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.