soc-2008-mxcurioni: implemented (but did not test) ChainPredicateIterator and ChainSilhouetteIterator
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#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"
|
||||
#include "Iterator/BPy_ChainPredicateIterator.h"
|
||||
#include "Iterator/BPy_ChainSilhouetteIterator.h"
|
||||
|
||||
|
||||
|
||||
@@ -176,15 +176,15 @@ PyMODINIT_FUNC Iterator_Init( PyObject *module )
|
||||
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);
|
||||
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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user