Blender  V3.3
Functions | Variables
BPy_DensityF0D.cpp File Reference
#include "BPy_DensityF0D.h"
#include "../../../stroke/AdvancedFunctions0D.h"

Go to the source code of this file.

Functions

static int DensityF0D___init__ (BPy_DensityF0D *self, PyObject *args, PyObject *kwds)
 

Variables

static char DensityF0D___doc__ []
 
PyTypeObject DensityF0D_Type
 

Function Documentation

◆ DensityF0D___init__()

static int DensityF0D___init__ ( BPy_DensityF0D self,
PyObject *  args,
PyObject *  kwds 
)
static

Definition at line 48 of file BPy_DensityF0D.cpp.

Variable Documentation

◆ DensityF0D___doc__

char DensityF0D___doc__[]
static
Initial value:
=
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > "
":class:`freestyle.types.UnaryFunction0DDouble` > :class:`DensityF0D`\n"
"\n"
".. method:: __init__(sigma=2.0)\n"
"\n"
" Builds a DensityF0D object.\n"
"\n"
" :arg sigma: The gaussian sigma value indicating the X value for\n"
" which the gaussian function is 0.5. It leads to the window size\n"
" value (the larger, the smoother).\n"
" :type sigma: float\n"
"\n"
".. method:: __call__(it)\n"
"\n"
" Returns the density of the (result) image evaluated at the\n"
" :class:`freestyle.types.Interface0D` pointed by the\n"
" Interface0DIterator. This density is evaluated using a pixels square\n"
" window around the evaluation point and integrating these values using\n"
" a gaussian.\n"
"\n"
" :arg it: An Interface0DIterator object.\n"
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
" :return: The density of the image evaluated at the pointed\n"
" Interface0D.\n"
" :rtype: float\n"

Definition at line 21 of file BPy_DensityF0D.cpp.

◆ DensityF0D_Type

PyTypeObject DensityF0D_Type

Definition at line 63 of file BPy_DensityF0D.cpp.

Referenced by UnaryFunction0DDouble_Init().