48 #ifndef OPENMESH_VDPROGMESH_VFRONT_HH
49 #define OPENMESH_VDPROGMESH_VFRONT_HH
54 #include <OpenMesh/Core/System/config.h>
55 #include <OpenMesh/Tools/VDPM/VHierarchyNode.hh>
77 typedef VHierarchyNodeHandleList::iterator VHierarchyNodeHandleListIter;
78 enum VHierarchyNodeStatus { kSplit, kActive, kCollapse };
81 VHierarchyNodeHandleListIter front_it_;
82 std::vector<VHierarchyNodeHandleListIter> front_location_;
88 void clear() { front_.clear(); front_location_.clear(); }
89 void begin() { front_it_ = front_.begin(); }
90 bool end() {
return (front_it_ == front_.end()) ?
true :
false; }
91 void next() { ++front_it_; }
92 int size() {
return (
int) front_.size(); }
106 #endif // OPENMESH_VDPROGMESH_VFRONT_HH defined