forked from bartvdbraak/blender
Freestyle: Python API documentation updates.
Fixed dead references of API identifiers (e.g., freestyle.types.Interface0D) due to relocations of the identifiers into submodules. Also made various minor revisions of mark-ups and typos.
This commit is contained in:
parent
98a78963be
commit
64ade99ecc
@ -82,12 +82,11 @@ def nature_in_preceding(nature, index):
|
||||
|
||||
|
||||
class pyChainSilhouetteIterator(ChainingIterator):
|
||||
"""Natural chaining iterator
|
||||
|
||||
Follows the edges of the same nature following the topology of
|
||||
objects, with decreasing priority for silhouettes, then borders,
|
||||
then suggestive contours, then all other edge types. A ViewEdge
|
||||
is only chained once.
|
||||
"""
|
||||
Natural chaining iterator that follows the edges of the same nature
|
||||
following the topology of objects, with decreasing priority for
|
||||
silhouettes, then borders, then suggestive contours, then all other edge
|
||||
types. A ViewEdge is only chained once.
|
||||
"""
|
||||
def __init__(self, stayInSelection=True):
|
||||
ChainingIterator.__init__(self, stayInSelection, True, None, True)
|
||||
@ -121,16 +120,20 @@ class pyChainSilhouetteIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pyChainSilhouetteGenericIterator(ChainingIterator):
|
||||
"""Natural chaining iterator
|
||||
"""
|
||||
Natural chaining iterator that follows the edges of the same nature
|
||||
following the topology of objects, with decreasing priority for
|
||||
silhouettes, then borders, then suggestive contours, then all other
|
||||
edge types.
|
||||
|
||||
Follows the edges of the same nature following the topology of
|
||||
objects, with decreasing priority for silhouettes, then borders,
|
||||
then suggestive contours, then all other edge types.
|
||||
.. method:: __init__(self, stayInSelection=True, stayInUnvisited=True)
|
||||
|
||||
:arg stayInSelection: True if it is allowed to go out of the selection
|
||||
:type stayInSelection: bool
|
||||
:arg stayInUnvisited: May the same ViewEdge be chained twice
|
||||
:type stayInUnvisited: bool
|
||||
Builds a pyChainSilhouetteGenericIterator object.
|
||||
|
||||
:arg stayInSelection: True if it is allowed to go out of the selection
|
||||
:type stayInSelection: bool
|
||||
:arg stayInUnvisited: May the same ViewEdge be chained twice
|
||||
:type stayInUnvisited: bool
|
||||
"""
|
||||
|
||||
def __init__(self, stayInSelection=True, stayInUnvisited=True):
|
||||
@ -209,14 +212,18 @@ class pyExternalContourChainingIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pySketchyChainSilhouetteIterator(ChainingIterator):
|
||||
"""Natural chaining iterator with a sketchy multiple touch
|
||||
"""
|
||||
Natural chaining iterator with a sketchy multiple touch. It chains the
|
||||
same ViewEdge multiple times to achieve a sketchy effect.
|
||||
|
||||
Chains the same ViewEdge multiple times to achieve a sketchy effect.
|
||||
.. method:: __init__(self, nRounds=3,stayInSelection=True)
|
||||
|
||||
:arg rounds: Number of times every Viewedge is chained.
|
||||
:type rounds: int
|
||||
:arg stayInSelection: if False, edges outside of the selection can be chained.
|
||||
:type stayInSelection: bool
|
||||
Builds a pySketchyChainSilhouetteIterator object.
|
||||
|
||||
:arg nRounds: Number of times every Viewedge is chained.
|
||||
:type nRounds: int
|
||||
:arg stayInSelection: if False, edges outside of the selection can be chained.
|
||||
:type stayInSelection: bool
|
||||
"""
|
||||
|
||||
def __init__(self, nRounds=3,stayInSelection=True):
|
||||
@ -267,10 +274,10 @@ class pySketchyChainSilhouetteIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pySketchyChainingIterator(ChainingIterator):
|
||||
"""Chaining iterator designed for sketchy style
|
||||
|
||||
It chaines the same ViewEdge several times in order to produce
|
||||
multiple strokes per ViewEdge.
|
||||
"""
|
||||
Chaining iterator designed for sketchy style. It chaines the same
|
||||
ViewEdge several times in order to produce multiple strokes per
|
||||
ViewEdge.
|
||||
"""
|
||||
def __init__(self, nRounds=3, stayInSelection=True):
|
||||
ChainingIterator.__init__(self, stayInSelection, False, None, True)
|
||||
@ -306,11 +313,16 @@ class pySketchyChainingIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pyFillOcclusionsRelativeChainingIterator(ChainingIterator):
|
||||
"""Chaining iterator that fills small occlusions
|
||||
"""
|
||||
Chaining iterator that fills small occlusions
|
||||
|
||||
:arg percent: The maximul length of the occluded part, expressed
|
||||
in a percentage of the total chain length.
|
||||
:type percent: float
|
||||
.. method:: __init__(self, percent)
|
||||
|
||||
Builds a pyFillOcclusionsRelativeChainingIterator object.
|
||||
|
||||
:arg percent: The maximul length of the occluded part, expressed
|
||||
in a percentage of the total chain length.
|
||||
:type percent: float
|
||||
"""
|
||||
|
||||
def __init__(self, percent):
|
||||
@ -374,10 +386,15 @@ class pyFillOcclusionsRelativeChainingIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pyFillOcclusionsAbsoluteChainingIterator(ChainingIterator):
|
||||
"""Chaining iterator that fills small occlusions
|
||||
"""
|
||||
Chaining iterator that fills small occlusions
|
||||
|
||||
:arg size: The maximum length of the occluded part in pixels.
|
||||
:type size: int
|
||||
.. method:: __init__(self, length)
|
||||
|
||||
Builds a pyFillOcclusionsAbsoluteChainingIterator object.
|
||||
|
||||
:arg length: The maximum length of the occluded part in pixels.
|
||||
:type length: int
|
||||
"""
|
||||
def __init__(self, length):
|
||||
ChainingIterator.__init__(self, False, True, None, True)
|
||||
@ -429,12 +446,19 @@ class pyFillOcclusionsAbsoluteChainingIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pyFillOcclusionsAbsoluteAndRelativeChainingIterator(ChainingIterator):
|
||||
"""Chaining iterator that fills small occlusions regardless of the
|
||||
selection
|
||||
"""
|
||||
Chaining iterator that fills small occlusions regardless of the
|
||||
selection.
|
||||
|
||||
:arg percent: The maximul length of the occluded part as a
|
||||
percentage of the total chain length.
|
||||
:type percent: float
|
||||
.. method:: __init__(self, percent, l)
|
||||
|
||||
Builds a pyFillOcclusionsAbsoluteAndRelativeChainingIterator object.
|
||||
|
||||
:arg percent: The maximul length of the occluded part as a
|
||||
percentage of the total chain length.
|
||||
:type percent: float
|
||||
:arg l: Absolute length.
|
||||
:type l: float
|
||||
"""
|
||||
def __init__(self, percent, l):
|
||||
ChainingIterator.__init__(self, False, True, None, True)
|
||||
@ -492,12 +516,19 @@ class pyFillOcclusionsAbsoluteAndRelativeChainingIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pyFillQi0AbsoluteAndRelativeChainingIterator(ChainingIterator):
|
||||
"""Chaining iterator that fills small occlusions regardless of the
|
||||
selection
|
||||
"""
|
||||
Chaining iterator that fills small occlusions regardless of the
|
||||
selection.
|
||||
|
||||
:arg percent: The maximul length of the occluded part as a
|
||||
percentage of the total chain length.
|
||||
:type percent: float
|
||||
.. method:: __init__(self, percent, l)
|
||||
|
||||
Builds a pyFillQi0AbsoluteAndRelativeChainingIterator object.
|
||||
|
||||
:arg percent: The maximul length of the occluded part as a
|
||||
percentage of the total chain length.
|
||||
:type percent: float
|
||||
:arg l: Absolute length.
|
||||
:type l: float
|
||||
"""
|
||||
def __init__(self, percent, l):
|
||||
ChainingIterator.__init__(self, False, True, None, True)
|
||||
@ -554,15 +585,18 @@ class pyFillQi0AbsoluteAndRelativeChainingIterator(ChainingIterator):
|
||||
|
||||
|
||||
class pyNoIdChainSilhouetteIterator(ChainingIterator):
|
||||
"""Natural chaining iterator
|
||||
"""
|
||||
Natural chaining iterator that follows the edges of the same nature
|
||||
following the topology of objects, with decreasing priority for
|
||||
silhouettes, then borders, then suggestive contours, then all other edge
|
||||
types. It won't chain the same ViewEdge twice.
|
||||
|
||||
Follows the edges of the same nature following the topology of
|
||||
objects, with decreasing priority for silhouettes, then borders,
|
||||
then suggestive contours, then all other edge types. It won't
|
||||
chain the same ViewEdge twice.
|
||||
.. method:: __init__(self, stayInSelection=True)
|
||||
|
||||
:arg stayInSelection: True if it is allowed to go out of the selection
|
||||
:type stayInSelection: bool
|
||||
Builds a pyNoIdChainSilhouetteIterator object.
|
||||
|
||||
:arg stayInSelection: True if it is allowed to go out of the selection
|
||||
:type stayInSelection: bool
|
||||
"""
|
||||
|
||||
def __init__(self, stayInSelection=True):
|
||||
|
@ -237,10 +237,15 @@ class pyDensityAnisotropyF0D(UnaryFunction0DDouble):
|
||||
|
||||
|
||||
class pyViewMapGradientVectorF0D(UnaryFunction0DVec2f):
|
||||
"""Returns the gradient vector for a pixel.
|
||||
"""
|
||||
Returns the gradient vector for a pixel.
|
||||
|
||||
:arg level: the level at which to compute the gradient
|
||||
:type level: int
|
||||
.. method:: __init__(self, level)
|
||||
|
||||
Builds a pyViewMapGradientVectorF0D object.
|
||||
|
||||
:arg level: the level at which to compute the gradient
|
||||
:type level: int
|
||||
"""
|
||||
def __init__(self, level):
|
||||
UnaryFunction0DVec2f.__init__(self)
|
||||
|
@ -80,9 +80,9 @@ PyDoc_STRVAR(FrsMaterial_doc,
|
||||
" :arg emission: The emissive color.\n"
|
||||
" :type emission: :class:`mathutils.Vector`, list or tuple of 4 float values\n"
|
||||
" :arg shininess: The shininess coefficient.\n"
|
||||
" :type shininess: :class:float\n"
|
||||
" :type shininess: float\n"
|
||||
" :arg priority: The line color priority.\n"
|
||||
" :type priority: :class:int");
|
||||
" :type priority: int");
|
||||
|
||||
static int FrsMaterial_init(BPy_FrsMaterial *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
@ -311,7 +311,7 @@ void FrsMaterial_mathutils_register_callback()
|
||||
PyDoc_STRVAR(FrsMaterial_line_doc,
|
||||
"RGBA components of the line color of the material.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *FrsMaterial_line_get(BPy_FrsMaterial *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -333,7 +333,7 @@ static int FrsMaterial_line_set(BPy_FrsMaterial *self, PyObject *value, void *UN
|
||||
PyDoc_STRVAR(FrsMaterial_diffuse_doc,
|
||||
"RGBA components of the diffuse color of the material.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *FrsMaterial_diffuse_get(BPy_FrsMaterial *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -355,7 +355,7 @@ static int FrsMaterial_diffuse_set(BPy_FrsMaterial *self, PyObject *value, void
|
||||
PyDoc_STRVAR(FrsMaterial_specular_doc,
|
||||
"RGBA components of the specular color of the material.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *FrsMaterial_specular_get(BPy_FrsMaterial *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -377,7 +377,7 @@ static int FrsMaterial_specular_set(BPy_FrsMaterial *self, PyObject *value, void
|
||||
PyDoc_STRVAR(FrsMaterial_ambient_doc,
|
||||
"RGBA components of the ambient color of the material.\n"
|
||||
"\n"
|
||||
":type: mathutils.Color");
|
||||
":type: :class:`mathutils.Color`");
|
||||
|
||||
static PyObject *FrsMaterial_ambient_get(BPy_FrsMaterial *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -399,7 +399,7 @@ static int FrsMaterial_ambient_set(BPy_FrsMaterial *self, PyObject *value, void
|
||||
PyDoc_STRVAR(FrsMaterial_emission_doc,
|
||||
"RGBA components of the emissive color of the material.\n"
|
||||
"\n"
|
||||
":type: mathutils.Color");
|
||||
":type: :class:`mathutils.Color`");
|
||||
|
||||
static PyObject *FrsMaterial_emission_get(BPy_FrsMaterial *self, void *UNUSED(closure))
|
||||
{
|
||||
|
@ -165,7 +165,7 @@ static PyObject *Interface0D_name_get(BPy_Interface0D *self, void *UNUSED(closur
|
||||
PyDoc_STRVAR(Interface0D_point_3d_doc,
|
||||
"The 3D point of this 0D element.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *Interface0D_point_3d_get(BPy_Interface0D *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -217,7 +217,7 @@ static PyObject *Interface0D_projected_z_get(BPy_Interface0D *self, void *UNUSED
|
||||
PyDoc_STRVAR(Interface0D_point_2d_doc,
|
||||
"The 2D point of this 0D element.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *Interface0D_point_2d_get(BPy_Interface0D *self, void *UNUSED(closure))
|
||||
{
|
||||
|
@ -74,7 +74,7 @@ PyDoc_STRVAR(Operators_select_doc,
|
||||
" condition.\n"
|
||||
"\n"
|
||||
" :arg pred: The predicate expressing this condition.\n"
|
||||
" :type pred: UnaryPredicate1D");
|
||||
" :type pred: :class:`UnaryPredicate1D`");
|
||||
|
||||
static PyObject *Operators_select(BPy_Operators *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
@ -372,7 +372,7 @@ PyDoc_STRVAR(Operators_recursive_split_doc,
|
||||
" condition. This predicate is evaluated for each curve before it\n"
|
||||
" actually gets split. If pred_1d(chain) is true, the curve won't be\n"
|
||||
" split anymore.\n"
|
||||
" :type pred: :class:`UnaryPredicate1D`\n"
|
||||
" :type pred_1d: :class:`UnaryPredicate1D`\n"
|
||||
" :arg sampling: The resolution used to sample the chain for the\n"
|
||||
" predicates evaluation. (The chain is not actually resampled, a\n"
|
||||
" virtual point only progresses along the curve using this\n"
|
||||
@ -404,7 +404,7 @@ PyDoc_STRVAR(Operators_recursive_split_doc,
|
||||
" condition. This predicate is evaluated for each curve before it\n"
|
||||
" actually gets split. If pred_1d(chain) is true, the curve won't be\n"
|
||||
" split anymore.\n"
|
||||
" :type pred: :class:`UnaryPredicate1D`\n"
|
||||
" :type pred_1d: :class:`UnaryPredicate1D`\n"
|
||||
" :arg sampling: The resolution used to sample the chain for the\n"
|
||||
" predicates evaluation. (The chain is not actually resampled; a\n"
|
||||
" virtual point only progresses along the curve using this\n"
|
||||
@ -484,7 +484,7 @@ PyDoc_STRVAR(Operators_sort_doc,
|
||||
" comparison predicate given as argument.\n"
|
||||
"\n"
|
||||
" :arg pred: The binary predicate used for the comparison.\n"
|
||||
" :type pred: BinaryPredicate1D");
|
||||
" :type pred: :class:`BinaryPredicate1D`");
|
||||
|
||||
static PyObject *Operators_sort(BPy_Operators *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
@ -515,7 +515,7 @@ PyDoc_STRVAR(Operators_create_doc,
|
||||
" transform as a stroke.\n"
|
||||
" :type pred: :class:`UnaryPredicate1D`\n"
|
||||
" :arg shaders: The list of shaders used to shade the strokes.\n"
|
||||
" :type shaders: List of StrokeShader objects");
|
||||
" :type shaders: list of :class:`StrokeShader` objects");
|
||||
|
||||
static PyObject *Operators_create(BPy_Operators *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -515,7 +515,7 @@ static int StrokeAttribute_alpha_set(BPy_StrokeAttribute *self, PyObject *value,
|
||||
PyDoc_STRVAR(StrokeAttribute_color_doc,
|
||||
"RGB components of the stroke color.\n"
|
||||
"\n"
|
||||
":type: mathutils.Color");
|
||||
":type: :class:`mathutils.Color`");
|
||||
|
||||
static PyObject *StrokeAttribute_color_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -539,7 +539,7 @@ PyDoc_STRVAR(StrokeAttribute_thickness_doc,
|
||||
"The right (left) component is the thickness on the right (left) of the vertex\n"
|
||||
"when following the stroke.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *StrokeAttribute_thickness_get(BPy_StrokeAttribute *self, void *UNUSED(closure))
|
||||
{
|
||||
|
@ -33,16 +33,16 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char FalseBP1D___doc__[] =
|
||||
"Class hierarchy: :class:`BinaryPredicate1D` > :class:`FalseBP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`FalseBP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter1, inter2)\n"
|
||||
"\n"
|
||||
" Always returns false.\n"
|
||||
"\n"
|
||||
" :arg inter1: The first Interface1D object.\n"
|
||||
" :type inter1: :class:`Interface1D`\n"
|
||||
" :type inter1: :class:`freestyle.types.Interface1D`\n"
|
||||
" :arg inter2: The second Interface1D object.\n"
|
||||
" :type inter2: :class:`Interface1D`\n"
|
||||
" :type inter2: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: False.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Length2DBP1D___doc__[] =
|
||||
"Class hierarchy: :class:`BinaryPredicate1D` > :class:`Length2DBP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`Length2DBP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter1, inter2)\n"
|
||||
"\n"
|
||||
@ -41,9 +41,9 @@ static char Length2DBP1D___doc__[] =
|
||||
" of inter2.\n"
|
||||
"\n"
|
||||
" :arg inter1: The first Interface1D object.\n"
|
||||
" :type inter1: :class:`Interface1D`\n"
|
||||
" :type inter1: :class:`freestyle.types.Interface1D`\n"
|
||||
" :arg inter2: The second Interface1D object.\n"
|
||||
" :type inter2: :class:`Interface1D`\n"
|
||||
" :type inter2: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True or false.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,16 +33,16 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char SameShapeIdBP1D___doc__[] =
|
||||
"Class hierarchy: :class:`BinaryPredicate1D` > :class:`SameShapeIdBP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`SameShapeIdBP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter1, inter2)\n"
|
||||
"\n"
|
||||
" Returns true if inter1 and inter2 belong to the same shape.\n"
|
||||
"\n"
|
||||
" :arg inter1: The first Interface1D object.\n"
|
||||
" :type inter1: :class:`Interface1D`\n"
|
||||
" :type inter1: :class:`freestyle.types.Interface1D`\n"
|
||||
" :arg inter2: The second Interface1D object.\n"
|
||||
" :type inter2: :class:`Interface1D`\n"
|
||||
" :type inter2: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True or false.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,16 +33,16 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char TrueBP1D___doc__[] =
|
||||
"Class hierarchy: :class:`BinaryPredicate1D` > :class:`TrueBP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`TrueBP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter1, inter2)\n"
|
||||
"\n"
|
||||
" Always returns true.\n"
|
||||
"\n"
|
||||
" :arg inter1: The first Interface1D object.\n"
|
||||
" :type inter1: :class:`Interface1D`\n"
|
||||
" :type inter1: :class:`freestyle.types.Interface1D`\n"
|
||||
" :arg inter2: The second Interface1D object.\n"
|
||||
" :type inter2: :class:`Interface1D`\n"
|
||||
" :type inter2: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -38,7 +38,7 @@ extern "C" {
|
||||
//ViewMapGradientNormBP1D(int level, IntegrationType iType=MEAN, float sampling=2.0)
|
||||
|
||||
static char ViewMapGradientNormBP1D___doc__[] =
|
||||
"Class hierarchy: :class:`BinaryPredicate1D` > :class:`ViewMapGradientNormBP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.BinaryPredicate1D` > :class:`ViewMapGradientNormBP1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
|
||||
"\n"
|
||||
@ -49,7 +49,7 @@ static char ViewMapGradientNormBP1D___doc__[] =
|
||||
" :type level: int\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
" :arg sampling: The resolution used to sample the chain:\n"
|
||||
" GetViewMapGradientNormF0D is evaluated at each sample point and\n"
|
||||
" the result is obtained by combining the resulting values into a\n"
|
||||
@ -62,9 +62,9 @@ static char ViewMapGradientNormBP1D___doc__[] =
|
||||
" higher for inter1 than for inter2.\n"
|
||||
"\n"
|
||||
" :arg inter1: The first Interface1D object.\n"
|
||||
" :type inter1: :class:`Interface1D`\n"
|
||||
" :type inter1: :class:`freestyle.types.Interface1D`\n"
|
||||
" :arg inter2: The second Interface1D object.\n"
|
||||
" :type inter2: :class:`Interface1D`\n"
|
||||
" :type inter2: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True or false.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -226,7 +226,7 @@ void StrokeVertex_mathutils_register_callback()
|
||||
PyDoc_STRVAR(StrokeVertex_attribute_doc,
|
||||
"StrokeAttribute for this StrokeVertex.\n"
|
||||
"\n"
|
||||
":type: StrokeAttribute");
|
||||
":type: :class:`StrokeAttribute`");
|
||||
|
||||
static PyObject *StrokeVertex_attribute_get(BPy_StrokeVertex *self, void *UNUSED(closure))
|
||||
{
|
||||
@ -267,7 +267,7 @@ static int StrokeVertex_curvilinear_abscissa_set(BPy_StrokeVertex *self, PyObjec
|
||||
PyDoc_STRVAR(StrokeVertex_point_doc,
|
||||
"2D point coordinates.\n"
|
||||
"\n"
|
||||
":type: mathutils.Vector");
|
||||
":type: :class:`mathutils.Vector`");
|
||||
|
||||
static PyObject *StrokeVertex_point_get(BPy_StrokeVertex *self, void *UNUSED(closure))
|
||||
{
|
||||
|
@ -38,7 +38,10 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
PyDoc_STRVAR(ChainPredicateIterator_doc,
|
||||
"Class hierarchy: :class:`Iterator` > :class:`ViewEdgeIterator` > :class:`ChainingIterator` > "
|
||||
|
||||
"Class hierarchy: :class:`freestyle.types.Iterator` >\n"
|
||||
":class:`freestyle.types.ViewEdgeIterator` >\n"
|
||||
":class:`freestyle.types.ChainingIterator` >\n"
|
||||
":class:`ChainPredicateIterator`\n"
|
||||
"\n"
|
||||
"A \"generic\" user-controlled ViewEdge iterator. This iterator is in\n"
|
||||
@ -63,7 +66,7 @@ PyDoc_STRVAR(ChainPredicateIterator_doc,
|
||||
" already been chained must be ignored ot not.\n"
|
||||
" :type restrict_to_unvisited: bool\n"
|
||||
" :arg begin: The ViewEdge from where to start the iteration.\n"
|
||||
" :type begin: :class:`ViewEdge` or None\n"
|
||||
" :type begin: :class:`freestyle.types.ViewEdge` or None\n"
|
||||
" :arg orientation: If true, we'll look for the next ViewEdge among\n"
|
||||
" the ViewEdges that surround the ending ViewVertex of begin. If\n"
|
||||
" false, we'll search over the ViewEdges surrounding the ending\n"
|
||||
@ -77,10 +80,10 @@ PyDoc_STRVAR(ChainPredicateIterator_doc,
|
||||
" predicate, a starting ViewEdge and its orientation.\n"
|
||||
"\n"
|
||||
" :arg upred: The unary predicate that the next ViewEdge must satisfy.\n"
|
||||
" :type upred: :class:`UnaryPredicate1D`\n"
|
||||
" :type upred: :class:`freestyle.types.UnaryPredicate1D`\n"
|
||||
" :arg bpred: The binary predicate that the next ViewEdge must\n"
|
||||
" satisfy together with the actual pointed ViewEdge.\n"
|
||||
" :type bpred: :class:`BinaryPredicate1D`\n"
|
||||
" :type bpred: :class:`freestyle.types.BinaryPredicate1D`\n"
|
||||
" :arg restrict_to_selection: Indicates whether to force the chaining\n"
|
||||
" to stay within the set of selected ViewEdges or not.\n"
|
||||
" :type restrict_to_selection: bool\n"
|
||||
@ -88,7 +91,7 @@ PyDoc_STRVAR(ChainPredicateIterator_doc,
|
||||
" already been chained must be ignored ot not.\n"
|
||||
" :type restrict_to_unvisited: bool\n"
|
||||
" :arg begin: The ViewEdge from where to start the iteration.\n"
|
||||
" :type begin: :class:`ViewEdge` or None\n"
|
||||
" :type begin: :class:`freestyle.types.ViewEdge` or None\n"
|
||||
" :arg orientation: If true, we'll look for the next ViewEdge among\n"
|
||||
" the ViewEdges that surround the ending ViewVertex of begin. If\n"
|
||||
" false, we'll search over the ViewEdges surrounding the ending\n"
|
||||
|
@ -39,7 +39,9 @@ extern "C" {
|
||||
// ChainSilhouetteIterator (const ChainSilhouetteIterator &brother)
|
||||
|
||||
PyDoc_STRVAR(ChainSilhouetteIterator_doc,
|
||||
"Class hierarchy: :class:`Iterator` > :class:`ViewEdgeIterator` > :class:`ChainingIterator` > "
|
||||
"Class hierarchy: :class:`freestyle.types.Iterator` >\n"
|
||||
":class:`freestyle.types.ViewEdgeIterator` >\n"
|
||||
":class:`freestyle.types.ChainingIterator` >\n"
|
||||
":class:`ChainSilhouetteIterator`\n"
|
||||
"\n"
|
||||
"A ViewEdge Iterator used to follow ViewEdges the most naturally. For\n"
|
||||
@ -58,7 +60,7 @@ PyDoc_STRVAR(ChainSilhouetteIterator_doc,
|
||||
" to stay within the set of selected ViewEdges or not.\n"
|
||||
" :type restrict_to_selection: bool\n"
|
||||
" :arg begin: The ViewEdge from where to start the iteration.\n"
|
||||
" :type begin: :class:`ViewEdge` or None\n"
|
||||
" :type begin: :class:`freestyle.types.ViewEdge` or None\n"
|
||||
" :arg orientation: If true, we'll look for the next ViewEdge among\n"
|
||||
" the ViewEdges that surround the ending ViewVertex of begin. If\n"
|
||||
" false, we'll search over the ViewEdges surrounding the ending\n"
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char BackboneStretcherShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`BackboneStretcherShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BackboneStretcherShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -52,7 +52,7 @@ static char BackboneStretcherShader___doc__[] =
|
||||
" respective directions: v(1)v(0) and v(n-1)v(n).\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int BackboneStretcherShader___init__(BPy_BackboneStretcherShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char BezierCurveShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`BezierCurveShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BezierCurveShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -54,7 +54,7 @@ static char BezierCurveShader___doc__[] =
|
||||
" Bezier Curve approximation of the original backbone geometry.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int BezierCurveShader___init__(BPy_BezierCurveShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char BlenderTextureShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`BlenderTextureShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`BlenderTextureShader`\n"
|
||||
"\n"
|
||||
"[Texture shader]\n"
|
||||
"\n"
|
||||
@ -47,7 +47,8 @@ static char BlenderTextureShader___doc__[] =
|
||||
"\n"
|
||||
" :arg texture: A line style texture slot or a shader node tree to define\n"
|
||||
" a set of textures.\n"
|
||||
" :type texture: :class:`LineStyleTextureSlot` or :class:`ShaderNodeTree`\n"
|
||||
" :type texture: :class:`bpy.types.LineStyleTextureSlot` or\n"
|
||||
" :class:`bpy.types.ShaderNodeTree`\n"
|
||||
"\n"
|
||||
".. method:: shade(stroke)\n"
|
||||
"\n"
|
||||
@ -55,7 +56,7 @@ static char BlenderTextureShader___doc__[] =
|
||||
" simulate marks.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int BlenderTextureShader___init__(BPy_BlenderTextureShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char CalligraphicShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`CalligraphicShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`CalligraphicShader`\n"
|
||||
"\n"
|
||||
"[Thickness Shader]\n"
|
||||
"\n"
|
||||
@ -65,7 +65,7 @@ static char CalligraphicShader___doc__[] =
|
||||
" perpendicular to this one, and an interpolation inbetween.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int CalligraphicShader___init__(BPy_CalligraphicShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ColorNoiseShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ColorNoiseShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ColorNoiseShader`\n"
|
||||
"\n"
|
||||
"[Color shader]\n"
|
||||
"\n"
|
||||
@ -53,7 +53,7 @@ static char ColorNoiseShader___doc__[] =
|
||||
" Shader to add noise to the stroke colors.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ColorNoiseShader___init__(BPy_ColorNoiseShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ColorVariationPatternShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ColorVariationPatternShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ColorVariationPatternShader`\n"
|
||||
"\n"
|
||||
"[Color shader]\n"
|
||||
"\n"
|
||||
@ -57,7 +57,7 @@ static char ColorVariationPatternShader___doc__[] =
|
||||
" result of the multiplication of the pattern and the original color.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ColorVariationPatternShader___init__(BPy_ColorVariationPatternShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ConstantColorShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ConstantColorShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantColorShader`\n"
|
||||
"\n"
|
||||
"[Color shader]\n"
|
||||
"\n"
|
||||
@ -57,7 +57,7 @@ static char ConstantColorShader___doc__[] =
|
||||
" Assigns a constant color to every vertex of the Stroke.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ConstantColorShader___init__(BPy_ConstantColorShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ConstantThicknessShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ConstantThicknessShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstantThicknessShader`\n"
|
||||
"\n"
|
||||
"[Thickness shader]\n"
|
||||
"\n"
|
||||
@ -51,7 +51,7 @@ static char ConstantThicknessShader___doc__[] =
|
||||
" Assigns an absolute constant thickness to every vertex of the Stroke.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ConstantThicknessShader___init__(BPy_ConstantThicknessShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ConstrainedIncreasingThicknessShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ConstrainedIncreasingThicknessShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ConstrainedIncreasingThicknessShader`\n"
|
||||
"\n"
|
||||
"[Thickness shader]\n"
|
||||
"\n"
|
||||
@ -57,7 +57,7 @@ static char ConstrainedIncreasingThicknessShader___doc__[] =
|
||||
" fat short lines.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ConstrainedIncreasingThicknessShader___init__(BPy_ConstrainedIncreasingThicknessShader *self,
|
||||
PyObject *args, PyObject *kwds)
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GuidingLinesShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`GuidingLinesShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`GuidingLinesShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -59,7 +59,7 @@ static char GuidingLinesShader___doc__[] =
|
||||
" approximation is.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int GuidingLinesShader___init__(BPy_GuidingLinesShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char IncreasingColorShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`IncreasingColorShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingColorShader`\n"
|
||||
"\n"
|
||||
"[Color shader]\n"
|
||||
"\n"
|
||||
@ -67,7 +67,7 @@ static char IncreasingColorShader___doc__[] =
|
||||
" between the first and the last vertex.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int IncreasingColorShader___init__(BPy_IncreasingColorShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char IncreasingThicknessShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`IncreasingThicknessShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`IncreasingThicknessShader`\n"
|
||||
"\n"
|
||||
"[Thickness shader]\n"
|
||||
"\n"
|
||||
@ -57,7 +57,7 @@ static char IncreasingThicknessShader___doc__[] =
|
||||
" linearly interpolated from A to B.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int IncreasingThicknessShader___init__(BPy_IncreasingThicknessShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char PolygonalizationShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`PolygonalizationShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`PolygonalizationShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -58,7 +58,7 @@ static char PolygonalizationShader___doc__[] =
|
||||
" error is reached.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int PolygonalizationShader___init__(BPy_PolygonalizationShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char SamplingShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`SamplingShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SamplingShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -51,7 +51,7 @@ static char SamplingShader___doc__[] =
|
||||
" Resamples the stroke.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int SamplingShader___init__(BPy_SamplingShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char SmoothingShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`SmoothingShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SmoothingShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -71,7 +71,7 @@ static char SmoothingShader___doc__[] =
|
||||
" prevent the diffusion across corners.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int SmoothingShader___init__(BPy_SmoothingShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char SpatialNoiseShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`SpatialNoiseShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`SpatialNoiseShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -61,7 +61,7 @@ static char SpatialNoiseShader___doc__[] =
|
||||
" more noisy.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int SpatialNoiseShader___init__(BPy_SpatialNoiseShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char StrokeTextureShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`StrokeTextureShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`StrokeTextureShader`\n"
|
||||
"\n"
|
||||
"[Texture shader]\n"
|
||||
"\n"
|
||||
@ -49,7 +49,7 @@ static char StrokeTextureShader___doc__[] =
|
||||
" :type texture_file: str\n"
|
||||
" :arg medium_type: The medium type and therefore, the blending mode\n"
|
||||
" that must be used for the rendering of this stroke.\n"
|
||||
" :type medium_type: :class:`MediumType`\n"
|
||||
" :type medium_type: :class:`freestyle.types.MediumType`\n"
|
||||
" :arg tips: Tells whether the texture includes tips or not. If it\n"
|
||||
" is the case, the texture image must respect the following format.\n"
|
||||
" :type tips: bool\n"
|
||||
@ -74,7 +74,7 @@ static char StrokeTextureShader___doc__[] =
|
||||
" simulate its marks system.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int StrokeTextureShader___init__(BPy_StrokeTextureShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char StrokeTextureStepShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`StrokeTextureStepShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`StrokeTextureStepShader`\n"
|
||||
"\n"
|
||||
"[Texture shader]\n"
|
||||
"\n"
|
||||
@ -51,7 +51,7 @@ static char StrokeTextureStepShader___doc__[] =
|
||||
" Assigns a spacing factor to the texture coordinates of the Stroke.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int StrokeTextureStepShader___init__(BPy_StrokeTextureStepShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char TextureAssignerShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`TextureAssignerShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`TextureAssignerShader`\n"
|
||||
"\n"
|
||||
"[Texture shader]\n"
|
||||
"\n"
|
||||
@ -67,7 +67,7 @@ static char TextureAssignerShader___doc__[] =
|
||||
" * Default: `/brushes/smoothAlpha.bmp`, `Stroke.OPAQUE_MEDIUM`\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int TextureAssignerShader___init__(BPy_TextureAssignerShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ThicknessNoiseShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ThicknessNoiseShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ThicknessNoiseShader`\n"
|
||||
"\n"
|
||||
"[Thickness shader]\n"
|
||||
"\n"
|
||||
@ -53,7 +53,7 @@ static char ThicknessNoiseShader___doc__[] =
|
||||
" Adds some noise to the stroke thickness.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ThicknessNoiseShader___init__(BPy_ThicknessNoiseShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ThicknessVariationPatternShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`ThicknessVariationPatternShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`ThicknessVariationPatternShader`\n"
|
||||
"\n"
|
||||
"[Thickness shader]\n"
|
||||
"\n"
|
||||
@ -61,7 +61,7 @@ static char ThicknessVariationPatternShader___doc__[] =
|
||||
" original thickness.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int ThicknessVariationPatternShader___init__(BPy_ThicknessVariationPatternShader *self,
|
||||
PyObject *args, PyObject *kwds)
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char TipRemoverShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`TipRemoverShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`TipRemoverShader`\n"
|
||||
"\n"
|
||||
"[Geometry shader]\n"
|
||||
"\n"
|
||||
@ -52,7 +52,7 @@ static char TipRemoverShader___doc__[] =
|
||||
" Removes the stroke's extremities.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int TipRemoverShader___init__(BPy_TipRemoverShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char fstreamShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`fstreamShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`fstreamShader`\n"
|
||||
"\n"
|
||||
"[Output shader]\n"
|
||||
"\n"
|
||||
@ -51,7 +51,7 @@ static char fstreamShader___doc__[] =
|
||||
" Streams the Stroke in a file.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int fstreamShader___init__(BPy_fstreamShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char streamShader___doc__[] =
|
||||
"Class hierarchy: :class:`StrokeShader` > :class:`streamShader`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.StrokeShader` > :class:`streamShader`\n"
|
||||
"\n"
|
||||
"[Output shader]\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char streamShader___doc__[] =
|
||||
" Streams the Stroke into stdout.\n"
|
||||
"\n"
|
||||
" :arg stroke: A Stroke object.\n"
|
||||
" :type stroke: :class:`Stroke`\n";
|
||||
" :type stroke: :class:`freestyle.types.Stroke`\n";
|
||||
|
||||
static int streamShader___init__(BPy_streamShader *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ShapeIdF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DId` > :class:`ShapeIdF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DId` > :class:`ShapeIdF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,19 +43,20 @@ static char ShapeIdF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the :class:`Id` of the Shape the :class:`Interface0D`\n"
|
||||
" pointed by the Interface0DIterator belongs to. This evaluation can\n"
|
||||
" be ambiguous (in the case of a :class:`TVertex` for example). This\n"
|
||||
" Returns the :class:`freestyle.types.Id` of the Shape the\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the\n"
|
||||
" Interface0DIterator belongs to. This evaluation can be ambiguous (in\n"
|
||||
" the case of a :class:`freestyle.types.TVertex` for example). This\n"
|
||||
" functor tries to remove this ambiguity using the context offered by\n"
|
||||
" the 1D element to which the Interface0DIterator belongs to.\n"
|
||||
" However, there still can be problematic cases, and the user willing\n"
|
||||
" to deal with this cases in a specific way should implement its own\n"
|
||||
" the 1D element to which the Interface0DIterator belongs to. However,\n"
|
||||
" there still can be problematic cases, and the user willing to deal\n"
|
||||
" with this cases in a specific way should implement its own\n"
|
||||
" getShapeIdF0D functor.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The Id of the Shape the pointed Interface0D belongs to.\n"
|
||||
" :rtype: :class:`Id`\n";
|
||||
" :rtype: :class:`freestyle.types.Id`\n";
|
||||
|
||||
static int ShapeIdF0D___init__(BPy_ShapeIdF0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
26
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Material/BPy_MaterialF0D.cpp
26
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_Material/BPy_MaterialF0D.cpp
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char MaterialF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DMaterial` > :class:`MaterialF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DMaterial` > :class:`MaterialF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -44,22 +44,22 @@ static char MaterialF0D___doc__[] =
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the material of the object evaluated at the\n"
|
||||
" :class:`Interface0D` pointed by the Interface0DIterator. This\n"
|
||||
" evaluation can be ambiguous (in the case of a :class:`TVertex` for\n"
|
||||
" example. This functor tries to remove this ambiguity using the\n"
|
||||
" context offered by the 1D element to which the Interface0DIterator\n"
|
||||
" belongs to and by arbitrary choosing the material of the face that\n"
|
||||
" lies on its left when following the 1D element if there are two\n"
|
||||
" different materials on each side of the point. However, there\n"
|
||||
" still can be problematic cases, and the user willing to deal with\n"
|
||||
" this cases in a specific way should implement its own getMaterial\n"
|
||||
" functor.\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the\n"
|
||||
" Interface0DIterator. This evaluation can be ambiguous (in the case of\n"
|
||||
" a :class:`freestyle.types.TVertex` for example. This functor tries to\n"
|
||||
" remove this ambiguity using the context offered by the 1D element to\n"
|
||||
" which the Interface0DIterator belongs to and by arbitrary choosing the\n"
|
||||
" material of the face that lies on its left when following the 1D\n"
|
||||
" element if there are two different materials on each side of the\n"
|
||||
" point. However, there still can be problematic cases, and the user\n"
|
||||
" willing to deal with this cases in a specific way should implement its\n"
|
||||
" own getMaterial functor.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The material of the object evaluated at the pointed\n"
|
||||
" Interface0D.\n"
|
||||
" :rtype: :class:`Material`\n";
|
||||
" :rtype: :class:`freestyle.types.Material`\n";
|
||||
|
||||
static int MaterialF0D___init__(BPy_MaterialF0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char CurveNatureF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DEdgeNature` > :class:`CurveNatureF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DEdgeNature` > :class:`CurveNatureF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,14 +43,14 @@ static char CurveNatureF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the :class:`Nature` of the 1D element the Interface0D pointed\n"
|
||||
" by the Interface0DIterator belongs to.\n"
|
||||
" Returns the :class:`freestyle.types.Nature` of the 1D element the\n"
|
||||
" Interface0D pointed by the Interface0DIterator belongs to.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The nature of the 1D element to which the pointed Interface0D\n"
|
||||
" belongs.\n"
|
||||
" :rtype: :class:`Nature`\n";
|
||||
" :rtype: :class:`freestyle.types.Nature`\n";
|
||||
|
||||
static int CurveNatureF0D___init__(BPy_CurveNatureF0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Normal2DF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DVec2f` > :class:`Normal2DF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DVec2f` > :class:`Normal2DF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -44,12 +44,12 @@ static char Normal2DF0D___doc__[] =
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns a two-dimensional vector giving the normalized 2D normal to\n"
|
||||
" the 1D element to which the :class:`Interface0D` pointed by the\n"
|
||||
" Interface0DIterator belongs. The normal is evaluated at the pointed\n"
|
||||
" Interface0D.\n"
|
||||
" the 1D element to which the :class:`freestyle.types.Interface0D`\n"
|
||||
" pointed by the Interface0DIterator belongs. The normal is evaluated\n"
|
||||
" at the pointed Interface0D.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The 2D normal of the 1D element evaluated at the pointed\n"
|
||||
" Interface0D.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char VertexOrientation2DF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DVec2f` > :class:`VertexOrientation2DF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DVec2f` > :class:`VertexOrientation2DF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,13 +43,13 @@ static char VertexOrientation2DF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns a two-dimensional vector giving the 2D oriented tangent to\n"
|
||||
" the 1D element to which the :class:`Interface0D` pointed by the\n"
|
||||
" Interface0DIterator belongs. The 2D oriented tangent is evaluated\n"
|
||||
" at the pointed Interface0D.\n"
|
||||
" Returns a two-dimensional vector giving the 2D oriented tangent to the\n"
|
||||
" 1D element to which the :class:`freestyle.types.Interface0D` pointed\n"
|
||||
" by the Interface0DIterator belongs. The 2D oriented tangent is\n"
|
||||
" evaluated at the pointed Interface0D.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The 2D oriented tangent to the 1D element evaluated at the\n"
|
||||
" pointed Interface0D.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char VertexOrientation3DF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DVec3f` > :class:`VertexOrientation3DF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DVec3f` > :class:`VertexOrientation3DF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,13 +43,13 @@ static char VertexOrientation3DF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns a three-dimensional vector giving the 3D oriented tangent\n"
|
||||
" to the 1D element to which the :class:`Interface0D` pointed by the\n"
|
||||
" Interface0DIterator belongs. The 3D oriented tangent is evaluated\n"
|
||||
" at the pointed Interface0D.\n"
|
||||
" Returns a three-dimensional vector giving the 3D oriented tangent to\n"
|
||||
" the 1D element to which the :class:`freestyle.types.Interface0D`\n"
|
||||
" pointed by the Interface0DIterator belongs. The 3D oriented tangent\n"
|
||||
" is evaluated at the pointed Interface0D.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The 3D oriented tangent to the 1D element evaluated at the\n"
|
||||
" pointed Interface0D.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetOccludeeF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DViewShape` > :class:`GetOccludeeF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DViewShape` > :class:`GetOccludeeF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,13 +43,13 @@ static char GetOccludeeF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the :class:`ViewShape` that the Interface0D pointed by the\n"
|
||||
" Interface0DIterator occludes.\n"
|
||||
" Returns the :class:`freestyle.types.ViewShape` that the Interface0D\n"
|
||||
" pointed by the Interface0DIterator occludes.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The ViewShape occluded by the pointed Interface0D.\n"
|
||||
" :rtype: :class:`ViewShape`\n";
|
||||
" :rtype: :class:`freestyle.types.ViewShape`\n";
|
||||
|
||||
static int GetOccludeeF0D___init__(BPy_GetOccludeeF0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
12
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/BPy_GetShapeF0D.cpp
12
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_ViewShape/BPy_GetShapeF0D.cpp
@ -35,21 +35,21 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetShapeF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DViewShape` > :class:`GetShapeF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DViewShape` > :class:`GetShapeF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
" Builds a GetShapeF0D.cpp object.\n"
|
||||
" Builds a GetShapeF0D object.\n"
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the :class:`ViewShape` containing the Interface0D pointed\n"
|
||||
" by the Interface0DIterator.\n"
|
||||
" Returns the :class:`freestyle.types.ViewShape` containing the\n"
|
||||
" Interface0D pointed by the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The ViewShape containing the pointed Interface0D.\n"
|
||||
" :rtype: :class:`ViewShape`\n";
|
||||
" :rtype: :class:`freestyle.types.ViewShape`\n";
|
||||
|
||||
static int GetShapeF0D___init__(BPy_GetShapeF0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Curvature2DAngleF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`Curvature2DAngleF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`Curvature2DAngleF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,13 +43,13 @@ static char Curvature2DAngleF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns a real value giving the 2D curvature (as an angle) of the\n"
|
||||
" 1D element to which the :class:`Interface0D` pointed by the\n"
|
||||
" Interface0DIterator belongs. The 2D curvature is evaluated at the\n"
|
||||
" Returns a real value giving the 2D curvature (as an angle) of the 1D\n"
|
||||
" element to which the :class:`freestyle.types.Interface0D` pointed by\n"
|
||||
" the Interface0DIterator belongs. The 2D curvature is evaluated at the\n"
|
||||
" Interface0D.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The 2D curvature of the 1D element evaluated at the\n"
|
||||
" pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char DensityF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`DensityF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`DensityF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(sigma=2.0)\n"
|
||||
"\n"
|
||||
@ -49,12 +49,13 @@ static char DensityF0D___doc__[] =
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the density of the (result) image evaluated at the\n"
|
||||
" :class:`Interface0D` pointed by the Interface0DIterator. This\n"
|
||||
" density is evaluated using a pixels square window around the\n"
|
||||
" evaluation point and integrating these values using a gaussian.\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:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The density of the image evaluated at the pointed\n"
|
||||
" Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetProjectedXF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`GetProjectedXF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`GetProjectedXF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetProjectedXF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the X 3D projected coordinate of the :class:`Interface0D`\n"
|
||||
" Returns the X 3D projected coordinate of the :class:`freestyle.types.Interface0D`\n"
|
||||
" pointed by the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The X 3D projected coordinate of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetProjectedYF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`GetProjectedYF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`GetProjectedYF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetProjectedYF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the Y 3D projected coordinate of the :class:`Interface0D`\n"
|
||||
" Returns the Y 3D projected coordinate of the :class:`freestyle.types.Interface0D`\n"
|
||||
" pointed by the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The Y 3D projected coordinate of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetProjectedZF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`GetProjectedZF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`GetProjectedZF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetProjectedZF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the Z 3D projected coordinate of the :class:`Interface0D`\n"
|
||||
" Returns the Z 3D projected coordinate of the :class:`freestyle.types.Interface0D`\n"
|
||||
" pointed by the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The Z 3D projected coordinate of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetXF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`GetXF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`GetXF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetXF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the X 3D coordinate of the :class:`Interface0D` pointed by\n"
|
||||
" Returns the X 3D coordinate of the :class:`freestyle.types.Interface0D` pointed by\n"
|
||||
" the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The X 3D coordinate of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetYF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`GetYF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`GetYF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetYF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the Y 3D coordinate of the :class:`Interface0D` pointed by\n"
|
||||
" Returns the Y 3D coordinate of the :class:`freestyle.types.Interface0D` pointed by\n"
|
||||
" the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The Y 3D coordinate of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetZF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`GetZF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`GetZF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetZF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the Z 3D coordinate of the :class:`Interface0D` pointed by\n"
|
||||
" Returns the Z 3D coordinate of the :class:`freestyle.types.Interface0D` pointed by\n"
|
||||
" the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The Z 3D coordinate of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char LocalAverageDepthF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`LocalAverageDepthF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(mask_size=5.0)\n"
|
||||
"\n"
|
||||
@ -46,12 +46,13 @@ static char LocalAverageDepthF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the average depth around the :class:`Interface0D` pointed\n"
|
||||
" by the Interface0DIterator. The result is obtained by querying the\n"
|
||||
" depth buffer on a window around that point.\n"
|
||||
" Returns the average depth around the\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the\n"
|
||||
" Interface0DIterator. The result is obtained by querying the depth\n"
|
||||
" buffer on a window around that point.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The average depth around the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ZDiscontinuityF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DDouble` > :class:`ZDiscontinuityF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DDouble` > :class:`ZDiscontinuityF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -44,14 +44,14 @@ static char ZDiscontinuityF0D___doc__[] =
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns a real value giving the distance between the\n"
|
||||
" :class:`Interface0D` pointed by the Interface0DIterator and the\n"
|
||||
" shape that lies behind (occludee). This distance is evaluated in\n"
|
||||
" the camera space and normalized between 0 and 1. Therefore, if no\n"
|
||||
" object is occluded by the shape to which the Interface0D belongs to,\n"
|
||||
" 1 is returned.\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the\n"
|
||||
" Interface0DIterator and the shape that lies behind (occludee). This\n"
|
||||
" distance is evaluated in the camera space and normalized between 0 and\n"
|
||||
" 1. Therefore, if no object is occluded by the shape to which the\n"
|
||||
" Interface0D belongs to, 1 is returned.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The normalized distance between the pointed Interface0D\n"
|
||||
" and the occludee.\n"
|
||||
" :rtype: float\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetCurvilinearAbscissaF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat` > :class:`GetCurvilinearAbscissaF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DFloat` > :class:`GetCurvilinearAbscissaF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,12 +43,12 @@ static char GetCurvilinearAbscissaF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the curvilinear abscissa of the :class:`Interface0D`\n"
|
||||
" pointed by the Interface0DIterator in the context of its 1D\n"
|
||||
" element.\n"
|
||||
" Returns the curvilinear abscissa of the\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the\n"
|
||||
" Interface0DIterator in the context of its 1D element.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The curvilinear abscissa of the pointed Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
8
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetParameterF0D.cpp
8
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_GetParameterF0D.cpp
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetParameterF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat` > :class:`GetParameterF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DFloat` > :class:`GetParameterF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,11 +43,11 @@ static char GetParameterF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the parameter of the :class:`Interface0D` pointed by the\n"
|
||||
" Interface0DIterator in the context of its 1D element.\n"
|
||||
" Returns the parameter of the :class:`freestyle.types.Interface0D`\n"
|
||||
" pointed by the Interface0DIterator in the context of its 1D element.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The parameter of an Interface0D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetViewMapGradientNormF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat` > :class:`GetViewMapGradientNormF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DFloat` > :class:`GetViewMapGradientNormF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(level)\n"
|
||||
"\n"
|
||||
@ -51,7 +51,7 @@ static char GetViewMapGradientNormF0D___doc__[] =
|
||||
" image.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The norm of the gradient of the global viewmap density\n"
|
||||
" image.\n"
|
||||
" :rtype: float\n";
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ReadCompleteViewMapPixelF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat` > :class:`ReadCompleteViewMapPixelF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadCompleteViewMapPixelF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(level)\n"
|
||||
"\n"
|
||||
@ -50,7 +50,7 @@ static char ReadCompleteViewMapPixelF0D___doc__[] =
|
||||
" Reads a pixel in one of the level of the complete viewmap.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: A pixel in one of the level of the complete viewmap.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
4
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadMapPixelF0D.cpp
4
source/blender/freestyle/intern/python/UnaryFunction0D/UnaryFunction0D_float/BPy_ReadMapPixelF0D.cpp
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ReadMapPixelF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat` > :class:`ReadMapPixelF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadMapPixelF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(map_name, level)\n"
|
||||
"\n"
|
||||
@ -52,7 +52,7 @@ static char ReadMapPixelF0D___doc__[] =
|
||||
" Reads a pixel in a map.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: A pixel in a map.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ReadSteerableViewMapPixelF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DFloat` > :class:`ReadSteerableViewMapPixelF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DFloat` > :class:`ReadSteerableViewMapPixelF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(orientation, level)\n"
|
||||
"\n"
|
||||
@ -53,7 +53,7 @@ static char ReadSteerableViewMapPixelF0D___doc__[] =
|
||||
" Reads a pixel in one of the level of one of the steerable viewmaps.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: A pixel in one of the level of one of the steerable viewmaps.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char QuantitativeInvisibilityF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DUnsigned` > :class:`QuantitativeInvisibilityF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DUnsigned` > :class:`QuantitativeInvisibilityF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,17 +43,17 @@ static char QuantitativeInvisibilityF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns the quantitative invisibility of the :class:`Interface0D`\n"
|
||||
" pointed by the Interface0DIterator. This evaluation can be\n"
|
||||
" ambiguous (in the case of a :class:`TVertex` for example). This\n"
|
||||
" functor tries to remove this ambiguity using the context offered by\n"
|
||||
" the 1D element to which the Interface0D belongs to. However, there\n"
|
||||
" still can be problematic cases, and the user willing to deal with\n"
|
||||
" this cases in a specific way should implement its own getQIF0D\n"
|
||||
" functor.\n"
|
||||
" Returns the quantitative invisibility of the\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the\n"
|
||||
" Interface0DIterator. This evaluation can be ambiguous (in the case of\n"
|
||||
" a :class:`freestyle.types.TVertex` for example). This functor tries\n"
|
||||
" to remove this ambiguity using the context offered by the 1D element\n"
|
||||
" to which the Interface0D belongs to. However, there still can be\n"
|
||||
" problematic cases, and the user willing to deal with this cases in a\n"
|
||||
" specific way should implement its own getQIF0D functor.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: The quantitative invisibility of the pointed Interface0D.\n"
|
||||
" :rtype: int\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetOccludersF0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction0D` > :class:`UnaryFunction0DVectorViewShape` > :class:`GetOccludersF0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction0D` > :class:`freestyle.types.UnaryFunction0DVectorViewShape` > :class:`GetOccludersF0D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -43,14 +43,14 @@ static char GetOccludersF0D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Returns a list of :class:`ViewShape` objects occluding the\n"
|
||||
" :class:`Interface0D` pointed by the Interface0DIterator.\n"
|
||||
" Returns a list of :class:`freestyle.types.ViewShape` objects occluding the\n"
|
||||
" :class:`freestyle.types.Interface0D` pointed by the Interface0DIterator.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: A list of ViewShape objects occluding the pointed\n"
|
||||
" Interface0D.\n"
|
||||
" :rtype: list of :class:`ViewShape` objects\n";
|
||||
" :rtype: list of :class:`freestyle.types.ViewShape` objects\n";
|
||||
|
||||
static int GetOccludersF0D___init__(BPy_GetOccludersF0D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char CurveNatureF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DEdgeNature` > :class:`CurveNatureF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DEdgeNature` > :class:`CurveNatureF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,21 +45,22 @@ static char CurveNatureF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the nature of the Interface1D (silhouette, ridge, crease,\n"
|
||||
" and so on). Except if the Interface1D is a :class:`ViewEdge`, this\n"
|
||||
" result might be ambiguous. Indeed, the Interface1D might result\n"
|
||||
" from the gathering of several 1D elements, each one being of a\n"
|
||||
" different nature. An integration method, such as the MEAN, might\n"
|
||||
" give, in this case, irrelevant results.\n"
|
||||
" Returns the nature of the Interface1D (silhouette, ridge, crease, and\n"
|
||||
" so on). Except if the Interface1D is a\n"
|
||||
" :class:`freestyle.types.ViewEdge`, this result might be ambiguous.\n"
|
||||
" Indeed, the Interface1D might result from the gathering of several 1D\n"
|
||||
" elements, each one being of a different nature. An integration\n"
|
||||
" method, such as the MEAN, might give, in this case, irrelevant\n"
|
||||
" results.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The nature of the Interface1D.\n"
|
||||
" :rtype: :class:`Nature`\n";
|
||||
" :rtype: :class:`freestyle.types.Nature`\n";
|
||||
|
||||
static int CurveNatureF1D___init__(BPy_CurveNatureF1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Normal2DF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVec2f` > :class:`Normal2DF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVec2f` > :class:`Normal2DF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char Normal2DF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the 2D normal for the Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The 2D normal for the Interface1D.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Orientation2DF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVec2f` > :class:`Orientation2DF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVec2f` > :class:`Orientation2DF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char Orientation2DF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the 2D orientation of the Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The 2D orientation of the Interface1D.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Orientation3DF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVec3f` > :class:`Orientation3DF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVec3f` > :class:`Orientation3DF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char Orientation3DF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the 3D orientation of the Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The 3D orientation of the Interface1D.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char Curvature2DAngleF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`Curvature2DAngleF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`Curvature2DAngleF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char Curvature2DAngleF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the 2D curvature as an angle for an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The 2D curvature as an angle.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char DensityF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`DensityF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`DensityF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(sigma=2.0, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char DensityF1D___doc__[] =
|
||||
" :type sigma: float\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
" :arg sampling: The resolution used to sample the chain: the\n"
|
||||
" corresponding 0D function is evaluated at each sample point and\n"
|
||||
" the result is obtained by combining the resulting values into a\n"
|
||||
@ -59,12 +59,12 @@ static char DensityF1D___doc__[] =
|
||||
"\n"
|
||||
" Returns the density evaluated for an Interface1D. The density is\n"
|
||||
" evaluated for a set of points along the Interface1D (using the\n"
|
||||
" :class:`DensityF0D` functor) with a user-defined sampling and then\n"
|
||||
" integrated into a single value using a user-defined integration\n"
|
||||
" method.\n"
|
||||
" :class:`freestyle.functions.DensityF0D` functor) with a user-defined\n"
|
||||
" sampling and then integrated into a single value using a user-defined\n"
|
||||
" integration method.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The density evaluated for an Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetCompleteViewMapDensityF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetCompleteViewMapDensityF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetCompleteViewMapDensityF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char GetCompleteViewMapDensityF1D___doc__[] =
|
||||
" :type level: int\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
" :arg sampling: The resolution used to sample the chain: the\n"
|
||||
" corresponding 0D function is evaluated at each sample point and\n"
|
||||
" the result is obtained by combining the resulting values into a\n"
|
||||
@ -58,13 +58,14 @@ static char GetCompleteViewMapDensityF1D___doc__[] =
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the density evaluated for an Interface1D in the complete\n"
|
||||
" viewmap image. The density is evaluated for a set of points along\n"
|
||||
" the Interface1D (using the :class:`ReadCompleteViewMapPixelF0D`\n"
|
||||
" functor) and then integrated into a single value using a\n"
|
||||
" user-defined integration method.\n"
|
||||
" viewmap image. The density is evaluated for a set of points along the\n"
|
||||
" Interface1D (using the\n"
|
||||
" :class:`freestyle.functions.ReadCompleteViewMapPixelF0D` functor) and\n"
|
||||
" then integrated into a single value using a user-defined integration\n"
|
||||
" method.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The density evaluated for the Interface1D in the complete\n"
|
||||
" viewmap image.\n"
|
||||
" :rtype: float\n";
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetDirectionalViewMapDensityF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` "
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` "
|
||||
"> :class:`GetDirectionalViewMapDensityF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(orientation, level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
|
||||
@ -52,7 +52,7 @@ static char GetDirectionalViewMapDensityF1D___doc__[] =
|
||||
" :type level: int\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
" :arg sampling: The resolution used to sample the chain: the\n"
|
||||
" corresponding 0D function is evaluated at each sample point and\n"
|
||||
" the result is obtained by combining the resulting values into a\n"
|
||||
@ -61,15 +61,16 @@ static char GetDirectionalViewMapDensityF1D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the density evaluated for an Interface1D in of the\n"
|
||||
" steerable viewmaps image. The direction telling which Directional\n"
|
||||
" map to choose is explicitely specified by the user. The density is\n"
|
||||
" evaluated for a set of points along the Interface1D (using the\n"
|
||||
" :class:`ReadSteerableViewMapPixelF0D` functor) and then integrated\n"
|
||||
" into a single value using a user-defined integration method.\n"
|
||||
" Returns the density evaluated for an Interface1D in of the steerable\n"
|
||||
" viewmaps image. The direction telling which Directional map to choose\n"
|
||||
" is explicitely specified by the user. The density is evaluated for a\n"
|
||||
" set of points along the Interface1D (using the\n"
|
||||
" :class:`freestyle.functions.ReadSteerableViewMapPixelF0D` functor) and\n"
|
||||
" then integrated into a single value using a user-defined integration\n"
|
||||
" method.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: the density evaluated for an Interface1D in of the\n"
|
||||
" steerable viewmaps image.\n"
|
||||
" :rtype: float\n";
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetProjectedXF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetProjectedXF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetProjectedXF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char GetProjectedXF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values. \n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the projected X 3D coordinate of an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The projected X 3D coordinate of an Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetProjectedYF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetProjectedYF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetProjectedYF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char GetProjectedYF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values. \n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the projected Y 3D coordinate of an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The projected Y 3D coordinate of an Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetProjectedZF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetProjectedZF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetProjectedZF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char GetProjectedZF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values. \n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the projected Z 3D coordinate of an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The projected Z 3D coordinate of an Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetSteerableViewMapDensityF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetSteerableViewMapDensityF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetSteerableViewMapDensityF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char GetSteerableViewMapDensityF1D___doc__[] =
|
||||
" :type level: int\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
" :arg sampling: The resolution used to sample the chain: the\n"
|
||||
" corresponding 0D function is evaluated at each sample point and\n"
|
||||
" the result is obtained by combining the resulting values into a\n"
|
||||
@ -58,11 +58,12 @@ static char GetSteerableViewMapDensityF1D___doc__[] =
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the density of the ViewMap for a given Interface1D. The\n"
|
||||
" density of each :class:`FEdge` is evaluated in the proper steerable\n"
|
||||
" :class:`ViewMap` depending on its orientation.\n"
|
||||
" density of each :class:`freestyle.types.FEdge` is evaluated in the\n"
|
||||
" proper steerable :class:`freestyle.types.ViewMap` depending on its\n"
|
||||
" orientation.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The density of the ViewMap for a given Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetViewMapGradientNormF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetViewMapGradientNormF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetViewMapGradientNormF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(level, integration_type=IntegrationType.MEAN, sampling=2.0)\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char GetViewMapGradientNormF1D___doc__[] =
|
||||
" :type level: int\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
" :arg sampling: The resolution used to sample the chain: the\n"
|
||||
" corresponding 0D function is evaluated at each sample point and\n"
|
||||
" the result is obtained by combining the resulting values into a\n"
|
||||
@ -58,11 +58,12 @@ static char GetViewMapGradientNormF1D___doc__[] =
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the density of the ViewMap for a given Interface1D. The\n"
|
||||
" density of each :class:`FEdge` is evaluated in the proper steerable\n"
|
||||
" :class:`ViewMap` depending on its orientation.\n"
|
||||
" density of each :class:`freestyle.types.FEdge` is evaluated in the\n"
|
||||
" proper steerable :class:`freestyle.types.ViewMap` depending on its\n"
|
||||
" orientation.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The density of the ViewMap for a given Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetXF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetXF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetXF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char GetXF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the X 3D coordinate of an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The X 3D coordinate of the Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetYF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetYF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetYF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char GetYF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the Y 3D coordinate of an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The Y 3D coordinate of the Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetZF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`GetZF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`GetZF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,14 +45,14 @@ static char GetZF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the Z 3D coordinate of an Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The Z 3D coordinate of the Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char LocalAverageDepthF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`LocalAverageDepthF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`LocalAverageDepthF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(sigma, integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -48,18 +48,18 @@ static char LocalAverageDepthF1D___doc__[] =
|
||||
" :type sigma: float\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the average depth evaluated for an Interface1D. The\n"
|
||||
" average depth is evaluated for a set of points along the\n"
|
||||
" Interface1D (using the :class:`LocalAverageDepthF0D` functor) with\n"
|
||||
" a user-defined sampling and then integrated into a single value\n"
|
||||
" using a user-defined integration method.\n"
|
||||
" Returns the average depth evaluated for an Interface1D. The average\n"
|
||||
" depth is evaluated for a set of points along the Interface1D (using\n"
|
||||
" the :class:`freestyle.functions.LocalAverageDepthF0D` functor) with a\n"
|
||||
" user-defined sampling and then integrated into a single value using a\n"
|
||||
" user-defined integration method.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The average depth evaluated for the Interface1D.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ZDiscontinuityF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DDouble` > :class:`ZDiscontinuityF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DDouble` > :class:`ZDiscontinuityF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,7 +45,7 @@ static char ZDiscontinuityF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
@ -56,7 +56,7 @@ static char ZDiscontinuityF1D___doc__[] =
|
||||
" Interface1D belongs to, 1 is returned.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The normalized distance between the Interface1D and the occludee.\n"
|
||||
" :rtype: float\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char QuantitativeInvisibilityF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DUnsigned` > :class:`QuantitativeInvisibilityF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DUnsigned` > :class:`QuantitativeInvisibilityF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(integration_type=IntegrationType.MEAN)\n"
|
||||
"\n"
|
||||
@ -45,18 +45,18 @@ static char QuantitativeInvisibilityF1D___doc__[] =
|
||||
"\n"
|
||||
" :arg integration_type: The integration method used to compute a single value\n"
|
||||
" from a set of values.\n"
|
||||
" :type integration_type: :class:`IntegrationType`\n"
|
||||
" :type integration_type: :class:`freestyle.types.IntegrationType`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns the Quantitative Invisibility of an Interface1D element.\n"
|
||||
" If the Interface1D is a :class:`ViewEdge`, then there is no\n"
|
||||
" ambiguity concerning the result. But, if the Interface1D results\n"
|
||||
" Returns the Quantitative Invisibility of an Interface1D element. If\n"
|
||||
" the Interface1D is a :class:`freestyle.types.ViewEdge`, then there is\n"
|
||||
" no ambiguity concerning the result. But, if the Interface1D results\n"
|
||||
" of a chaining (chain, stroke), then it might be made of several 1D\n"
|
||||
" elements of different Quantitative Invisibilities.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: The Quantitative Invisibility of the Interface1D.\n"
|
||||
" :rtype: int\n";
|
||||
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetOccludeeF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVectorViewShape` > :class:`GetOccludeeF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVectorViewShape` > :class:`GetOccludeeF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -48,9 +48,9 @@ static char GetOccludeeF1D___doc__[] =
|
||||
" Returns a list of occluded shapes covered by this Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: A list of occluded shapes covered by the Interface1D.\n"
|
||||
" :rtype: list of :class:`ViewShape` objects\n";
|
||||
" :rtype: list of :class:`freestyle.types.ViewShape` objects\n";
|
||||
|
||||
static int GetOccludeeF1D___init__(BPy_GetOccludeeF1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetOccludersF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVectorViewShape` > :class:`GetOccludersF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVectorViewShape` > :class:`GetOccludersF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -48,9 +48,9 @@ static char GetOccludersF1D___doc__[] =
|
||||
" Returns a list of occluding shapes that cover this Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: A list of occluding shapes that cover the Interface1D.\n"
|
||||
" :rtype: list of :class:`ViewShape` objects\n";
|
||||
" :rtype: list of :class:`freestyle.types.ViewShape` objects\n";
|
||||
|
||||
static int GetOccludersF1D___init__(BPy_GetOccludersF1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char GetShapeF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVectorViewShape` > :class:`GetShapeF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVectorViewShape` > :class:`GetShapeF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -48,9 +48,9 @@ static char GetShapeF1D___doc__[] =
|
||||
" Returns a list of shapes covered by this Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: A list of shapes covered by the Interface1D.\n"
|
||||
" :rtype: list of :class:`ViewShape` objects\n";
|
||||
" :rtype: list of :class:`freestyle.types.ViewShape` objects\n";
|
||||
|
||||
static int GetShapeF1D___init__(BPy_GetShapeF1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ChainingTimeStampF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVoid` > :class:`ChainingTimeStampF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVoid` > :class:`ChainingTimeStampF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char ChainingTimeStampF1D___doc__[] =
|
||||
" Sets the chaining time stamp of the Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n";
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n";
|
||||
|
||||
static int ChainingTimeStampF1D___init__(BPy_ChainingTimeStampF1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char IncrementChainingTimeStampF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVoid` > :class:`IncrementChainingTimeStampF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVoid` > :class:`IncrementChainingTimeStampF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char IncrementChainingTimeStampF1D___doc__[] =
|
||||
" Increments the chaining time stamp of the Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n";
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n";
|
||||
|
||||
static int IncrementChainingTimeStampF1D___init__(BPy_IncrementChainingTimeStampF1D *self,
|
||||
PyObject *args, PyObject *kwds)
|
||||
|
@ -37,7 +37,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char TimeStampF1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryFunction1D` > :class:`UnaryFunction1DVoid` > :class:`TimeStampF1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryFunction1D` > :class:`freestyle.types.UnaryFunction1DVoid` > :class:`TimeStampF1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__()\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char TimeStampF1D___doc__[] =
|
||||
" Returns the time stamp of the Interface1D.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n";
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n";
|
||||
|
||||
static int TimeStampF1D___init__(BPy_TimeStampF1D *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
|
@ -33,14 +33,14 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char FalseUP0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate0D` > :class:`FalseUP0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate0D` > :class:`FalseUP0D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Always returns false.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: False.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,14 +33,14 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char TrueUP0D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate0D` > :class:`TrueUP0D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate0D` > :class:`TrueUP0D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(it)\n"
|
||||
"\n"
|
||||
" Always returns true.\n"
|
||||
"\n"
|
||||
" :arg it: An Interface0DIterator object.\n"
|
||||
" :type it: :class:`Interface0DIterator`\n"
|
||||
" :type it: :class:`freestyle.types.Interface0DIterator`\n"
|
||||
" :return: True.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ContourUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`ContourUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`ContourUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
@ -41,7 +41,7 @@ static char ContourUP1D___doc__[] =
|
||||
" contour if it is borded by a different shape on each of its sides.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if the Interface1D is a contour, false otherwise.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -35,7 +35,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char DensityLowerThanUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`DensityLowerThanUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`DensityLowerThanUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(threshold, sigma=2.0)\n"
|
||||
"\n"
|
||||
@ -45,7 +45,7 @@ static char DensityLowerThanUP1D___doc__[] =
|
||||
" having a density lower than this threshold will match.\n"
|
||||
" :type threshold: float\n"
|
||||
" :arg sigma: The sigma value defining the density evaluation window\n"
|
||||
" size used in the :class:`DensityF0D` functor.\n"
|
||||
" size used in the :class:`freestyle.functions.DensityF0D` functor.\n"
|
||||
" :type sigma: float\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
@ -54,7 +54,7 @@ static char DensityLowerThanUP1D___doc__[] =
|
||||
" than a user-defined density value.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if the density is lower than a threshold.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char EqualToChainingTimeStampUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`EqualToChainingTimeStampUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`freestyle.types.EqualToChainingTimeStampUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(ts)\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char EqualToChainingTimeStampUP1D___doc__[] =
|
||||
" user-defined value.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if the time stamp is equal to a user-defined value.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char EqualToTimeStampUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`EqualToTimeStampUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`EqualToTimeStampUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(ts)\n"
|
||||
"\n"
|
||||
@ -48,7 +48,7 @@ static char EqualToTimeStampUP1D___doc__[] =
|
||||
" user-defined value.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if the time stamp is equal to a user-defined value.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ExternalContourUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`ExternalContourUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`ExternalContourUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
@ -42,7 +42,7 @@ static char ExternalContourUP1D___doc__[] =
|
||||
" one of its sides.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if the Interface1D is an external contour, false\n"
|
||||
" otherwise.\n"
|
||||
" :rtype: bool\n";
|
||||
|
@ -33,14 +33,14 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char FalseUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`FalseUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`FalseUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Always returns false.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: False.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char QuantitativeInvisibilityUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`QuantitativeInvisibilityUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`QuantitativeInvisibilityUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(qi=0)\n"
|
||||
"\n"
|
||||
@ -46,11 +46,12 @@ static char QuantitativeInvisibilityUP1D___doc__[] =
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns true if the Quantitative Invisibility evaluated at an\n"
|
||||
" Interface1D, using the :class:`QuantitativeInvisibilityF1D`\n"
|
||||
" functor, equals a certain user-defined value.\n"
|
||||
" Interface1D, using the\n"
|
||||
" :class:`freestyle.functions.QuantitativeInvisibilityF1D` functor,\n"
|
||||
" equals a certain user-defined value.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if Quantitative Invisibility equals a user-defined\n"
|
||||
" value.\n"
|
||||
" :rtype: bool\n";
|
||||
|
@ -33,7 +33,7 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char ShapeUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`ShapeUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`ShapeUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __init__(first, second=0)\n"
|
||||
"\n"
|
||||
@ -46,11 +46,11 @@ static char ShapeUP1D___doc__[] =
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Returns true if the shape to which the Interface1D belongs to has\n"
|
||||
" the same :class:`Id` as the one specified by the user.\n"
|
||||
" Returns true if the shape to which the Interface1D belongs to has the\n"
|
||||
" same :class:`freestyle.types.Id` as the one specified by the user.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True if Interface1D belongs to the shape of the\n"
|
||||
" user-specified Id.\n"
|
||||
" :rtype: bool\n";
|
||||
|
@ -33,14 +33,14 @@ extern "C" {
|
||||
//------------------------INSTANCE METHODS ----------------------------------
|
||||
|
||||
static char TrueUP1D___doc__[] =
|
||||
"Class hierarchy: :class:`UnaryPredicate1D` > :class:`TrueUP1D`\n"
|
||||
"Class hierarchy: :class:`freestyle.types.UnaryPredicate1D` > :class:`TrueUP1D`\n"
|
||||
"\n"
|
||||
".. method:: __call__(inter)\n"
|
||||
"\n"
|
||||
" Always returns true.\n"
|
||||
"\n"
|
||||
" :arg inter: An Interface1D object.\n"
|
||||
" :type inter: :class:`Interface1D`\n"
|
||||
" :type inter: :class:`freestyle.types.Interface1D`\n"
|
||||
" :return: True.\n"
|
||||
" :rtype: bool\n";
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user