58 #include <OpenMesh/Tools/VDPM/VFront.hh>
75 add(VHierarchyNodeHandle _node_handle)
77 front_location_[_node_handle.idx()] = front_.insert(front_.end(), _node_handle);
83 remove(VHierarchyNodeHandle _node_handle)
85 VHierarchyNodeHandleListIter node_it = front_location_[_node_handle.idx()];
86 const bool isFront = (front_it_ == node_it);
87 VHierarchyNodeHandleListIter next_it = front_.erase(node_it);
88 front_location_[_node_handle.idx()] = front_.end();
96 is_active(VHierarchyNodeHandle _node_handle)
98 return (front_location_[_node_handle.idx()] != front_.end()) ?
true :
false;
107 front_location_.resize(_roots.size() + 2*_n_details);
108 for (i=0; i<front_location_.size(); ++i)
109 front_location_[i] = front_.end();
111 for (i=0; i<_roots.size(); ++i)
std::vector< VHierarchyNodeHandle > VHierarchyNodeHandleContainer
Container for vertex hierarchy node handles.