fake-bpy-module 20240327__py3-none-any.whl → 20240330__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- aud/__init__.pyi +34 -96
- bgl/__init__.pyi +1265 -2417
- bl_math/__init__.pyi +3 -14
- bl_ui/space_toolsystem_toolbar/__init__.pyi +6 -0
- blf/__init__.pyi +13 -50
- bmesh/ops/__init__.pyi +68 -142
- bmesh/types/__init__.pyi +18 -44
- bmesh/utils/__init__.pyi +2 -6
- bpy/app/icons/__init__.pyi +2 -4
- bpy/app/timers/__init__.pyi +2 -6
- bpy/ops/action/__init__.pyi +92 -93
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +108 -112
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +18 -18
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +194 -195
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +10 -10
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +114 -118
- bpy/ops/curves/__init__.pyi +55 -53
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +12 -12
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +9 -9
- bpy/ops/file/__init__.pyi +80 -83
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +38 -38
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +308 -309
- bpy/ops/graph/__init__.pyi +150 -151
- bpy/ops/grease_pencil/__init__.pyi +114 -115
- bpy/ops/image/__init__.pyi +100 -100
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +90 -91
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +20 -21
- bpy/ops/mesh/__init__.pyi +431 -429
- bpy/ops/nla/__init__.pyi +89 -90
- bpy/ops/node/__init__.pyi +242 -243
- bpy/ops/object/__init__.pyi +572 -567
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +182 -126
- bpy/ops/paintcurve/__init__.pyi +20 -20
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +90 -90
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +34 -34
- bpy/ops/scene/__init__.pyi +86 -86
- bpy/ops/screen/__init__.pyi +84 -84
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +184 -185
- bpy/ops/sound/__init__.pyi +16 -16
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +112 -112
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +104 -105
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +232 -232
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +29 -52
- bpy/types/__init__.pyi +5354 -3708
- bpy/utils/__init__.pyi +3 -6
- bpy/utils/units/__init__.pyi +3 -6
- bpy_extras/io_utils/__init__.pyi +8 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/RECORD +114 -114
- freestyle/chainingiterators/__init__.pyi +5 -12
- freestyle/functions/__init__.pyi +19 -73
- freestyle/predicates/__init__.pyi +8 -21
- freestyle/shaders/__init__.pyi +32 -81
- freestyle/types/__init__.pyi +100 -270
- freestyle/utils/ContextFunctions/__init__.pyi +7 -27
- freestyle/utils/__init__.pyi +1 -2
- gpu/capabilities/__init__.pyi +15 -32
- gpu/matrix/__init__.pyi +1 -2
- gpu/state/__init__.pyi +4 -10
- gpu/types/__init__.pyi +29 -87
- gpu_extras/presets/__init__.pyi +4 -16
- imbuf/types/__init__.pyi +4 -10
- mathutils/__init__.pyi +106 -257
- mathutils/bvhtree/__init__.pyi +7 -15
- mathutils/geometry/__init__.pyi +9 -18
- mathutils/kdtree/__init__.pyi +4 -11
- mathutils/noise/__init__.pyi +41 -82
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/top_level.txt +0 -0
freestyle/functions/__init__.pyi
CHANGED
|
@@ -38,7 +38,6 @@ class Curvature2DAngleF0D:
|
|
|
38
38
|
:type it: freestyle.types.Interface0DIterator
|
|
39
39
|
:return: The 2D curvature of the 1D element evaluated at the
|
|
40
40
|
pointed Interface0D.
|
|
41
|
-
:rtype: float
|
|
42
41
|
"""
|
|
43
42
|
...
|
|
44
43
|
|
|
@@ -62,7 +61,6 @@ class Curvature2DAngleF1D:
|
|
|
62
61
|
:param inter: An Interface1D object.
|
|
63
62
|
:type inter: freestyle.types.Interface1D
|
|
64
63
|
:return: The 2D curvature as an angle.
|
|
65
|
-
:rtype: float
|
|
66
64
|
"""
|
|
67
65
|
...
|
|
68
66
|
|
|
@@ -129,13 +127,12 @@ class CurveNatureF1D:
|
|
|
129
127
|
class DensityF0D:
|
|
130
128
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `DensityF0D`"""
|
|
131
129
|
|
|
132
|
-
def __init__(self, sigma
|
|
130
|
+
def __init__(self, sigma=2.0):
|
|
133
131
|
"""Builds a DensityF0D object.
|
|
134
132
|
|
|
135
133
|
:param sigma: The gaussian sigma value indicating the X value for
|
|
136
134
|
which the gaussian function is 0.5. It leads to the window size
|
|
137
135
|
value (the larger, the smoother).
|
|
138
|
-
:type sigma: float
|
|
139
136
|
"""
|
|
140
137
|
...
|
|
141
138
|
|
|
@@ -152,7 +149,6 @@ class DensityF0D:
|
|
|
152
149
|
:type it: freestyle.types.Interface0DIterator
|
|
153
150
|
:return: The density of the image evaluated at the pointed
|
|
154
151
|
Interface0D.
|
|
155
|
-
:rtype: float
|
|
156
152
|
"""
|
|
157
153
|
...
|
|
158
154
|
|
|
@@ -161,15 +157,14 @@ class DensityF1D:
|
|
|
161
157
|
|
|
162
158
|
def __init__(
|
|
163
159
|
self,
|
|
164
|
-
sigma
|
|
160
|
+
sigma=2.0,
|
|
165
161
|
integration_type: freestyle.types.IntegrationType = None,
|
|
166
|
-
sampling
|
|
162
|
+
sampling=2.0,
|
|
167
163
|
):
|
|
168
164
|
"""Builds a DensityF1D object.
|
|
169
165
|
|
|
170
166
|
:param sigma: The sigma used in DensityF0D and determining the window size
|
|
171
167
|
used in each density query.
|
|
172
|
-
:type sigma: float
|
|
173
168
|
:param integration_type: The integration method used to compute a single value
|
|
174
169
|
from a set of values.
|
|
175
170
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -177,7 +172,6 @@ class DensityF1D:
|
|
|
177
172
|
corresponding 0D function is evaluated at each sample point and
|
|
178
173
|
the result is obtained by combining the resulting values into a
|
|
179
174
|
single one, following the method specified by integration_type.
|
|
180
|
-
:type sampling: float
|
|
181
175
|
"""
|
|
182
176
|
...
|
|
183
177
|
|
|
@@ -193,7 +187,6 @@ class DensityF1D:
|
|
|
193
187
|
:param inter: An Interface1D object.
|
|
194
188
|
:type inter: freestyle.types.Interface1D
|
|
195
189
|
:return: The density evaluated for an Interface1D.
|
|
196
|
-
:rtype: float
|
|
197
190
|
"""
|
|
198
191
|
...
|
|
199
192
|
|
|
@@ -202,15 +195,14 @@ class GetCompleteViewMapDensityF1D:
|
|
|
202
195
|
|
|
203
196
|
def __init__(
|
|
204
197
|
self,
|
|
205
|
-
level
|
|
198
|
+
level,
|
|
206
199
|
integration_type: freestyle.types.IntegrationType = None,
|
|
207
|
-
sampling
|
|
200
|
+
sampling=2.0,
|
|
208
201
|
):
|
|
209
202
|
"""Builds a GetCompleteViewMapDensityF1D object.
|
|
210
203
|
|
|
211
204
|
:param level: The level of the pyramid from which the pixel must be
|
|
212
205
|
read.
|
|
213
|
-
:type level: int
|
|
214
206
|
:param integration_type: The integration method used to compute a single value
|
|
215
207
|
from a set of values.
|
|
216
208
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -218,7 +210,6 @@ class GetCompleteViewMapDensityF1D:
|
|
|
218
210
|
corresponding 0D function is evaluated at each sample point and
|
|
219
211
|
the result is obtained by combining the resulting values into a
|
|
220
212
|
single one, following the method specified by integration_type.
|
|
221
|
-
:type sampling: float
|
|
222
213
|
"""
|
|
223
214
|
...
|
|
224
215
|
|
|
@@ -236,7 +227,6 @@ class GetCompleteViewMapDensityF1D:
|
|
|
236
227
|
:type inter: freestyle.types.Interface1D
|
|
237
228
|
:return: The density evaluated for the Interface1D in the complete
|
|
238
229
|
viewmap image.
|
|
239
|
-
:rtype: float
|
|
240
230
|
"""
|
|
241
231
|
...
|
|
242
232
|
|
|
@@ -257,7 +247,6 @@ class GetCurvilinearAbscissaF0D:
|
|
|
257
247
|
:param it: An Interface0DIterator object.
|
|
258
248
|
:type it: freestyle.types.Interface0DIterator
|
|
259
249
|
:return: The curvilinear abscissa of the pointed Interface0D.
|
|
260
|
-
:rtype: float
|
|
261
250
|
"""
|
|
262
251
|
...
|
|
263
252
|
|
|
@@ -266,19 +255,17 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
266
255
|
|
|
267
256
|
def __init__(
|
|
268
257
|
self,
|
|
269
|
-
orientation
|
|
270
|
-
level
|
|
258
|
+
orientation,
|
|
259
|
+
level,
|
|
271
260
|
integration_type: freestyle.types.IntegrationType = None,
|
|
272
|
-
sampling
|
|
261
|
+
sampling=2.0,
|
|
273
262
|
):
|
|
274
263
|
"""Builds a GetDirectionalViewMapDensityF1D object.
|
|
275
264
|
|
|
276
265
|
:param orientation: The number of the directional map we must work
|
|
277
266
|
with.
|
|
278
|
-
:type orientation: int
|
|
279
267
|
:param level: The level of the pyramid from which the pixel must be
|
|
280
268
|
read.
|
|
281
|
-
:type level: int
|
|
282
269
|
:param integration_type: The integration method used to compute a single value
|
|
283
270
|
from a set of values.
|
|
284
271
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -286,7 +273,6 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
286
273
|
corresponding 0D function is evaluated at each sample point and
|
|
287
274
|
the result is obtained by combining the resulting values into a
|
|
288
275
|
single one, following the method specified by integration_type.
|
|
289
|
-
:type sampling: float
|
|
290
276
|
"""
|
|
291
277
|
...
|
|
292
278
|
|
|
@@ -305,7 +291,6 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
305
291
|
:type inter: freestyle.types.Interface1D
|
|
306
292
|
:return: the density evaluated for an Interface1D in of the
|
|
307
293
|
steerable viewmaps image.
|
|
308
|
-
:rtype: float
|
|
309
294
|
"""
|
|
310
295
|
...
|
|
311
296
|
|
|
@@ -401,7 +386,6 @@ class GetParameterF0D:
|
|
|
401
386
|
:param it: An Interface0DIterator object.
|
|
402
387
|
:type it: freestyle.types.Interface0DIterator
|
|
403
388
|
:return: The parameter of an Interface0D.
|
|
404
|
-
:rtype: float
|
|
405
389
|
"""
|
|
406
390
|
...
|
|
407
391
|
|
|
@@ -421,7 +405,6 @@ class GetProjectedXF0D:
|
|
|
421
405
|
:param it: An Interface0DIterator object.
|
|
422
406
|
:type it: freestyle.types.Interface0DIterator
|
|
423
407
|
:return: The X 3D projected coordinate of the pointed Interface0D.
|
|
424
|
-
:rtype: float
|
|
425
408
|
"""
|
|
426
409
|
...
|
|
427
410
|
|
|
@@ -445,7 +428,6 @@ class GetProjectedXF1D:
|
|
|
445
428
|
:param inter: An Interface1D object.
|
|
446
429
|
:type inter: freestyle.types.Interface1D
|
|
447
430
|
:return: The projected X 3D coordinate of an Interface1D.
|
|
448
|
-
:rtype: float
|
|
449
431
|
"""
|
|
450
432
|
...
|
|
451
433
|
|
|
@@ -465,7 +447,6 @@ class GetProjectedYF0D:
|
|
|
465
447
|
:param it: An Interface0DIterator object.
|
|
466
448
|
:type it: freestyle.types.Interface0DIterator
|
|
467
449
|
:return: The Y 3D projected coordinate of the pointed Interface0D.
|
|
468
|
-
:rtype: float
|
|
469
450
|
"""
|
|
470
451
|
...
|
|
471
452
|
|
|
@@ -489,7 +470,6 @@ class GetProjectedYF1D:
|
|
|
489
470
|
:param inter: An Interface1D object.
|
|
490
471
|
:type inter: freestyle.types.Interface1D
|
|
491
472
|
:return: The projected Y 3D coordinate of an Interface1D.
|
|
492
|
-
:rtype: float
|
|
493
473
|
"""
|
|
494
474
|
...
|
|
495
475
|
|
|
@@ -509,7 +489,6 @@ class GetProjectedZF0D:
|
|
|
509
489
|
:param it: An Interface0DIterator object.
|
|
510
490
|
:type it: freestyle.types.Interface0DIterator
|
|
511
491
|
:return: The Z 3D projected coordinate of the pointed Interface0D.
|
|
512
|
-
:rtype: float
|
|
513
492
|
"""
|
|
514
493
|
...
|
|
515
494
|
|
|
@@ -533,7 +512,6 @@ class GetProjectedZF1D:
|
|
|
533
512
|
:param inter: An Interface1D object.
|
|
534
513
|
:type inter: freestyle.types.Interface1D
|
|
535
514
|
:return: The projected Z 3D coordinate of an Interface1D.
|
|
536
|
-
:rtype: float
|
|
537
515
|
"""
|
|
538
516
|
...
|
|
539
517
|
|
|
@@ -580,15 +558,14 @@ class GetSteerableViewMapDensityF1D:
|
|
|
580
558
|
|
|
581
559
|
def __init__(
|
|
582
560
|
self,
|
|
583
|
-
level
|
|
561
|
+
level,
|
|
584
562
|
integration_type: freestyle.types.IntegrationType = None,
|
|
585
|
-
sampling
|
|
563
|
+
sampling=2.0,
|
|
586
564
|
):
|
|
587
565
|
"""Builds a GetSteerableViewMapDensityF1D object.
|
|
588
566
|
|
|
589
567
|
:param level: The level of the pyramid from which the pixel must be
|
|
590
568
|
read.
|
|
591
|
-
:type level: int
|
|
592
569
|
:param integration_type: The integration method used to compute a single value
|
|
593
570
|
from a set of values.
|
|
594
571
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -596,7 +573,6 @@ class GetSteerableViewMapDensityF1D:
|
|
|
596
573
|
corresponding 0D function is evaluated at each sample point and
|
|
597
574
|
the result is obtained by combining the resulting values into a
|
|
598
575
|
single one, following the method specified by integration_type.
|
|
599
|
-
:type sampling: float
|
|
600
576
|
"""
|
|
601
577
|
...
|
|
602
578
|
|
|
@@ -611,19 +587,17 @@ class GetSteerableViewMapDensityF1D:
|
|
|
611
587
|
:param inter: An Interface1D object.
|
|
612
588
|
:type inter: freestyle.types.Interface1D
|
|
613
589
|
:return: The density of the ViewMap for a given Interface1D.
|
|
614
|
-
:rtype: float
|
|
615
590
|
"""
|
|
616
591
|
...
|
|
617
592
|
|
|
618
593
|
class GetViewMapGradientNormF0D:
|
|
619
594
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `GetViewMapGradientNormF0D`"""
|
|
620
595
|
|
|
621
|
-
def __init__(self, level
|
|
596
|
+
def __init__(self, level):
|
|
622
597
|
"""Builds a GetViewMapGradientNormF0D object.
|
|
623
598
|
|
|
624
599
|
:param level: The level of the pyramid from which the pixel must be
|
|
625
600
|
read.
|
|
626
|
-
:type level: int
|
|
627
601
|
"""
|
|
628
602
|
...
|
|
629
603
|
|
|
@@ -637,7 +611,6 @@ class GetViewMapGradientNormF0D:
|
|
|
637
611
|
:type it: freestyle.types.Interface0DIterator
|
|
638
612
|
:return: The norm of the gradient of the global viewmap density
|
|
639
613
|
image.
|
|
640
|
-
:rtype: float
|
|
641
614
|
"""
|
|
642
615
|
...
|
|
643
616
|
|
|
@@ -646,15 +619,14 @@ class GetViewMapGradientNormF1D:
|
|
|
646
619
|
|
|
647
620
|
def __init__(
|
|
648
621
|
self,
|
|
649
|
-
level
|
|
622
|
+
level,
|
|
650
623
|
integration_type: freestyle.types.IntegrationType = None,
|
|
651
|
-
sampling
|
|
624
|
+
sampling=2.0,
|
|
652
625
|
):
|
|
653
626
|
"""Builds a GetViewMapGradientNormF1D object.
|
|
654
627
|
|
|
655
628
|
:param level: The level of the pyramid from which the pixel must be
|
|
656
629
|
read.
|
|
657
|
-
:type level: int
|
|
658
630
|
:param integration_type: The integration method used to compute a single value
|
|
659
631
|
from a set of values.
|
|
660
632
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -662,7 +634,6 @@ class GetViewMapGradientNormF1D:
|
|
|
662
634
|
corresponding 0D function is evaluated at each sample point and
|
|
663
635
|
the result is obtained by combining the resulting values into a
|
|
664
636
|
single one, following the method specified by integration_type.
|
|
665
|
-
:type sampling: float
|
|
666
637
|
"""
|
|
667
638
|
...
|
|
668
639
|
|
|
@@ -677,7 +648,6 @@ class GetViewMapGradientNormF1D:
|
|
|
677
648
|
:param inter: An Interface1D object.
|
|
678
649
|
:type inter: freestyle.types.Interface1D
|
|
679
650
|
:return: The density of the ViewMap for a given Interface1D.
|
|
680
|
-
:rtype: float
|
|
681
651
|
"""
|
|
682
652
|
...
|
|
683
653
|
|
|
@@ -697,7 +667,6 @@ class GetXF0D:
|
|
|
697
667
|
:param it: An Interface0DIterator object.
|
|
698
668
|
:type it: freestyle.types.Interface0DIterator
|
|
699
669
|
:return: The X 3D coordinate of the pointed Interface0D.
|
|
700
|
-
:rtype: float
|
|
701
670
|
"""
|
|
702
671
|
...
|
|
703
672
|
|
|
@@ -721,7 +690,6 @@ class GetXF1D:
|
|
|
721
690
|
:param inter: An Interface1D object.
|
|
722
691
|
:type inter: freestyle.types.Interface1D
|
|
723
692
|
:return: The X 3D coordinate of the Interface1D.
|
|
724
|
-
:rtype: float
|
|
725
693
|
"""
|
|
726
694
|
...
|
|
727
695
|
|
|
@@ -741,7 +709,6 @@ class GetYF0D:
|
|
|
741
709
|
:param it: An Interface0DIterator object.
|
|
742
710
|
:type it: freestyle.types.Interface0DIterator
|
|
743
711
|
:return: The Y 3D coordinate of the pointed Interface0D.
|
|
744
|
-
:rtype: float
|
|
745
712
|
"""
|
|
746
713
|
...
|
|
747
714
|
|
|
@@ -765,7 +732,6 @@ class GetYF1D:
|
|
|
765
732
|
:param inter: An Interface1D object.
|
|
766
733
|
:type inter: freestyle.types.Interface1D
|
|
767
734
|
:return: The Y 3D coordinate of the Interface1D.
|
|
768
|
-
:rtype: float
|
|
769
735
|
"""
|
|
770
736
|
...
|
|
771
737
|
|
|
@@ -785,7 +751,6 @@ class GetZF0D:
|
|
|
785
751
|
:param it: An Interface0DIterator object.
|
|
786
752
|
:type it: freestyle.types.Interface0DIterator
|
|
787
753
|
:return: The Z 3D coordinate of the pointed Interface0D.
|
|
788
|
-
:rtype: float
|
|
789
754
|
"""
|
|
790
755
|
...
|
|
791
756
|
|
|
@@ -809,7 +774,6 @@ class GetZF1D:
|
|
|
809
774
|
:param inter: An Interface1D object.
|
|
810
775
|
:type inter: freestyle.types.Interface1D
|
|
811
776
|
:return: The Z 3D coordinate of the Interface1D.
|
|
812
|
-
:rtype: float
|
|
813
777
|
"""
|
|
814
778
|
...
|
|
815
779
|
|
|
@@ -831,11 +795,10 @@ class IncrementChainingTimeStampF1D:
|
|
|
831
795
|
class LocalAverageDepthF0D:
|
|
832
796
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `LocalAverageDepthF0D`"""
|
|
833
797
|
|
|
834
|
-
def __init__(self, mask_size
|
|
798
|
+
def __init__(self, mask_size=5.0):
|
|
835
799
|
"""Builds a LocalAverageDepthF0D object.
|
|
836
800
|
|
|
837
801
|
:param mask_size: The size of the mask.
|
|
838
|
-
:type mask_size: float
|
|
839
802
|
"""
|
|
840
803
|
...
|
|
841
804
|
|
|
@@ -850,21 +813,17 @@ class LocalAverageDepthF0D:
|
|
|
850
813
|
:param it: An Interface0DIterator object.
|
|
851
814
|
:type it: freestyle.types.Interface0DIterator
|
|
852
815
|
:return: The average depth around the pointed Interface0D.
|
|
853
|
-
:rtype: float
|
|
854
816
|
"""
|
|
855
817
|
...
|
|
856
818
|
|
|
857
819
|
class LocalAverageDepthF1D:
|
|
858
820
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `LocalAverageDepthF1D`"""
|
|
859
821
|
|
|
860
|
-
def __init__(
|
|
861
|
-
self, sigma: float, integration_type: freestyle.types.IntegrationType = None
|
|
862
|
-
):
|
|
822
|
+
def __init__(self, sigma, integration_type: freestyle.types.IntegrationType = None):
|
|
863
823
|
"""Builds a LocalAverageDepthF1D object.
|
|
864
824
|
|
|
865
825
|
:param sigma: The sigma used in DensityF0D and determining the window
|
|
866
826
|
size used in each density query.
|
|
867
|
-
:type sigma: float
|
|
868
827
|
:param integration_type: The integration method used to compute a single value
|
|
869
828
|
from a set of values.
|
|
870
829
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -883,7 +842,6 @@ class LocalAverageDepthF1D:
|
|
|
883
842
|
:param inter: An Interface1D object.
|
|
884
843
|
:type inter: freestyle.types.Interface1D
|
|
885
844
|
:return: The average depth evaluated for the Interface1D.
|
|
886
|
-
:rtype: float
|
|
887
845
|
"""
|
|
888
846
|
...
|
|
889
847
|
|
|
@@ -1034,7 +992,6 @@ class QuantitativeInvisibilityF0D:
|
|
|
1034
992
|
:param it: An Interface0DIterator object.
|
|
1035
993
|
:type it: freestyle.types.Interface0DIterator
|
|
1036
994
|
:return: The quantitative invisibility of the pointed Interface0D.
|
|
1037
|
-
:rtype: int
|
|
1038
995
|
"""
|
|
1039
996
|
...
|
|
1040
997
|
|
|
@@ -1062,19 +1019,17 @@ class QuantitativeInvisibilityF1D:
|
|
|
1062
1019
|
:param inter: An Interface1D object.
|
|
1063
1020
|
:type inter: freestyle.types.Interface1D
|
|
1064
1021
|
:return: The Quantitative Invisibility of the Interface1D.
|
|
1065
|
-
:rtype: int
|
|
1066
1022
|
"""
|
|
1067
1023
|
...
|
|
1068
1024
|
|
|
1069
1025
|
class ReadCompleteViewMapPixelF0D:
|
|
1070
1026
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadCompleteViewMapPixelF0D`"""
|
|
1071
1027
|
|
|
1072
|
-
def __init__(self, level
|
|
1028
|
+
def __init__(self, level):
|
|
1073
1029
|
"""Builds a ReadCompleteViewMapPixelF0D object.
|
|
1074
1030
|
|
|
1075
1031
|
:param level: The level of the pyramid from which the pixel must be
|
|
1076
1032
|
read.
|
|
1077
|
-
:type level: int
|
|
1078
1033
|
"""
|
|
1079
1034
|
...
|
|
1080
1035
|
|
|
@@ -1086,21 +1041,19 @@ class ReadCompleteViewMapPixelF0D:
|
|
|
1086
1041
|
:param it: An Interface0DIterator object.
|
|
1087
1042
|
:type it: freestyle.types.Interface0DIterator
|
|
1088
1043
|
:return: A pixel in one of the level of the complete viewmap.
|
|
1089
|
-
:rtype: float
|
|
1090
1044
|
"""
|
|
1091
1045
|
...
|
|
1092
1046
|
|
|
1093
1047
|
class ReadMapPixelF0D:
|
|
1094
1048
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadMapPixelF0D`"""
|
|
1095
1049
|
|
|
1096
|
-
def __init__(self, map_name: str, level
|
|
1050
|
+
def __init__(self, map_name: str, level):
|
|
1097
1051
|
"""Builds a ReadMapPixelF0D object.
|
|
1098
1052
|
|
|
1099
1053
|
:param map_name: The name of the map to be read.
|
|
1100
1054
|
:type map_name: str
|
|
1101
1055
|
:param level: The level of the pyramid from which the pixel must be
|
|
1102
1056
|
read.
|
|
1103
|
-
:type level: int
|
|
1104
1057
|
"""
|
|
1105
1058
|
...
|
|
1106
1059
|
|
|
@@ -1112,22 +1065,19 @@ class ReadMapPixelF0D:
|
|
|
1112
1065
|
:param it: An Interface0DIterator object.
|
|
1113
1066
|
:type it: freestyle.types.Interface0DIterator
|
|
1114
1067
|
:return: A pixel in a map.
|
|
1115
|
-
:rtype: float
|
|
1116
1068
|
"""
|
|
1117
1069
|
...
|
|
1118
1070
|
|
|
1119
1071
|
class ReadSteerableViewMapPixelF0D:
|
|
1120
1072
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadSteerableViewMapPixelF0D`"""
|
|
1121
1073
|
|
|
1122
|
-
def __init__(self, orientation
|
|
1074
|
+
def __init__(self, orientation, level):
|
|
1123
1075
|
"""Builds a ReadSteerableViewMapPixelF0D object.
|
|
1124
1076
|
|
|
1125
1077
|
:param orientation: The integer belonging to [0, 4] indicating the
|
|
1126
1078
|
orientation (E, NE, N, NW) we are interested in.
|
|
1127
|
-
:type orientation: int
|
|
1128
1079
|
:param level: The level of the pyramid from which the pixel must be
|
|
1129
1080
|
read.
|
|
1130
|
-
:type level: int
|
|
1131
1081
|
"""
|
|
1132
1082
|
...
|
|
1133
1083
|
|
|
@@ -1139,7 +1089,6 @@ class ReadSteerableViewMapPixelF0D:
|
|
|
1139
1089
|
:param it: An Interface0DIterator object.
|
|
1140
1090
|
:type it: freestyle.types.Interface0DIterator
|
|
1141
1091
|
:return: A pixel in one of the level of one of the steerable viewmaps.
|
|
1142
|
-
:rtype: float
|
|
1143
1092
|
"""
|
|
1144
1093
|
...
|
|
1145
1094
|
|
|
@@ -1252,7 +1201,6 @@ class ZDiscontinuityF0D:
|
|
|
1252
1201
|
:type it: freestyle.types.Interface0DIterator
|
|
1253
1202
|
:return: The normalized distance between the pointed Interface0D
|
|
1254
1203
|
and the occludee.
|
|
1255
|
-
:rtype: float
|
|
1256
1204
|
"""
|
|
1257
1205
|
...
|
|
1258
1206
|
|
|
@@ -1280,7 +1228,6 @@ class ZDiscontinuityF1D:
|
|
|
1280
1228
|
:param inter: An Interface1D object.
|
|
1281
1229
|
:type inter: freestyle.types.Interface1D
|
|
1282
1230
|
:return: The normalized distance between the Interface1D and the occludee.
|
|
1283
|
-
:rtype: float
|
|
1284
1231
|
"""
|
|
1285
1232
|
...
|
|
1286
1233
|
|
|
@@ -1327,10 +1274,9 @@ class pyViewMapGradientNormF1D:
|
|
|
1327
1274
|
class pyViewMapGradientVectorF0D:
|
|
1328
1275
|
"""Returns the gradient vector for a pixel."""
|
|
1329
1276
|
|
|
1330
|
-
def __init__(self, level
|
|
1277
|
+
def __init__(self, level):
|
|
1331
1278
|
"""Builds a pyViewMapGradientVectorF0D object.
|
|
1332
1279
|
|
|
1333
1280
|
:param level: the level at which to compute the gradient
|
|
1334
|
-
:type level: int
|
|
1335
1281
|
"""
|
|
1336
1282
|
...
|
|
@@ -32,15 +32,13 @@ class ContourUP1D:
|
|
|
32
32
|
class DensityLowerThanUP1D:
|
|
33
33
|
"""Class hierarchy: `freestyle.types.UnaryPredicate1D` > `DensityLowerThanUP1D`"""
|
|
34
34
|
|
|
35
|
-
def __init__(self, threshold
|
|
35
|
+
def __init__(self, threshold, sigma=2.0):
|
|
36
36
|
"""Builds a DensityLowerThanUP1D object.
|
|
37
37
|
|
|
38
38
|
:param threshold: The value of the threshold density. Any Interface1D
|
|
39
39
|
having a density lower than this threshold will match.
|
|
40
|
-
:type threshold: float
|
|
41
40
|
:param sigma: The sigma value defining the density evaluation window
|
|
42
41
|
size used in the `freestyle.functions.DensityF0D` functor.
|
|
43
|
-
:type sigma: float
|
|
44
42
|
"""
|
|
45
43
|
...
|
|
46
44
|
|
|
@@ -60,11 +58,10 @@ class DensityLowerThanUP1D:
|
|
|
60
58
|
class EqualToChainingTimeStampUP1D:
|
|
61
59
|
"""Class hierarchy: `freestyle.types.UnaryPredicate1D` > `freestyle.types.EqualToChainingTimeStampUP1D`"""
|
|
62
60
|
|
|
63
|
-
def __init__(self, ts
|
|
61
|
+
def __init__(self, ts):
|
|
64
62
|
"""Builds a EqualToChainingTimeStampUP1D object.
|
|
65
63
|
|
|
66
64
|
:param ts: A time stamp value.
|
|
67
|
-
:type ts: int
|
|
68
65
|
"""
|
|
69
66
|
...
|
|
70
67
|
|
|
@@ -84,11 +81,10 @@ class EqualToChainingTimeStampUP1D:
|
|
|
84
81
|
class EqualToTimeStampUP1D:
|
|
85
82
|
"""Class hierarchy: `freestyle.types.UnaryPredicate1D` > `EqualToTimeStampUP1D`"""
|
|
86
83
|
|
|
87
|
-
def __init__(self, ts
|
|
84
|
+
def __init__(self, ts):
|
|
88
85
|
"""Builds a EqualToTimeStampUP1D object.
|
|
89
86
|
|
|
90
87
|
:param ts: A time stamp value.
|
|
91
|
-
:type ts: int
|
|
92
88
|
"""
|
|
93
89
|
...
|
|
94
90
|
|
|
@@ -226,12 +222,11 @@ class QuantitativeInvisibilityRangeUP1D:
|
|
|
226
222
|
class QuantitativeInvisibilityUP1D:
|
|
227
223
|
"""Class hierarchy: `freestyle.types.UnaryPredicate1D` > `QuantitativeInvisibilityUP1D`"""
|
|
228
224
|
|
|
229
|
-
def __init__(self, qi
|
|
225
|
+
def __init__(self, qi=0):
|
|
230
226
|
"""Builds a QuantitativeInvisibilityUP1D object.
|
|
231
227
|
|
|
232
228
|
:param qi: The Quantitative Invisibility you want the Interface1D to
|
|
233
229
|
have.
|
|
234
|
-
:type qi: int
|
|
235
230
|
"""
|
|
236
231
|
...
|
|
237
232
|
|
|
@@ -271,13 +266,11 @@ class SameShapeIdBP1D:
|
|
|
271
266
|
class ShapeUP1D:
|
|
272
267
|
"""Class hierarchy: `freestyle.types.UnaryPredicate1D` > `ShapeUP1D`"""
|
|
273
268
|
|
|
274
|
-
def __init__(self, first
|
|
269
|
+
def __init__(self, first, second=0):
|
|
275
270
|
"""Builds a ShapeUP1D object.
|
|
276
271
|
|
|
277
272
|
:param first: The first Id component.
|
|
278
|
-
:type first: int
|
|
279
273
|
:param second: The second Id component.
|
|
280
|
-
:type second: int
|
|
281
274
|
"""
|
|
282
275
|
...
|
|
283
276
|
|
|
@@ -347,15 +340,14 @@ class ViewMapGradientNormBP1D:
|
|
|
347
340
|
|
|
348
341
|
def __init__(
|
|
349
342
|
self,
|
|
350
|
-
level
|
|
343
|
+
level,
|
|
351
344
|
integration_type: freestyle.types.IntegrationType = None,
|
|
352
|
-
sampling
|
|
345
|
+
sampling=2.0,
|
|
353
346
|
):
|
|
354
347
|
"""Builds a ViewMapGradientNormBP1D object.
|
|
355
348
|
|
|
356
349
|
:param level: The level of the pyramid from which the pixel must be
|
|
357
350
|
read.
|
|
358
|
-
:type level: int
|
|
359
351
|
:param integration_type: The integration method used to compute a single value
|
|
360
352
|
from a set of values.
|
|
361
353
|
:type integration_type: freestyle.types.IntegrationType
|
|
@@ -363,7 +355,6 @@ class ViewMapGradientNormBP1D:
|
|
|
363
355
|
GetViewMapGradientNormF0D is evaluated at each sample point and
|
|
364
356
|
the result is obtained by combining the resulting values into a
|
|
365
357
|
single one, following the method specified by integration_type.
|
|
366
|
-
:type sampling: float
|
|
367
358
|
"""
|
|
368
359
|
...
|
|
369
360
|
|
|
@@ -385,17 +376,13 @@ class ViewMapGradientNormBP1D:
|
|
|
385
376
|
class WithinImageBoundaryUP1D:
|
|
386
377
|
"""Class hierarchy: `freestyle.types.UnaryPredicate1D` > `WithinImageBoundaryUP1D`"""
|
|
387
378
|
|
|
388
|
-
def __init__(self, xmin
|
|
379
|
+
def __init__(self, xmin, ymin, xmax, ymax):
|
|
389
380
|
"""Builds an WithinImageBoundaryUP1D object.
|
|
390
381
|
|
|
391
382
|
:param xmin: X lower bound of the image boundary.
|
|
392
|
-
:type xmin: float
|
|
393
383
|
:param ymin: Y lower bound of the image boundary.
|
|
394
|
-
:type ymin: float
|
|
395
384
|
:param xmax: X upper bound of the image boundary.
|
|
396
|
-
:type xmax: float
|
|
397
385
|
:param ymax: Y upper bound of the image boundary.
|
|
398
|
-
:type ymax: float
|
|
399
386
|
"""
|
|
400
387
|
...
|
|
401
388
|
|