Go to the source code of this file.
◆ PyDoc_STRVAR() [1/2]
| PyDoc_STRVAR |
( |
UnaryFunction0D___doc__ | , |
|
|
"Base class for Unary Functions (functors) working on\n" ":class:`Interface0DIterator`. A unary function will be used by\n" "invoking __call__() on an Interface0DIterator. In | Python, |
|
|
several\n" "different subclasses of UnaryFunction0D are used depending on the\n" "types of functors' return values. For | example, |
|
|
you would inherit from\n" "a :class:`UnaryFunction0DDouble` if you wish to define a function that\n" "returns a double value. Available UnaryFunction0D subclasses are:\n" "\n" " *:class:`UnaryFunction0DDouble`\n" " *:class:`UnaryFunction0DEdgeNature`\n" " *:class:`UnaryFunction0DFloat`\n" " *:class:`UnaryFunction0DId`\n" " *:class:`UnaryFunction0DMaterial`\n" " *:class:`UnaryFunction0DUnsigned`\n" " *:class:`UnaryFunction0DVec2f`\n" " *:class:`UnaryFunction0DVec3f`\n" " *:class:`UnaryFunction0DVectorViewShape`\n" " *:class:`UnaryFunction0DViewShape`\n" | ) |
◆ PyDoc_STRVAR() [2/2]
| PyDoc_STRVAR |
( |
UnaryFunction0D_name_doc | , |
|
|
"The name of the unary 0D function.\n" "\n" ":type: str" | ) |
◆ UnaryFunction0D___dealloc__()
◆ UnaryFunction0D___repr__()
◆ UnaryFunction0D_Init()
| int UnaryFunction0D_Init |
( |
PyObject * | module | ) |
|
Definition at line 31 of file BPy_UnaryFunction0D.cpp.
References module, UnaryFunction0D_Type, UnaryFunction0DDouble_Init(), UnaryFunction0DEdgeNature_Init(), UnaryFunction0DFloat_Init(), UnaryFunction0DId_Init(), UnaryFunction0DMaterial_Init(), UnaryFunction0DUnsigned_Init(), UnaryFunction0DVec2f_Init(), UnaryFunction0DVec3f_Init(), UnaryFunction0DVectorViewShape_Init(), and UnaryFunction0DViewShape_Init().
Referenced by Freestyle_Init().
◆ UnaryFunction0D_name_get()
◆ BPy_UnaryFunction0D_getseters
| PyGetSetDef BPy_UnaryFunction0D_getseters[] |
|
static |
Initial value:= {
{"name",
(setter) nullptr,
UnaryFunction0D_name_doc,
nullptr},
{nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * UnaryFunction0D_name_get(BPy_UnaryFunction0D *self, void *)
Definition at line 104 of file BPy_UnaryFunction0D.cpp.
◆ UnaryFunction0D_Type
| PyTypeObject UnaryFunction0D_Type |
Definition at line 115 of file BPy_UnaryFunction0D.cpp.
Referenced by Integrator_integrate(), UnaryFunction0D_Init(), UnaryFunction0DDouble___dealloc__(), UnaryFunction0DEdgeNature___dealloc__(), UnaryFunction0DFloat___dealloc__(), UnaryFunction0DId___dealloc__(), UnaryFunction0DMaterial___dealloc__(), UnaryFunction0DUnsigned___dealloc__(), UnaryFunction0DVec2f___dealloc__(), UnaryFunction0DVec3f___dealloc__(), UnaryFunction0DVectorViewShape___dealloc__(), and UnaryFunction0DViewShape___dealloc__().