soc-2008-mxcurioni: completed implementing ViewEdgeIterator and ChainingIterator. Updated UnaryPredicate{0D,1D}

This commit is contained in:
Maxime Curioni
2008-07-26 19:32:47 +00:00
parent b216e4d12d
commit 13364bf208
12 changed files with 532 additions and 24 deletions

View File

@@ -8,6 +8,10 @@
#include "Iterator/BPy_SVertexIterator.h"
#include "Iterator/BPy_orientedViewEdgeIterator.h"
#include "Iterator/BPy_ViewEdgeIterator.h"
#include "Iterator/BPy_ChainingIterator.h"
// #include "Iterator/BPy_ChainPredicateIterator.h"
// #include "Iterator/BPy_ChainSilhouetteIterator.h"
#ifdef __cplusplus
@@ -167,6 +171,21 @@ PyMODINIT_FUNC Iterator_Init( PyObject *module )
Py_INCREF( &ViewEdgeIterator_Type );
PyModule_AddObject(module, "ViewEdgeIterator", (PyObject *)&ViewEdgeIterator_Type);
if( PyType_Ready( &ChainingIterator_Type ) < 0 )
return;
Py_INCREF( &ChainingIterator_Type );
PyModule_AddObject(module, "ChainingIterator", (PyObject *)&ChainingIterator_Type);
// if( PyType_Ready( &ChainPredicateIterator_Type ) < 0 )
// return;
// Py_INCREF( &ChainPredicateIterator_Type );
// PyModule_AddObject(module, "ChainPredicateIterator", (PyObject *)&ChainPredicateIterator_Type);
//
// if( PyType_Ready( &ChainSilhouetteIterator_Type ) < 0 )
// return;
// Py_INCREF( &ChainSilhouetteIterator_Type );
// PyModule_AddObject(module, "ChainSilhouetteIterator", (PyObject *)&ChainSilhouetteIterator_Type);
}