53 #include <OpenMesh/Tools/VDPM/VFront.hh> 70 add(VHierarchyNodeHandle _node_handle)
72 front_location_[_node_handle.idx()] = front_.insert(front_.end(), _node_handle);
78 remove(VHierarchyNodeHandle _node_handle)
80 VHierarchyNodeHandleListIter node_it = front_location_[_node_handle.idx()];
81 const bool isFront = (front_it_ == node_it);
82 VHierarchyNodeHandleListIter next_it = front_.erase(node_it);
83 front_location_[_node_handle.idx()] = front_.end();
91 is_active(VHierarchyNodeHandle _node_handle)
93 return (front_location_[_node_handle.idx()] != front_.end()) ?
true :
false;
102 front_location_.resize(_roots.size() + 2*_n_details);
103 for (i=0; i<front_location_.size(); ++i)
104 front_location_[i] = front_.end();
106 for (i=0; i<_roots.size(); ++i)
std::vector< VHierarchyNodeHandle > VHierarchyNodeHandleContainer
Container for vertex hierarchy node handles.