Blender
V4.3
source
blender
freestyle
intern
python
Iterator
BPy_StrokeVertexIterator.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
#include "
../BPy_Iterator.h
"
12
13
#include "
../../stroke/StrokeIterators.h
"
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
20
21
extern
PyTypeObject
StrokeVertexIterator_Type
;
22
23
#define BPy_StrokeVertexIterator_Check(v) \
24
(PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeVertexIterator_Type))
25
26
/*---------------------------Python BPy_StrokeVertexIterator structure definition----------*/
27
typedef
struct
{
28
BPy_Iterator
py_it
;
29
Freestyle::StrokeInternal::StrokeVertexIterator
*
sv_it
;
30
bool
reversed
;
31
/* attribute to make next() work correctly */
32
bool
at_start
;
33
}
BPy_StrokeVertexIterator
;
34
36
37
#ifdef __cplusplus
38
}
39
#endif
BPy_Iterator.h
StrokeVertexIterator_Type
PyTypeObject StrokeVertexIterator_Type
Definition
BPy_StrokeVertexIterator.cpp:299
StrokeIterators.h
Iterators used to iterate over the elements of the Stroke.
Freestyle::StrokeInternal::StrokeVertexIterator
Definition
StrokeIterators.h:35
BPy_Iterator
Definition
BPy_Iterator.h:28
BPy_StrokeVertexIterator
Definition
BPy_StrokeVertexIterator.h:27
BPy_StrokeVertexIterator::sv_it
Freestyle::StrokeInternal::StrokeVertexIterator * sv_it
Definition
BPy_StrokeVertexIterator.h:29
BPy_StrokeVertexIterator::reversed
bool reversed
Definition
BPy_StrokeVertexIterator.h:30
BPy_StrokeVertexIterator::py_it
BPy_Iterator py_it
Definition
BPy_StrokeVertexIterator.h:28
BPy_StrokeVertexIterator::at_start
bool at_start
Definition
BPy_StrokeVertexIterator.h:32
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0