50#ifndef OPENMESH_VDPROGMESH_VFRONT_HH
51#define OPENMESH_VDPROGMESH_VFRONT_HH
56#include <OpenMesh/Core/System/config.h>
57#include <OpenMesh/Tools/VDPM/VHierarchyNode.hh>
79 typedef VHierarchyNodeHandleList::iterator VHierarchyNodeHandleListIter;
80 enum VHierarchyNodeStatus { kSplit, kActive, kCollapse };
83 VHierarchyNodeHandleListIter front_it_;
84 std::vector<VHierarchyNodeHandleListIter> front_location_;
90 void clear() { front_.clear(); front_location_.clear(); }
91 void begin() { front_it_ = front_.begin(); }
92 bool end() {
return (front_it_ == front_.end()) ? true :
false; }
93 void next() { ++front_it_; }
94 int size() {
return (
int) front_.size(); }
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
std::vector< VHierarchyNodeHandle > VHierarchyNodeHandleContainer
Container for vertex hierarchy node handles.
Definition: VHierarchyNode.hh:183
std::list< VHierarchyNodeHandle > VHierarchyNodeHandleList
Container for vertex hierarchy node handles.
Definition: VHierarchyNode.hh:186
Active nodes in vertex hierarchy.
Definition: VFront.hh:76
Handle for vertex hierarchy nodes
Definition: VHierarchyNode.hh:78