2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-02-23 18:32:28 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup freestyle
|
2013-02-23 18:32:28 +00:00
|
|
|
*/
|
|
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
#pragma once
|
2008-07-30 01:51:40 +00:00
|
|
|
|
2013-04-09 00:46:49 +00:00
|
|
|
namespace Freestyle {
|
2009-07-31 22:13:48 +00:00
|
|
|
class UnaryPredicate0D;
|
|
|
|
|
class UnaryPredicate1D;
|
|
|
|
|
class BinaryPredicate0D;
|
|
|
|
|
class BinaryPredicate1D;
|
|
|
|
|
class ChainingIterator;
|
2008-08-02 07:39:49 +00:00
|
|
|
class AdjacencyIterator;
|
2008-07-31 08:50:12 +00:00
|
|
|
class Interface0D;
|
|
|
|
|
class Interface1D;
|
|
|
|
|
class Interface0DIterator;
|
|
|
|
|
class Stroke;
|
2009-07-31 22:13:48 +00:00
|
|
|
class StrokeShader;
|
2013-04-09 00:46:49 +00:00
|
|
|
} // namespace Freestyle
|
|
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// BinaryPredicate0D: __call__
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_BinaryPredicate0D___call__(Freestyle::BinaryPredicate0D *bp0D,
|
|
|
|
|
Freestyle::Interface0D &i1,
|
|
|
|
|
Freestyle::Interface0D &i2);
|
2008-07-31 08:50:12 +00:00
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// BinaryPredicate1D: __call__
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_BinaryPredicate1D___call__(Freestyle::BinaryPredicate1D *bp1D,
|
|
|
|
|
Freestyle::Interface1D &i1,
|
|
|
|
|
Freestyle::Interface1D &i2);
|
2008-07-31 08:50:12 +00:00
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// UnaryFunction{0D,1D}: __call__
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_UnaryFunction0D___call__(void *uf0D,
|
|
|
|
|
void *py_uf0D,
|
|
|
|
|
Freestyle::Interface0DIterator &if0D_it);
|
|
|
|
|
int Director_BPy_UnaryFunction1D___call__(void *uf1D, void *py_uf1D, Freestyle::Interface1D &if1D);
|
2008-08-02 07:39:49 +00:00
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// UnaryPredicate0D: __call__
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_UnaryPredicate0D___call__(Freestyle::UnaryPredicate0D *up0D,
|
|
|
|
|
Freestyle::Interface0DIterator &if0D_it);
|
2018-06-17 17:05:14 +02:00
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// UnaryPredicate1D: __call__
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_UnaryPredicate1D___call__(Freestyle::UnaryPredicate1D *up1D,
|
|
|
|
|
Freestyle::Interface1D &if1D);
|
2008-07-31 08:50:12 +00:00
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// StrokeShader: shade
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_StrokeShader_shade(Freestyle::StrokeShader *ss, Freestyle::Stroke &s);
|
2008-07-31 08:50:12 +00:00
|
|
|
|
2013-02-24 02:32:56 +00:00
|
|
|
// ChainingIterator: init, traverse
|
2021-02-08 17:28:15 +02:00
|
|
|
int Director_BPy_ChainingIterator_init(Freestyle::ChainingIterator *c_it);
|
|
|
|
|
int Director_BPy_ChainingIterator_traverse(Freestyle::ChainingIterator *c_it,
|
|
|
|
|
Freestyle::AdjacencyIterator &a_it);
|