Lines Matching refs:treeIterator
3890 cvInitTreeNodeIterator( CvTreeNodeIterator* treeIterator, in cvInitTreeNodeIterator() argument
3897 if( !treeIterator || !first ) in cvInitTreeNodeIterator()
3903 treeIterator->node = (void*)first; in cvInitTreeNodeIterator()
3904 treeIterator->level = 0; in cvInitTreeNodeIterator()
3905 treeIterator->max_level = max_level; in cvInitTreeNodeIterator()
3912 cvNextTreeNode( CvTreeNodeIterator* treeIterator ) in cvNextTreeNode() argument
3923 if( !treeIterator ) in cvNextTreeNode()
3926 prevNode = node = (CvTreeNode*)treeIterator->node; in cvNextTreeNode()
3927 level = treeIterator->level; in cvNextTreeNode()
3931 if( node->v_next && level+1 < treeIterator->max_level ) in cvNextTreeNode()
3947 node = node && treeIterator->max_level != 0 ? node->h_next : 0; in cvNextTreeNode()
3951 treeIterator->node = node; in cvNextTreeNode()
3952 treeIterator->level = level; in cvNextTreeNode()
3961 cvPrevTreeNode( CvTreeNodeIterator* treeIterator ) in cvPrevTreeNode() argument
3972 if( !treeIterator ) in cvPrevTreeNode()
3975 prevNode = node = (CvTreeNode*)treeIterator->node; in cvPrevTreeNode()
3976 level = treeIterator->level; in cvPrevTreeNode()
3990 while( node->v_next && level < treeIterator->max_level ) in cvPrevTreeNode()
4001 treeIterator->node = node; in cvPrevTreeNode()
4002 treeIterator->level = level; in cvPrevTreeNode()