diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/Director.h')
-rw-r--r-- | source/blender/freestyle/intern/python/Director.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/source/blender/freestyle/intern/python/Director.h b/source/blender/freestyle/intern/python/Director.h index eecab146a5d..ccce8280cb4 100644 --- a/source/blender/freestyle/intern/python/Director.h +++ b/source/blender/freestyle/intern/python/Director.h @@ -4,6 +4,11 @@ #include "../geometry/Geom.h" #include "../winged_edge/Nature.h" +class UnaryPredicate0D; +class UnaryPredicate1D; +class BinaryPredicate0D; +class BinaryPredicate1D; +class ChainingIterator; class AdjacencyIterator; class FEdge; class Id; @@ -12,6 +17,7 @@ class Interface1D; class Interface0DIterator; class NonTVertex; class Stroke; +class StrokeShader; class SVertex; class TVertex; class ViewEdge; @@ -29,10 +35,10 @@ extern "C" { #endif // BinaryPredicate0D: __call__ -int Director_BPy_BinaryPredicate0D___call__( PyObject *obj, Interface0D& i1, Interface0D& i2); +int Director_BPy_BinaryPredicate0D___call__( BinaryPredicate0D *bp0D, Interface0D& i1, Interface0D& i2 ); // BinaryPredicate1D: __call__ -int Director_BPy_BinaryPredicate1D___call__( PyObject *obj, Interface1D& i1, Interface1D& i2); +int Director_BPy_BinaryPredicate1D___call__( BinaryPredicate1D *bp1D, Interface1D& i1, Interface1D& i2 ); // Interface0D: getX, getY, getZ, getPoint3D, getProjectedX, getProjectedY, getProjectedZ, getPoint2D, getFEdge, getId, getNature, castToSVertex, castToViewVertex, castToNonTVertex, castToTVertex double Director_BPy_Interface0D_getX( PyObject *obj ); @@ -65,13 +71,13 @@ int Director_BPy_UnaryFunction0D___call__( void *uf0D, PyObject *obj, Interface0 int Director_BPy_UnaryFunction1D___call__( void *uf1D, PyObject *obj, Interface1D& if1D); // UnaryPredicate0D: __call__ -int Director_BPy_UnaryPredicate0D___call__( PyObject *obj, Interface0DIterator& if0D_it); +int Director_BPy_UnaryPredicate0D___call__( UnaryPredicate0D *up0D, Interface0DIterator& if0D_it ); // UnaryPredicate1D: __call__ -int Director_BPy_UnaryPredicate1D___call__( PyObject *obj, Interface1D& if1D); +int Director_BPy_UnaryPredicate1D___call__( UnaryPredicate1D *up1D, Interface1D& if1D ); // StrokeShader: shade -int Director_BPy_StrokeShader_shade( PyObject *obj, Stroke& s); +int Director_BPy_StrokeShader_shade( StrokeShader *ss, Stroke& s ); // Iterator: increment, decrement, isBegin, isEnd void Director_BPy_Iterator_increment( PyObject *obj ); @@ -80,8 +86,8 @@ bool Director_BPy_Iterator_isBegin( PyObject *obj ); bool Director_BPy_Iterator_isEnd( PyObject *obj ); // ChainingIterator: init, traverse -int Director_BPy_ChainingIterator_init( PyObject *obj ); -int Director_BPy_ChainingIterator_traverse( PyObject *obj, AdjacencyIterator& a_it, ViewEdge **ve ); +int Director_BPy_ChainingIterator_init( ChainingIterator *c_it ); +int Director_BPy_ChainingIterator_traverse( ChainingIterator *c_it, AdjacencyIterator& a_it ); |