55 #ifndef OPENMESH_VDPROGMESH_VFRONT_HH 56 #define OPENMESH_VDPROGMESH_VFRONT_HH 61 #include <OpenMesh/Core/System/config.h> 62 #include <OpenMesh/Tools/VDPM/VHierarchyNode.hh> 84 typedef VHierarchyNodeHandleList::iterator VHierarchyNodeHandleListIter;
85 enum VHierarchyNodeStatus { kSplit, kActive, kCollapse };
88 VHierarchyNodeHandleListIter front_it_;
89 std::vector<VHierarchyNodeHandleListIter> front_location_;
95 void clear() { front_.clear(); front_location_.clear(); }
96 void begin() { front_it_ = front_.begin(); }
97 bool end() {
return (front_it_ == front_.end()) ?
true :
false; }
98 void next() { ++front_it_; }
99 int size() {
return (
int) front_.size(); }
113 #endif // OPENMESH_VDPROGMESH_VFRONT_HH defined Active nodes in vertex hierarchy.
Definition: VFront.hh:80
std::vector< VHierarchyNodeHandle > VHierarchyNodeHandleContainer
Container for vertex hierarchy node handles.
Definition: VHierarchyNode.hh:188
std::list< VHierarchyNodeHandle > VHierarchyNodeHandleList
Container for vertex hierarchy node handles.
Definition: VHierarchyNode.hh:191
Handle for vertex hierarchy nodes.
Definition: VHierarchyNode.hh:82
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64