55 #ifndef OPENMESH_VDPROGMESH_VFRONT_HH
56 #define OPENMESH_VDPROGMESH_VFRONT_HH
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
std::list< VHierarchyNodeHandle > VHierarchyNodeHandleList
Container for vertex hierarchy node handles.
std::vector< VHierarchyNodeHandle > VHierarchyNodeHandleContainer
Container for vertex hierarchy node handles.