diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-25 00:39:13 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-07-25 00:39:13 +0400 |
commit | 2860bc5d5b1b2495c52a64eb7b30490e24ca4a41 (patch) | |
tree | a6ed765de3b7d66f1e28e7652f483194f690c028 /source/blender/freestyle/intern/python/Interface0D | |
parent | a0359c37506d05589bae86e4818fa653c8f281ab (diff) |
soc-2008-mxcurioni: cleaned up the Convert header file to prevent cyclic or header positioning problems and adapted classes accordingly
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface0D')
4 files changed, 10 insertions, 13 deletions
diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp index 6765bc84baa..7fce126d309 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp @@ -1,6 +1,7 @@ #include "BPy_CurvePoint.h" #include "../BPy_Convert.h" +#include "../Interface0D/BPy_SVertex.h" #ifdef __cplusplus extern "C" { diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp index bbfff34cb20..233ee3f10b5 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp @@ -2,6 +2,7 @@ #include "../BPy_Convert.h" #include "../BPy_Id.h" +#include "../Interface1D/BPy_FEdge.h" #ifdef __cplusplus extern "C" { diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp index 7e6ef8590fd..2c68dc0e2e3 100644 --- a/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp @@ -1,6 +1,7 @@ #include "BPy_ViewVertex.h" #include "../BPy_Convert.h" +#include "../BPy_Nature.h" #ifdef __cplusplus extern "C" { @@ -115,16 +116,7 @@ int ViewVertex___init__(BPy_ViewVertex *self ) return 0; } -// PyObject * ViewVertex___copy__( BPy_ViewVertex *self ) { -// BPy_ViewVertex *py_vv; -// -// py_vv = (BPy_ViewVertex *) ViewVertex_Type.tp_new( &ViewVertex_Type, 0, 0 ); -// -// py_vv->vv = self->vv->duplicate(); -// py_svertex->py_if0D.if->sv; -// -// return (PyObject *) py_svertex; -// } + PyObject * ViewVertex_setNature( BPy_ViewVertex *self, PyObject *args ) { PyObject *py_n; @@ -140,7 +132,10 @@ PyObject * ViewVertex_setNature( BPy_ViewVertex *self, PyObject *args ) { Py_RETURN_NONE; } - +//PyObject * ViewVertex_edgesBegin( BPy_ViewVertex *self ) { + // orientedViewEdgeIterator ove( self->vv->edgesBegin() ) + // return BPy_orientedViewEdgeIterator_from_orientedViewEdgeIterator( ove ); +//} /////////////////////////////////////////////////////////////////////////////////////////// @@ -149,9 +144,8 @@ PyObject * ViewVertex_setNature( BPy_ViewVertex *self, PyObject *args ) { #endif -// virtual string getExactTypeName () const -// void setNature (Nature::VertexNature iNature) + // virtual ViewVertexInternal::orientedViewEdgeIterator edgesBegin ()=0 // virtual ViewVertexInternal::orientedViewEdgeIterator edgesEnd ()=0 // virtual ViewVertexInternal::orientedViewEdgeIterator edgesIterator (ViewEdge *iEdge)=0 diff --git a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp index 2039b165457..3616e69447f 100644 --- a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp +++ b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp @@ -2,6 +2,7 @@ #include "../../BPy_Convert.h" #include "../../BPy_StrokeAttribute.h" +#include "../../Interface0D/BPy_SVertex.h" #ifdef __cplusplus extern "C" { |