~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/blender/freestyle/intern/python/Director.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ***** BEGIN GPL LICENSE BLOCK *****
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU General Public License
 
6
 * as published by the Free Software Foundation; either version 2
 
7
 * of the License, or (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17
 *
 
18
 * ***** END GPL LICENSE BLOCK *****
 
19
 */
 
20
 
 
21
/** \file source/blender/freestyle/intern/python/Director.h
 
22
 *  \ingroup freestyle
 
23
 */
 
24
 
 
25
#ifndef __FREESTYLE_PYTHON_DIRECTOR_H__
 
26
#define __FREESTYLE_PYTHON_DIRECTOR_H__
 
27
 
 
28
namespace Freestyle {
 
29
class UnaryPredicate0D;
 
30
class UnaryPredicate1D;
 
31
class BinaryPredicate0D;
 
32
class BinaryPredicate1D;
 
33
class ChainingIterator;
 
34
class AdjacencyIterator;
 
35
class Interface0D;
 
36
class Interface1D;
 
37
class Interface0DIterator;
 
38
class Stroke;
 
39
class StrokeShader;
 
40
}
 
41
 
 
42
using namespace Freestyle;
 
43
 
 
44
#ifdef __cplusplus
 
45
extern "C" {
 
46
#endif
 
47
 
 
48
#include <Python.h>
 
49
 
 
50
#ifdef __cplusplus
 
51
}
 
52
#endif
 
53
 
 
54
// BinaryPredicate0D: __call__
 
55
int Director_BPy_BinaryPredicate0D___call__(BinaryPredicate0D *bp0D, Interface0D& i1, Interface0D& i2);
 
56
 
 
57
// BinaryPredicate1D: __call__
 
58
int Director_BPy_BinaryPredicate1D___call__(BinaryPredicate1D *bp1D, Interface1D& i1, Interface1D& i2);
 
59
 
 
60
// UnaryFunction{0D,1D}: __call__
 
61
int Director_BPy_UnaryFunction0D___call__(void *uf0D, PyObject *obj, Interface0DIterator& if0D_it);
 
62
int Director_BPy_UnaryFunction1D___call__(void *uf1D, PyObject *obj, Interface1D& if1D);
 
63
 
 
64
// UnaryPredicate0D: __call__
 
65
int Director_BPy_UnaryPredicate0D___call__(UnaryPredicate0D *up0D, Interface0DIterator& if0D_it);
 
66
        
 
67
// UnaryPredicate1D: __call__
 
68
int Director_BPy_UnaryPredicate1D___call__(UnaryPredicate1D *up1D, Interface1D& if1D);
 
69
 
 
70
// StrokeShader: shade
 
71
int Director_BPy_StrokeShader_shade(StrokeShader *ss, Stroke& s);
 
72
 
 
73
// ChainingIterator: init, traverse
 
74
int Director_BPy_ChainingIterator_init(ChainingIterator *c_it);
 
75
int Director_BPy_ChainingIterator_traverse(ChainingIterator *c_it, AdjacencyIterator& a_it);
 
76
 
 
77
#endif // __FREESTYLE_PYTHON_DIRECTOR_H__