50 #ifndef OPENMESH_VDPROGMESH_VFRONT_HH 51 #define OPENMESH_VDPROGMESH_VFRONT_HH 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(); }
108 #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.