fake-bpy-module 20240321__py3-none-any.whl → 20240322__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +330 -428
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86353 -87337
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
freestyle/functions/__init__.pyi
CHANGED
|
@@ -11,11 +11,11 @@ class ChainingTimeStampF1D:
|
|
|
11
11
|
"""Builds a ChainingTimeStampF1D object."""
|
|
12
12
|
...
|
|
13
13
|
|
|
14
|
-
def __call__(self, inter:
|
|
14
|
+
def __call__(self, inter: freestyle.types.Interface1D):
|
|
15
15
|
"""Sets the chaining time stamp of the Interface1D.
|
|
16
16
|
|
|
17
17
|
:param inter: An Interface1D object.
|
|
18
|
-
:type inter:
|
|
18
|
+
:type inter: freestyle.types.Interface1D
|
|
19
19
|
"""
|
|
20
20
|
...
|
|
21
21
|
|
|
@@ -26,39 +26,43 @@ class Curvature2DAngleF0D:
|
|
|
26
26
|
"""Builds a Curvature2DAngleF0D object."""
|
|
27
27
|
...
|
|
28
28
|
|
|
29
|
-
def __call__(
|
|
29
|
+
def __call__(
|
|
30
|
+
self, it: freestyle.types.Interface0DIterator
|
|
31
|
+
) -> freestyle.types.Interface0DIterator:
|
|
30
32
|
"""Returns a real value giving the 2D curvature (as an angle) of the 1D
|
|
31
33
|
element to which the `freestyle.types.Interface0D` pointed by
|
|
32
34
|
the Interface0DIterator belongs. The 2D curvature is evaluated at the
|
|
33
35
|
Interface0D.
|
|
34
36
|
|
|
35
37
|
:param it: An Interface0DIterator object.
|
|
36
|
-
:type it:
|
|
37
|
-
:rtype: float
|
|
38
|
+
:type it: freestyle.types.Interface0DIterator
|
|
38
39
|
:return: The 2D curvature of the 1D element evaluated at the
|
|
39
40
|
pointed Interface0D.
|
|
41
|
+
:rtype: float
|
|
40
42
|
"""
|
|
41
43
|
...
|
|
42
44
|
|
|
43
45
|
class Curvature2DAngleF1D:
|
|
44
46
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `Curvature2DAngleF1D`"""
|
|
45
47
|
|
|
46
|
-
def __init__(self, integration_type:
|
|
48
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
47
49
|
"""Builds a Curvature2DAngleF1D object.
|
|
48
50
|
|
|
49
51
|
:param integration_type: The integration method used to compute a single value
|
|
50
52
|
from a set of values.
|
|
51
|
-
:type integration_type:
|
|
53
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
52
54
|
"""
|
|
53
55
|
...
|
|
54
56
|
|
|
55
|
-
def __call__(
|
|
57
|
+
def __call__(
|
|
58
|
+
self, inter: freestyle.types.Interface1D
|
|
59
|
+
) -> freestyle.types.Interface1D:
|
|
56
60
|
"""Returns the 2D curvature as an angle for an Interface1D.
|
|
57
61
|
|
|
58
62
|
:param inter: An Interface1D object.
|
|
59
|
-
:type inter:
|
|
60
|
-
:rtype: float
|
|
63
|
+
:type inter: freestyle.types.Interface1D
|
|
61
64
|
:return: The 2D curvature as an angle.
|
|
65
|
+
:rtype: float
|
|
62
66
|
"""
|
|
63
67
|
...
|
|
64
68
|
|
|
@@ -79,34 +83,34 @@ class CurveNatureF0D:
|
|
|
79
83
|
...
|
|
80
84
|
|
|
81
85
|
def __call__(
|
|
82
|
-
self, it:
|
|
83
|
-
) ->
|
|
86
|
+
self, it: freestyle.types.Interface0DIterator
|
|
87
|
+
) -> freestyle.types.Interface0DIterator:
|
|
84
88
|
"""Returns the `freestyle.types.Nature` of the 1D element the
|
|
85
89
|
Interface0D pointed by the Interface0DIterator belongs to.
|
|
86
90
|
|
|
87
91
|
:param it: An Interface0DIterator object.
|
|
88
|
-
:type it:
|
|
89
|
-
:rtype: 'freestyle.types.Nature'
|
|
92
|
+
:type it: freestyle.types.Interface0DIterator
|
|
90
93
|
:return: The nature of the 1D element to which the pointed Interface0D
|
|
91
94
|
belongs.
|
|
95
|
+
:rtype: freestyle.types.Nature
|
|
92
96
|
"""
|
|
93
97
|
...
|
|
94
98
|
|
|
95
99
|
class CurveNatureF1D:
|
|
96
100
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DEdgeNature` > `CurveNatureF1D`"""
|
|
97
101
|
|
|
98
|
-
def __init__(self, integration_type:
|
|
102
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
99
103
|
"""Builds a CurveNatureF1D object.
|
|
100
104
|
|
|
101
105
|
:param integration_type: The integration method used to compute a single value
|
|
102
106
|
from a set of values.
|
|
103
|
-
:type integration_type:
|
|
107
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
104
108
|
"""
|
|
105
109
|
...
|
|
106
110
|
|
|
107
111
|
def __call__(
|
|
108
|
-
self, inter:
|
|
109
|
-
) ->
|
|
112
|
+
self, inter: freestyle.types.Interface1D
|
|
113
|
+
) -> freestyle.types.Interface1D:
|
|
110
114
|
"""Returns the nature of the Interface1D (silhouette, ridge, crease, and
|
|
111
115
|
so on). Except if the Interface1D is a
|
|
112
116
|
`freestyle.types.ViewEdge`, this result might be ambiguous.
|
|
@@ -116,9 +120,9 @@ class CurveNatureF1D:
|
|
|
116
120
|
results.
|
|
117
121
|
|
|
118
122
|
:param inter: An Interface1D object.
|
|
119
|
-
:type inter:
|
|
120
|
-
:rtype: 'freestyle.types.Nature'
|
|
123
|
+
:type inter: freestyle.types.Interface1D
|
|
121
124
|
:return: The nature of the Interface1D.
|
|
125
|
+
:rtype: freestyle.types.Nature
|
|
122
126
|
"""
|
|
123
127
|
...
|
|
124
128
|
|
|
@@ -135,7 +139,9 @@ class DensityF0D:
|
|
|
135
139
|
"""
|
|
136
140
|
...
|
|
137
141
|
|
|
138
|
-
def __call__(
|
|
142
|
+
def __call__(
|
|
143
|
+
self, it: freestyle.types.Interface0DIterator
|
|
144
|
+
) -> freestyle.types.Interface0DIterator:
|
|
139
145
|
"""Returns the density of the (result) image evaluated at the
|
|
140
146
|
`freestyle.types.Interface0D` pointed by the
|
|
141
147
|
Interface0DIterator. This density is evaluated using a pixels square
|
|
@@ -143,10 +149,10 @@ class DensityF0D:
|
|
|
143
149
|
a gaussian.
|
|
144
150
|
|
|
145
151
|
:param it: An Interface0DIterator object.
|
|
146
|
-
:type it:
|
|
147
|
-
:rtype: float
|
|
152
|
+
:type it: freestyle.types.Interface0DIterator
|
|
148
153
|
:return: The density of the image evaluated at the pointed
|
|
149
154
|
Interface0D.
|
|
155
|
+
:rtype: float
|
|
150
156
|
"""
|
|
151
157
|
...
|
|
152
158
|
|
|
@@ -156,7 +162,7 @@ class DensityF1D:
|
|
|
156
162
|
def __init__(
|
|
157
163
|
self,
|
|
158
164
|
sigma: float = 2.0,
|
|
159
|
-
integration_type:
|
|
165
|
+
integration_type: freestyle.types.IntegrationType = None,
|
|
160
166
|
sampling: float = 2.0,
|
|
161
167
|
):
|
|
162
168
|
"""Builds a DensityF1D object.
|
|
@@ -166,7 +172,7 @@ class DensityF1D:
|
|
|
166
172
|
:type sigma: float
|
|
167
173
|
:param integration_type: The integration method used to compute a single value
|
|
168
174
|
from a set of values.
|
|
169
|
-
:type integration_type:
|
|
175
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
170
176
|
:param sampling: The resolution used to sample the chain: the
|
|
171
177
|
corresponding 0D function is evaluated at each sample point and
|
|
172
178
|
the result is obtained by combining the resulting values into a
|
|
@@ -175,7 +181,9 @@ class DensityF1D:
|
|
|
175
181
|
"""
|
|
176
182
|
...
|
|
177
183
|
|
|
178
|
-
def __call__(
|
|
184
|
+
def __call__(
|
|
185
|
+
self, inter: freestyle.types.Interface1D
|
|
186
|
+
) -> freestyle.types.Interface1D:
|
|
179
187
|
"""Returns the density evaluated for an Interface1D. The density is
|
|
180
188
|
evaluated for a set of points along the Interface1D (using the
|
|
181
189
|
`freestyle.functions.DensityF0D` functor) with a user-defined
|
|
@@ -183,9 +191,9 @@ class DensityF1D:
|
|
|
183
191
|
integration method.
|
|
184
192
|
|
|
185
193
|
:param inter: An Interface1D object.
|
|
186
|
-
:type inter:
|
|
187
|
-
:rtype: float
|
|
194
|
+
:type inter: freestyle.types.Interface1D
|
|
188
195
|
:return: The density evaluated for an Interface1D.
|
|
196
|
+
:rtype: float
|
|
189
197
|
"""
|
|
190
198
|
...
|
|
191
199
|
|
|
@@ -195,7 +203,7 @@ class GetCompleteViewMapDensityF1D:
|
|
|
195
203
|
def __init__(
|
|
196
204
|
self,
|
|
197
205
|
level: int,
|
|
198
|
-
integration_type:
|
|
206
|
+
integration_type: freestyle.types.IntegrationType = None,
|
|
199
207
|
sampling: float = 2.0,
|
|
200
208
|
):
|
|
201
209
|
"""Builds a GetCompleteViewMapDensityF1D object.
|
|
@@ -205,7 +213,7 @@ class GetCompleteViewMapDensityF1D:
|
|
|
205
213
|
:type level: int
|
|
206
214
|
:param integration_type: The integration method used to compute a single value
|
|
207
215
|
from a set of values.
|
|
208
|
-
:type integration_type:
|
|
216
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
209
217
|
:param sampling: The resolution used to sample the chain: the
|
|
210
218
|
corresponding 0D function is evaluated at each sample point and
|
|
211
219
|
the result is obtained by combining the resulting values into a
|
|
@@ -214,7 +222,9 @@ class GetCompleteViewMapDensityF1D:
|
|
|
214
222
|
"""
|
|
215
223
|
...
|
|
216
224
|
|
|
217
|
-
def __call__(
|
|
225
|
+
def __call__(
|
|
226
|
+
self, inter: freestyle.types.Interface1D
|
|
227
|
+
) -> freestyle.types.Interface1D:
|
|
218
228
|
"""Returns the density evaluated for an Interface1D in the complete
|
|
219
229
|
viewmap image. The density is evaluated for a set of points along the
|
|
220
230
|
Interface1D (using the
|
|
@@ -223,10 +233,10 @@ class GetCompleteViewMapDensityF1D:
|
|
|
223
233
|
method.
|
|
224
234
|
|
|
225
235
|
:param inter: An Interface1D object.
|
|
226
|
-
:type inter:
|
|
227
|
-
:rtype: float
|
|
236
|
+
:type inter: freestyle.types.Interface1D
|
|
228
237
|
:return: The density evaluated for the Interface1D in the complete
|
|
229
238
|
viewmap image.
|
|
239
|
+
:rtype: float
|
|
230
240
|
"""
|
|
231
241
|
...
|
|
232
242
|
|
|
@@ -237,15 +247,17 @@ class GetCurvilinearAbscissaF0D:
|
|
|
237
247
|
"""Builds a GetCurvilinearAbscissaF0D object."""
|
|
238
248
|
...
|
|
239
249
|
|
|
240
|
-
def __call__(
|
|
250
|
+
def __call__(
|
|
251
|
+
self, it: freestyle.types.Interface0DIterator
|
|
252
|
+
) -> freestyle.types.Interface0DIterator:
|
|
241
253
|
"""Returns the curvilinear abscissa of the
|
|
242
254
|
`freestyle.types.Interface0D` pointed by the
|
|
243
255
|
Interface0DIterator in the context of its 1D element.
|
|
244
256
|
|
|
245
257
|
:param it: An Interface0DIterator object.
|
|
246
|
-
:type it:
|
|
247
|
-
:rtype: float
|
|
258
|
+
:type it: freestyle.types.Interface0DIterator
|
|
248
259
|
:return: The curvilinear abscissa of the pointed Interface0D.
|
|
260
|
+
:rtype: float
|
|
249
261
|
"""
|
|
250
262
|
...
|
|
251
263
|
|
|
@@ -256,7 +268,7 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
256
268
|
self,
|
|
257
269
|
orientation: int,
|
|
258
270
|
level: int,
|
|
259
|
-
integration_type:
|
|
271
|
+
integration_type: freestyle.types.IntegrationType = None,
|
|
260
272
|
sampling: float = 2.0,
|
|
261
273
|
):
|
|
262
274
|
"""Builds a GetDirectionalViewMapDensityF1D object.
|
|
@@ -269,7 +281,7 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
269
281
|
:type level: int
|
|
270
282
|
:param integration_type: The integration method used to compute a single value
|
|
271
283
|
from a set of values.
|
|
272
|
-
:type integration_type:
|
|
284
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
273
285
|
:param sampling: The resolution used to sample the chain: the
|
|
274
286
|
corresponding 0D function is evaluated at each sample point and
|
|
275
287
|
the result is obtained by combining the resulting values into a
|
|
@@ -278,7 +290,9 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
278
290
|
"""
|
|
279
291
|
...
|
|
280
292
|
|
|
281
|
-
def __call__(
|
|
293
|
+
def __call__(
|
|
294
|
+
self, inter: freestyle.types.Interface1D
|
|
295
|
+
) -> freestyle.types.Interface1D:
|
|
282
296
|
"""Returns the density evaluated for an Interface1D in of the steerable
|
|
283
297
|
viewmaps image. The direction telling which Directional map to choose
|
|
284
298
|
is explicitly specified by the user. The density is evaluated for a
|
|
@@ -288,10 +302,10 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
288
302
|
method.
|
|
289
303
|
|
|
290
304
|
:param inter: An Interface1D object.
|
|
291
|
-
:type inter:
|
|
292
|
-
:rtype: float
|
|
305
|
+
:type inter: freestyle.types.Interface1D
|
|
293
306
|
:return: the density evaluated for an Interface1D in of the
|
|
294
307
|
steerable viewmaps image.
|
|
308
|
+
:rtype: float
|
|
295
309
|
"""
|
|
296
310
|
...
|
|
297
311
|
|
|
@@ -303,15 +317,15 @@ class GetOccludeeF0D:
|
|
|
303
317
|
...
|
|
304
318
|
|
|
305
319
|
def __call__(
|
|
306
|
-
self, it:
|
|
307
|
-
) ->
|
|
320
|
+
self, it: freestyle.types.Interface0DIterator
|
|
321
|
+
) -> freestyle.types.Interface0DIterator:
|
|
308
322
|
"""Returns the `freestyle.types.ViewShape` that the Interface0D
|
|
309
323
|
pointed by the Interface0DIterator occludes.
|
|
310
324
|
|
|
311
325
|
:param it: An Interface0DIterator object.
|
|
312
|
-
:type it:
|
|
313
|
-
:rtype: 'freestyle.types.ViewShape'
|
|
326
|
+
:type it: freestyle.types.Interface0DIterator
|
|
314
327
|
:return: The ViewShape occluded by the pointed Interface0D.
|
|
328
|
+
:rtype: freestyle.types.ViewShape
|
|
315
329
|
"""
|
|
316
330
|
...
|
|
317
331
|
|
|
@@ -323,13 +337,12 @@ class GetOccludeeF1D:
|
|
|
323
337
|
...
|
|
324
338
|
|
|
325
339
|
def __call__(
|
|
326
|
-
self, inter:
|
|
327
|
-
) ->
|
|
340
|
+
self, inter: freestyle.types.Interface1D
|
|
341
|
+
) -> freestyle.types.Interface1D:
|
|
328
342
|
"""Returns a list of occluded shapes covered by this Interface1D.
|
|
329
343
|
|
|
330
344
|
:param inter: An Interface1D object.
|
|
331
|
-
:type inter:
|
|
332
|
-
:rtype: typing.List['freestyle.types.ViewShape']
|
|
345
|
+
:type inter: freestyle.types.Interface1D
|
|
333
346
|
:return: A list of occluded shapes covered by the Interface1D.
|
|
334
347
|
"""
|
|
335
348
|
...
|
|
@@ -342,14 +355,13 @@ class GetOccludersF0D:
|
|
|
342
355
|
...
|
|
343
356
|
|
|
344
357
|
def __call__(
|
|
345
|
-
self, it:
|
|
346
|
-
) ->
|
|
358
|
+
self, it: freestyle.types.Interface0DIterator
|
|
359
|
+
) -> freestyle.types.Interface0DIterator:
|
|
347
360
|
"""Returns a list of `freestyle.types.ViewShape` objects occluding the
|
|
348
361
|
`freestyle.types.Interface0D` pointed by the Interface0DIterator.
|
|
349
362
|
|
|
350
363
|
:param it: An Interface0DIterator object.
|
|
351
|
-
:type it:
|
|
352
|
-
:rtype: typing.List['freestyle.types.ViewShape']
|
|
364
|
+
:type it: freestyle.types.Interface0DIterator
|
|
353
365
|
:return: A list of ViewShape objects occluding the pointed
|
|
354
366
|
Interface0D.
|
|
355
367
|
"""
|
|
@@ -363,13 +375,12 @@ class GetOccludersF1D:
|
|
|
363
375
|
...
|
|
364
376
|
|
|
365
377
|
def __call__(
|
|
366
|
-
self, inter:
|
|
367
|
-
) ->
|
|
378
|
+
self, inter: freestyle.types.Interface1D
|
|
379
|
+
) -> freestyle.types.Interface1D:
|
|
368
380
|
"""Returns a list of occluding shapes that cover this Interface1D.
|
|
369
381
|
|
|
370
382
|
:param inter: An Interface1D object.
|
|
371
|
-
:type inter:
|
|
372
|
-
:rtype: typing.List['freestyle.types.ViewShape']
|
|
383
|
+
:type inter: freestyle.types.Interface1D
|
|
373
384
|
:return: A list of occluding shapes that cover the Interface1D.
|
|
374
385
|
"""
|
|
375
386
|
...
|
|
@@ -381,14 +392,16 @@ class GetParameterF0D:
|
|
|
381
392
|
"""Builds a GetParameterF0D object."""
|
|
382
393
|
...
|
|
383
394
|
|
|
384
|
-
def __call__(
|
|
395
|
+
def __call__(
|
|
396
|
+
self, it: freestyle.types.Interface0DIterator
|
|
397
|
+
) -> freestyle.types.Interface0DIterator:
|
|
385
398
|
"""Returns the parameter of the `freestyle.types.Interface0D`
|
|
386
399
|
pointed by the Interface0DIterator in the context of its 1D element.
|
|
387
400
|
|
|
388
401
|
:param it: An Interface0DIterator object.
|
|
389
|
-
:type it:
|
|
390
|
-
:rtype: float
|
|
402
|
+
:type it: freestyle.types.Interface0DIterator
|
|
391
403
|
:return: The parameter of an Interface0D.
|
|
404
|
+
:rtype: float
|
|
392
405
|
"""
|
|
393
406
|
...
|
|
394
407
|
|
|
@@ -399,36 +412,40 @@ class GetProjectedXF0D:
|
|
|
399
412
|
"""Builds a GetProjectedXF0D object."""
|
|
400
413
|
...
|
|
401
414
|
|
|
402
|
-
def __call__(
|
|
415
|
+
def __call__(
|
|
416
|
+
self, it: freestyle.types.Interface0DIterator
|
|
417
|
+
) -> freestyle.types.Interface0DIterator:
|
|
403
418
|
"""Returns the X 3D projected coordinate of the `freestyle.types.Interface0D`
|
|
404
419
|
pointed by the Interface0DIterator.
|
|
405
420
|
|
|
406
421
|
:param it: An Interface0DIterator object.
|
|
407
|
-
:type it:
|
|
408
|
-
:rtype: float
|
|
422
|
+
:type it: freestyle.types.Interface0DIterator
|
|
409
423
|
:return: The X 3D projected coordinate of the pointed Interface0D.
|
|
424
|
+
:rtype: float
|
|
410
425
|
"""
|
|
411
426
|
...
|
|
412
427
|
|
|
413
428
|
class GetProjectedXF1D:
|
|
414
429
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetProjectedXF1D`"""
|
|
415
430
|
|
|
416
|
-
def __init__(self, integration_type:
|
|
431
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
417
432
|
"""Builds a GetProjectedXF1D object.
|
|
418
433
|
|
|
419
434
|
:param integration_type: The integration method used to compute a single value
|
|
420
435
|
from a set of values.
|
|
421
|
-
:type integration_type:
|
|
436
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
422
437
|
"""
|
|
423
438
|
...
|
|
424
439
|
|
|
425
|
-
def __call__(
|
|
440
|
+
def __call__(
|
|
441
|
+
self, inter: freestyle.types.Interface1D
|
|
442
|
+
) -> freestyle.types.Interface1D:
|
|
426
443
|
"""Returns the projected X 3D coordinate of an Interface1D.
|
|
427
444
|
|
|
428
445
|
:param inter: An Interface1D object.
|
|
429
|
-
:type inter:
|
|
430
|
-
:rtype: float
|
|
446
|
+
:type inter: freestyle.types.Interface1D
|
|
431
447
|
:return: The projected X 3D coordinate of an Interface1D.
|
|
448
|
+
:rtype: float
|
|
432
449
|
"""
|
|
433
450
|
...
|
|
434
451
|
|
|
@@ -439,36 +456,40 @@ class GetProjectedYF0D:
|
|
|
439
456
|
"""Builds a GetProjectedYF0D object."""
|
|
440
457
|
...
|
|
441
458
|
|
|
442
|
-
def __call__(
|
|
459
|
+
def __call__(
|
|
460
|
+
self, it: freestyle.types.Interface0DIterator
|
|
461
|
+
) -> freestyle.types.Interface0DIterator:
|
|
443
462
|
"""Returns the Y 3D projected coordinate of the `freestyle.types.Interface0D`
|
|
444
463
|
pointed by the Interface0DIterator.
|
|
445
464
|
|
|
446
465
|
:param it: An Interface0DIterator object.
|
|
447
|
-
:type it:
|
|
448
|
-
:rtype: float
|
|
466
|
+
:type it: freestyle.types.Interface0DIterator
|
|
449
467
|
:return: The Y 3D projected coordinate of the pointed Interface0D.
|
|
468
|
+
:rtype: float
|
|
450
469
|
"""
|
|
451
470
|
...
|
|
452
471
|
|
|
453
472
|
class GetProjectedYF1D:
|
|
454
473
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetProjectedYF1D`"""
|
|
455
474
|
|
|
456
|
-
def __init__(self, integration_type:
|
|
475
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
457
476
|
"""Builds a GetProjectedYF1D object.
|
|
458
477
|
|
|
459
478
|
:param integration_type: The integration method used to compute a single value
|
|
460
479
|
from a set of values.
|
|
461
|
-
:type integration_type:
|
|
480
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
462
481
|
"""
|
|
463
482
|
...
|
|
464
483
|
|
|
465
|
-
def __call__(
|
|
484
|
+
def __call__(
|
|
485
|
+
self, inter: freestyle.types.Interface1D
|
|
486
|
+
) -> freestyle.types.Interface1D:
|
|
466
487
|
"""Returns the projected Y 3D coordinate of an Interface1D.
|
|
467
488
|
|
|
468
489
|
:param inter: An Interface1D object.
|
|
469
|
-
:type inter:
|
|
470
|
-
:rtype: float
|
|
490
|
+
:type inter: freestyle.types.Interface1D
|
|
471
491
|
:return: The projected Y 3D coordinate of an Interface1D.
|
|
492
|
+
:rtype: float
|
|
472
493
|
"""
|
|
473
494
|
...
|
|
474
495
|
|
|
@@ -479,36 +500,40 @@ class GetProjectedZF0D:
|
|
|
479
500
|
"""Builds a GetProjectedZF0D object."""
|
|
480
501
|
...
|
|
481
502
|
|
|
482
|
-
def __call__(
|
|
503
|
+
def __call__(
|
|
504
|
+
self, it: freestyle.types.Interface0DIterator
|
|
505
|
+
) -> freestyle.types.Interface0DIterator:
|
|
483
506
|
"""Returns the Z 3D projected coordinate of the `freestyle.types.Interface0D`
|
|
484
507
|
pointed by the Interface0DIterator.
|
|
485
508
|
|
|
486
509
|
:param it: An Interface0DIterator object.
|
|
487
|
-
:type it:
|
|
488
|
-
:rtype: float
|
|
510
|
+
:type it: freestyle.types.Interface0DIterator
|
|
489
511
|
:return: The Z 3D projected coordinate of the pointed Interface0D.
|
|
512
|
+
:rtype: float
|
|
490
513
|
"""
|
|
491
514
|
...
|
|
492
515
|
|
|
493
516
|
class GetProjectedZF1D:
|
|
494
517
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetProjectedZF1D`"""
|
|
495
518
|
|
|
496
|
-
def __init__(self, integration_type:
|
|
519
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
497
520
|
"""Builds a GetProjectedZF1D object.
|
|
498
521
|
|
|
499
522
|
:param integration_type: The integration method used to compute a single value
|
|
500
523
|
from a set of values.
|
|
501
|
-
:type integration_type:
|
|
524
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
502
525
|
"""
|
|
503
526
|
...
|
|
504
527
|
|
|
505
|
-
def __call__(
|
|
528
|
+
def __call__(
|
|
529
|
+
self, inter: freestyle.types.Interface1D
|
|
530
|
+
) -> freestyle.types.Interface1D:
|
|
506
531
|
"""Returns the projected Z 3D coordinate of an Interface1D.
|
|
507
532
|
|
|
508
533
|
:param inter: An Interface1D object.
|
|
509
|
-
:type inter:
|
|
510
|
-
:rtype: float
|
|
534
|
+
:type inter: freestyle.types.Interface1D
|
|
511
535
|
:return: The projected Z 3D coordinate of an Interface1D.
|
|
536
|
+
:rtype: float
|
|
512
537
|
"""
|
|
513
538
|
...
|
|
514
539
|
|
|
@@ -520,15 +545,15 @@ class GetShapeF0D:
|
|
|
520
545
|
...
|
|
521
546
|
|
|
522
547
|
def __call__(
|
|
523
|
-
self, it:
|
|
524
|
-
) ->
|
|
548
|
+
self, it: freestyle.types.Interface0DIterator
|
|
549
|
+
) -> freestyle.types.Interface0DIterator:
|
|
525
550
|
"""Returns the `freestyle.types.ViewShape` containing the
|
|
526
551
|
Interface0D pointed by the Interface0DIterator.
|
|
527
552
|
|
|
528
553
|
:param it: An Interface0DIterator object.
|
|
529
|
-
:type it:
|
|
530
|
-
:rtype: 'freestyle.types.ViewShape'
|
|
554
|
+
:type it: freestyle.types.Interface0DIterator
|
|
531
555
|
:return: The ViewShape containing the pointed Interface0D.
|
|
556
|
+
:rtype: freestyle.types.ViewShape
|
|
532
557
|
"""
|
|
533
558
|
...
|
|
534
559
|
|
|
@@ -540,13 +565,12 @@ class GetShapeF1D:
|
|
|
540
565
|
...
|
|
541
566
|
|
|
542
567
|
def __call__(
|
|
543
|
-
self, inter:
|
|
544
|
-
) ->
|
|
568
|
+
self, inter: freestyle.types.Interface1D
|
|
569
|
+
) -> freestyle.types.Interface1D:
|
|
545
570
|
"""Returns a list of shapes covered by this Interface1D.
|
|
546
571
|
|
|
547
572
|
:param inter: An Interface1D object.
|
|
548
|
-
:type inter:
|
|
549
|
-
:rtype: typing.List['freestyle.types.ViewShape']
|
|
573
|
+
:type inter: freestyle.types.Interface1D
|
|
550
574
|
:return: A list of shapes covered by the Interface1D.
|
|
551
575
|
"""
|
|
552
576
|
...
|
|
@@ -557,7 +581,7 @@ class GetSteerableViewMapDensityF1D:
|
|
|
557
581
|
def __init__(
|
|
558
582
|
self,
|
|
559
583
|
level: int,
|
|
560
|
-
integration_type:
|
|
584
|
+
integration_type: freestyle.types.IntegrationType = None,
|
|
561
585
|
sampling: float = 2.0,
|
|
562
586
|
):
|
|
563
587
|
"""Builds a GetSteerableViewMapDensityF1D object.
|
|
@@ -567,7 +591,7 @@ class GetSteerableViewMapDensityF1D:
|
|
|
567
591
|
:type level: int
|
|
568
592
|
:param integration_type: The integration method used to compute a single value
|
|
569
593
|
from a set of values.
|
|
570
|
-
:type integration_type:
|
|
594
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
571
595
|
:param sampling: The resolution used to sample the chain: the
|
|
572
596
|
corresponding 0D function is evaluated at each sample point and
|
|
573
597
|
the result is obtained by combining the resulting values into a
|
|
@@ -576,16 +600,18 @@ class GetSteerableViewMapDensityF1D:
|
|
|
576
600
|
"""
|
|
577
601
|
...
|
|
578
602
|
|
|
579
|
-
def __call__(
|
|
603
|
+
def __call__(
|
|
604
|
+
self, inter: freestyle.types.Interface1D
|
|
605
|
+
) -> freestyle.types.Interface1D:
|
|
580
606
|
"""Returns the density of the ViewMap for a given Interface1D. The
|
|
581
607
|
density of each `freestyle.types.FEdge` is evaluated in the
|
|
582
608
|
proper steerable `freestyle.types.ViewMap` depending on its
|
|
583
609
|
orientation.
|
|
584
610
|
|
|
585
611
|
:param inter: An Interface1D object.
|
|
586
|
-
:type inter:
|
|
587
|
-
:rtype: float
|
|
612
|
+
:type inter: freestyle.types.Interface1D
|
|
588
613
|
:return: The density of the ViewMap for a given Interface1D.
|
|
614
|
+
:rtype: float
|
|
589
615
|
"""
|
|
590
616
|
...
|
|
591
617
|
|
|
@@ -601,15 +627,17 @@ class GetViewMapGradientNormF0D:
|
|
|
601
627
|
"""
|
|
602
628
|
...
|
|
603
629
|
|
|
604
|
-
def __call__(
|
|
630
|
+
def __call__(
|
|
631
|
+
self, it: freestyle.types.Interface0DIterator
|
|
632
|
+
) -> freestyle.types.Interface0DIterator:
|
|
605
633
|
"""Returns the norm of the gradient of the global viewmap density
|
|
606
634
|
image.
|
|
607
635
|
|
|
608
636
|
:param it: An Interface0DIterator object.
|
|
609
|
-
:type it:
|
|
610
|
-
:rtype: float
|
|
637
|
+
:type it: freestyle.types.Interface0DIterator
|
|
611
638
|
:return: The norm of the gradient of the global viewmap density
|
|
612
639
|
image.
|
|
640
|
+
:rtype: float
|
|
613
641
|
"""
|
|
614
642
|
...
|
|
615
643
|
|
|
@@ -619,7 +647,7 @@ class GetViewMapGradientNormF1D:
|
|
|
619
647
|
def __init__(
|
|
620
648
|
self,
|
|
621
649
|
level: int,
|
|
622
|
-
integration_type:
|
|
650
|
+
integration_type: freestyle.types.IntegrationType = None,
|
|
623
651
|
sampling: float = 2.0,
|
|
624
652
|
):
|
|
625
653
|
"""Builds a GetViewMapGradientNormF1D object.
|
|
@@ -629,7 +657,7 @@ class GetViewMapGradientNormF1D:
|
|
|
629
657
|
:type level: int
|
|
630
658
|
:param integration_type: The integration method used to compute a single value
|
|
631
659
|
from a set of values.
|
|
632
|
-
:type integration_type:
|
|
660
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
633
661
|
:param sampling: The resolution used to sample the chain: the
|
|
634
662
|
corresponding 0D function is evaluated at each sample point and
|
|
635
663
|
the result is obtained by combining the resulting values into a
|
|
@@ -638,16 +666,18 @@ class GetViewMapGradientNormF1D:
|
|
|
638
666
|
"""
|
|
639
667
|
...
|
|
640
668
|
|
|
641
|
-
def __call__(
|
|
669
|
+
def __call__(
|
|
670
|
+
self, inter: freestyle.types.Interface1D
|
|
671
|
+
) -> freestyle.types.Interface1D:
|
|
642
672
|
"""Returns the density of the ViewMap for a given Interface1D. The
|
|
643
673
|
density of each `freestyle.types.FEdge` is evaluated in the
|
|
644
674
|
proper steerable `freestyle.types.ViewMap` depending on its
|
|
645
675
|
orientation.
|
|
646
676
|
|
|
647
677
|
:param inter: An Interface1D object.
|
|
648
|
-
:type inter:
|
|
649
|
-
:rtype: float
|
|
678
|
+
:type inter: freestyle.types.Interface1D
|
|
650
679
|
:return: The density of the ViewMap for a given Interface1D.
|
|
680
|
+
:rtype: float
|
|
651
681
|
"""
|
|
652
682
|
...
|
|
653
683
|
|
|
@@ -658,36 +688,40 @@ class GetXF0D:
|
|
|
658
688
|
"""Builds a GetXF0D object."""
|
|
659
689
|
...
|
|
660
690
|
|
|
661
|
-
def __call__(
|
|
691
|
+
def __call__(
|
|
692
|
+
self, it: freestyle.types.Interface0DIterator
|
|
693
|
+
) -> freestyle.types.Interface0DIterator:
|
|
662
694
|
"""Returns the X 3D coordinate of the `freestyle.types.Interface0D` pointed by
|
|
663
695
|
the Interface0DIterator.
|
|
664
696
|
|
|
665
697
|
:param it: An Interface0DIterator object.
|
|
666
|
-
:type it:
|
|
667
|
-
:rtype: float
|
|
698
|
+
:type it: freestyle.types.Interface0DIterator
|
|
668
699
|
:return: The X 3D coordinate of the pointed Interface0D.
|
|
700
|
+
:rtype: float
|
|
669
701
|
"""
|
|
670
702
|
...
|
|
671
703
|
|
|
672
704
|
class GetXF1D:
|
|
673
705
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetXF1D`"""
|
|
674
706
|
|
|
675
|
-
def __init__(self, integration_type:
|
|
707
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
676
708
|
"""Builds a GetXF1D object.
|
|
677
709
|
|
|
678
710
|
:param integration_type: The integration method used to compute a single value
|
|
679
711
|
from a set of values.
|
|
680
|
-
:type integration_type:
|
|
712
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
681
713
|
"""
|
|
682
714
|
...
|
|
683
715
|
|
|
684
|
-
def __call__(
|
|
716
|
+
def __call__(
|
|
717
|
+
self, inter: freestyle.types.Interface1D
|
|
718
|
+
) -> freestyle.types.Interface1D:
|
|
685
719
|
"""Returns the X 3D coordinate of an Interface1D.
|
|
686
720
|
|
|
687
721
|
:param inter: An Interface1D object.
|
|
688
|
-
:type inter:
|
|
689
|
-
:rtype: float
|
|
722
|
+
:type inter: freestyle.types.Interface1D
|
|
690
723
|
:return: The X 3D coordinate of the Interface1D.
|
|
724
|
+
:rtype: float
|
|
691
725
|
"""
|
|
692
726
|
...
|
|
693
727
|
|
|
@@ -698,36 +732,40 @@ class GetYF0D:
|
|
|
698
732
|
"""Builds a GetYF0D object."""
|
|
699
733
|
...
|
|
700
734
|
|
|
701
|
-
def __call__(
|
|
735
|
+
def __call__(
|
|
736
|
+
self, it: freestyle.types.Interface0DIterator
|
|
737
|
+
) -> freestyle.types.Interface0DIterator:
|
|
702
738
|
"""Returns the Y 3D coordinate of the `freestyle.types.Interface0D` pointed by
|
|
703
739
|
the Interface0DIterator.
|
|
704
740
|
|
|
705
741
|
:param it: An Interface0DIterator object.
|
|
706
|
-
:type it:
|
|
707
|
-
:rtype: float
|
|
742
|
+
:type it: freestyle.types.Interface0DIterator
|
|
708
743
|
:return: The Y 3D coordinate of the pointed Interface0D.
|
|
744
|
+
:rtype: float
|
|
709
745
|
"""
|
|
710
746
|
...
|
|
711
747
|
|
|
712
748
|
class GetYF1D:
|
|
713
749
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetYF1D`"""
|
|
714
750
|
|
|
715
|
-
def __init__(self, integration_type:
|
|
751
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
716
752
|
"""Builds a GetYF1D object.
|
|
717
753
|
|
|
718
754
|
:param integration_type: The integration method used to compute a single value
|
|
719
755
|
from a set of values.
|
|
720
|
-
:type integration_type:
|
|
756
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
721
757
|
"""
|
|
722
758
|
...
|
|
723
759
|
|
|
724
|
-
def __call__(
|
|
760
|
+
def __call__(
|
|
761
|
+
self, inter: freestyle.types.Interface1D
|
|
762
|
+
) -> freestyle.types.Interface1D:
|
|
725
763
|
"""Returns the Y 3D coordinate of an Interface1D.
|
|
726
764
|
|
|
727
765
|
:param inter: An Interface1D object.
|
|
728
|
-
:type inter:
|
|
729
|
-
:rtype: float
|
|
766
|
+
:type inter: freestyle.types.Interface1D
|
|
730
767
|
:return: The Y 3D coordinate of the Interface1D.
|
|
768
|
+
:rtype: float
|
|
731
769
|
"""
|
|
732
770
|
...
|
|
733
771
|
|
|
@@ -738,36 +776,40 @@ class GetZF0D:
|
|
|
738
776
|
"""Builds a GetZF0D object."""
|
|
739
777
|
...
|
|
740
778
|
|
|
741
|
-
def __call__(
|
|
779
|
+
def __call__(
|
|
780
|
+
self, it: freestyle.types.Interface0DIterator
|
|
781
|
+
) -> freestyle.types.Interface0DIterator:
|
|
742
782
|
"""Returns the Z 3D coordinate of the `freestyle.types.Interface0D` pointed by
|
|
743
783
|
the Interface0DIterator.
|
|
744
784
|
|
|
745
785
|
:param it: An Interface0DIterator object.
|
|
746
|
-
:type it:
|
|
747
|
-
:rtype: float
|
|
786
|
+
:type it: freestyle.types.Interface0DIterator
|
|
748
787
|
:return: The Z 3D coordinate of the pointed Interface0D.
|
|
788
|
+
:rtype: float
|
|
749
789
|
"""
|
|
750
790
|
...
|
|
751
791
|
|
|
752
792
|
class GetZF1D:
|
|
753
793
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `GetZF1D`"""
|
|
754
794
|
|
|
755
|
-
def __init__(self, integration_type:
|
|
795
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
756
796
|
"""Builds a GetZF1D object.
|
|
757
797
|
|
|
758
798
|
:param integration_type: The integration method used to compute a single value
|
|
759
799
|
from a set of values.
|
|
760
|
-
:type integration_type:
|
|
800
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
761
801
|
"""
|
|
762
802
|
...
|
|
763
803
|
|
|
764
|
-
def __call__(
|
|
804
|
+
def __call__(
|
|
805
|
+
self, inter: freestyle.types.Interface1D
|
|
806
|
+
) -> freestyle.types.Interface1D:
|
|
765
807
|
"""Returns the Z 3D coordinate of an Interface1D.
|
|
766
808
|
|
|
767
809
|
:param inter: An Interface1D object.
|
|
768
|
-
:type inter:
|
|
769
|
-
:rtype: float
|
|
810
|
+
:type inter: freestyle.types.Interface1D
|
|
770
811
|
:return: The Z 3D coordinate of the Interface1D.
|
|
812
|
+
:rtype: float
|
|
771
813
|
"""
|
|
772
814
|
...
|
|
773
815
|
|
|
@@ -778,11 +820,11 @@ class IncrementChainingTimeStampF1D:
|
|
|
778
820
|
"""Builds an IncrementChainingTimeStampF1D object."""
|
|
779
821
|
...
|
|
780
822
|
|
|
781
|
-
def __call__(self, inter:
|
|
823
|
+
def __call__(self, inter: freestyle.types.Interface1D):
|
|
782
824
|
"""Increments the chaining time stamp of the Interface1D.
|
|
783
825
|
|
|
784
826
|
:param inter: An Interface1D object.
|
|
785
|
-
:type inter:
|
|
827
|
+
:type inter: freestyle.types.Interface1D
|
|
786
828
|
"""
|
|
787
829
|
...
|
|
788
830
|
|
|
@@ -797,16 +839,18 @@ class LocalAverageDepthF0D:
|
|
|
797
839
|
"""
|
|
798
840
|
...
|
|
799
841
|
|
|
800
|
-
def __call__(
|
|
842
|
+
def __call__(
|
|
843
|
+
self, it: freestyle.types.Interface0DIterator
|
|
844
|
+
) -> freestyle.types.Interface0DIterator:
|
|
801
845
|
"""Returns the average depth around the
|
|
802
846
|
`freestyle.types.Interface0D` pointed by the
|
|
803
847
|
Interface0DIterator. The result is obtained by querying the depth
|
|
804
848
|
buffer on a window around that point.
|
|
805
849
|
|
|
806
850
|
:param it: An Interface0DIterator object.
|
|
807
|
-
:type it:
|
|
808
|
-
:rtype: float
|
|
851
|
+
:type it: freestyle.types.Interface0DIterator
|
|
809
852
|
:return: The average depth around the pointed Interface0D.
|
|
853
|
+
:rtype: float
|
|
810
854
|
"""
|
|
811
855
|
...
|
|
812
856
|
|
|
@@ -814,7 +858,7 @@ class LocalAverageDepthF1D:
|
|
|
814
858
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `LocalAverageDepthF1D`"""
|
|
815
859
|
|
|
816
860
|
def __init__(
|
|
817
|
-
self, sigma: float, integration_type:
|
|
861
|
+
self, sigma: float, integration_type: freestyle.types.IntegrationType = None
|
|
818
862
|
):
|
|
819
863
|
"""Builds a LocalAverageDepthF1D object.
|
|
820
864
|
|
|
@@ -823,11 +867,13 @@ class LocalAverageDepthF1D:
|
|
|
823
867
|
:type sigma: float
|
|
824
868
|
:param integration_type: The integration method used to compute a single value
|
|
825
869
|
from a set of values.
|
|
826
|
-
:type integration_type:
|
|
870
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
827
871
|
"""
|
|
828
872
|
...
|
|
829
873
|
|
|
830
|
-
def __call__(
|
|
874
|
+
def __call__(
|
|
875
|
+
self, inter: freestyle.types.Interface1D
|
|
876
|
+
) -> freestyle.types.Interface1D:
|
|
831
877
|
"""Returns the average depth evaluated for an Interface1D. The average
|
|
832
878
|
depth is evaluated for a set of points along the Interface1D (using
|
|
833
879
|
the `freestyle.functions.LocalAverageDepthF0D` functor) with a
|
|
@@ -835,9 +881,9 @@ class LocalAverageDepthF1D:
|
|
|
835
881
|
user-defined integration method.
|
|
836
882
|
|
|
837
883
|
:param inter: An Interface1D object.
|
|
838
|
-
:type inter:
|
|
839
|
-
:rtype: float
|
|
884
|
+
:type inter: freestyle.types.Interface1D
|
|
840
885
|
:return: The average depth evaluated for the Interface1D.
|
|
886
|
+
:rtype: float
|
|
841
887
|
"""
|
|
842
888
|
...
|
|
843
889
|
|
|
@@ -849,8 +895,8 @@ class MaterialF0D:
|
|
|
849
895
|
...
|
|
850
896
|
|
|
851
897
|
def __call__(
|
|
852
|
-
self, it:
|
|
853
|
-
) ->
|
|
898
|
+
self, it: freestyle.types.Interface0DIterator
|
|
899
|
+
) -> freestyle.types.Interface0DIterator:
|
|
854
900
|
"""Returns the material of the object evaluated at the
|
|
855
901
|
`freestyle.types.Interface0D` pointed by the
|
|
856
902
|
Interface0DIterator. This evaluation can be ambiguous (in the case of
|
|
@@ -864,10 +910,10 @@ class MaterialF0D:
|
|
|
864
910
|
own getMaterial functor.
|
|
865
911
|
|
|
866
912
|
:param it: An Interface0DIterator object.
|
|
867
|
-
:type it:
|
|
868
|
-
:rtype: 'freestyle.types.Material'
|
|
913
|
+
:type it: freestyle.types.Interface0DIterator
|
|
869
914
|
:return: The material of the object evaluated at the pointed
|
|
870
915
|
Interface0D.
|
|
916
|
+
:rtype: freestyle.types.Material
|
|
871
917
|
"""
|
|
872
918
|
...
|
|
873
919
|
|
|
@@ -878,83 +924,91 @@ class Normal2DF0D:
|
|
|
878
924
|
"""Builds a Normal2DF0D object."""
|
|
879
925
|
...
|
|
880
926
|
|
|
881
|
-
def __call__(
|
|
927
|
+
def __call__(
|
|
928
|
+
self, it: freestyle.types.Interface0DIterator
|
|
929
|
+
) -> freestyle.types.Interface0DIterator:
|
|
882
930
|
"""Returns a two-dimensional vector giving the normalized 2D normal to
|
|
883
931
|
the 1D element to which the `freestyle.types.Interface0D`
|
|
884
932
|
pointed by the Interface0DIterator belongs. The normal is evaluated
|
|
885
933
|
at the pointed Interface0D.
|
|
886
934
|
|
|
887
935
|
:param it: An Interface0DIterator object.
|
|
888
|
-
:type it:
|
|
889
|
-
:rtype: 'mathutils.Vector'
|
|
936
|
+
:type it: freestyle.types.Interface0DIterator
|
|
890
937
|
:return: The 2D normal of the 1D element evaluated at the pointed
|
|
891
938
|
Interface0D.
|
|
939
|
+
:rtype: mathutils.Vector
|
|
892
940
|
"""
|
|
893
941
|
...
|
|
894
942
|
|
|
895
943
|
class Normal2DF1D:
|
|
896
944
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVec2f` > `Normal2DF1D`"""
|
|
897
945
|
|
|
898
|
-
def __init__(self, integration_type:
|
|
946
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
899
947
|
"""Builds a Normal2DF1D object.
|
|
900
948
|
|
|
901
949
|
:param integration_type: The integration method used to compute a single value
|
|
902
950
|
from a set of values.
|
|
903
|
-
:type integration_type:
|
|
951
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
904
952
|
"""
|
|
905
953
|
...
|
|
906
954
|
|
|
907
|
-
def __call__(
|
|
955
|
+
def __call__(
|
|
956
|
+
self, inter: freestyle.types.Interface1D
|
|
957
|
+
) -> freestyle.types.Interface1D:
|
|
908
958
|
"""Returns the 2D normal for the Interface1D.
|
|
909
959
|
|
|
910
960
|
:param inter: An Interface1D object.
|
|
911
|
-
:type inter:
|
|
912
|
-
:rtype: 'mathutils.Vector'
|
|
961
|
+
:type inter: freestyle.types.Interface1D
|
|
913
962
|
:return: The 2D normal for the Interface1D.
|
|
963
|
+
:rtype: mathutils.Vector
|
|
914
964
|
"""
|
|
915
965
|
...
|
|
916
966
|
|
|
917
967
|
class Orientation2DF1D:
|
|
918
968
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVec2f` > `Orientation2DF1D`"""
|
|
919
969
|
|
|
920
|
-
def __init__(self, integration_type:
|
|
970
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
921
971
|
"""Builds an Orientation2DF1D object.
|
|
922
972
|
|
|
923
973
|
:param integration_type: The integration method used to compute a single value
|
|
924
974
|
from a set of values.
|
|
925
|
-
:type integration_type:
|
|
975
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
926
976
|
"""
|
|
927
977
|
...
|
|
928
978
|
|
|
929
|
-
def __call__(
|
|
979
|
+
def __call__(
|
|
980
|
+
self, inter: freestyle.types.Interface1D
|
|
981
|
+
) -> freestyle.types.Interface1D:
|
|
930
982
|
"""Returns the 2D orientation of the Interface1D.
|
|
931
983
|
|
|
932
984
|
:param inter: An Interface1D object.
|
|
933
|
-
:type inter:
|
|
934
|
-
:rtype: 'mathutils.Vector'
|
|
985
|
+
:type inter: freestyle.types.Interface1D
|
|
935
986
|
:return: The 2D orientation of the Interface1D.
|
|
987
|
+
:rtype: mathutils.Vector
|
|
936
988
|
"""
|
|
937
989
|
...
|
|
938
990
|
|
|
939
991
|
class Orientation3DF1D:
|
|
940
992
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVec3f` > `Orientation3DF1D`"""
|
|
941
993
|
|
|
942
|
-
def __init__(self, integration_type:
|
|
994
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
943
995
|
"""Builds an Orientation3DF1D object.
|
|
944
996
|
|
|
945
997
|
:param integration_type: The integration method used to compute a single value
|
|
946
998
|
from a set of values.
|
|
947
|
-
:type integration_type:
|
|
999
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
948
1000
|
"""
|
|
949
1001
|
...
|
|
950
1002
|
|
|
951
|
-
def __call__(
|
|
1003
|
+
def __call__(
|
|
1004
|
+
self, inter: freestyle.types.Interface1D
|
|
1005
|
+
) -> freestyle.types.Interface1D:
|
|
952
1006
|
"""Returns the 3D orientation of the Interface1D.
|
|
953
1007
|
|
|
954
1008
|
:param inter: An Interface1D object.
|
|
955
|
-
:type inter:
|
|
956
|
-
:rtype: 'mathutils.Vector'
|
|
1009
|
+
:type inter: freestyle.types.Interface1D
|
|
957
1010
|
:return: The 3D orientation of the Interface1D.
|
|
1011
|
+
:rtype: mathutils.Vector
|
|
958
1012
|
"""
|
|
959
1013
|
...
|
|
960
1014
|
|
|
@@ -965,7 +1019,9 @@ class QuantitativeInvisibilityF0D:
|
|
|
965
1019
|
"""Builds a QuantitativeInvisibilityF0D object."""
|
|
966
1020
|
...
|
|
967
1021
|
|
|
968
|
-
def __call__(
|
|
1022
|
+
def __call__(
|
|
1023
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1024
|
+
) -> freestyle.types.Interface0DIterator:
|
|
969
1025
|
"""Returns the quantitative invisibility of the
|
|
970
1026
|
`freestyle.types.Interface0D` pointed by the
|
|
971
1027
|
Interface0DIterator. This evaluation can be ambiguous (in the case of
|
|
@@ -976,25 +1032,27 @@ class QuantitativeInvisibilityF0D:
|
|
|
976
1032
|
specific way should implement its own getQIF0D functor.
|
|
977
1033
|
|
|
978
1034
|
:param it: An Interface0DIterator object.
|
|
979
|
-
:type it:
|
|
980
|
-
:rtype: int
|
|
1035
|
+
:type it: freestyle.types.Interface0DIterator
|
|
981
1036
|
:return: The quantitative invisibility of the pointed Interface0D.
|
|
1037
|
+
:rtype: int
|
|
982
1038
|
"""
|
|
983
1039
|
...
|
|
984
1040
|
|
|
985
1041
|
class QuantitativeInvisibilityF1D:
|
|
986
1042
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DUnsigned` > `QuantitativeInvisibilityF1D`"""
|
|
987
1043
|
|
|
988
|
-
def __init__(self, integration_type:
|
|
1044
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
989
1045
|
"""Builds a QuantitativeInvisibilityF1D object.
|
|
990
1046
|
|
|
991
1047
|
:param integration_type: The integration method used to compute a single value
|
|
992
1048
|
from a set of values.
|
|
993
|
-
:type integration_type:
|
|
1049
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
994
1050
|
"""
|
|
995
1051
|
...
|
|
996
1052
|
|
|
997
|
-
def __call__(
|
|
1053
|
+
def __call__(
|
|
1054
|
+
self, inter: freestyle.types.Interface1D
|
|
1055
|
+
) -> freestyle.types.Interface1D:
|
|
998
1056
|
"""Returns the Quantitative Invisibility of an Interface1D element. If
|
|
999
1057
|
the Interface1D is a `freestyle.types.ViewEdge`, then there is
|
|
1000
1058
|
no ambiguity concerning the result. But, if the Interface1D results
|
|
@@ -1002,9 +1060,9 @@ class QuantitativeInvisibilityF1D:
|
|
|
1002
1060
|
elements of different Quantitative Invisibilities.
|
|
1003
1061
|
|
|
1004
1062
|
:param inter: An Interface1D object.
|
|
1005
|
-
:type inter:
|
|
1006
|
-
:rtype: int
|
|
1063
|
+
:type inter: freestyle.types.Interface1D
|
|
1007
1064
|
:return: The Quantitative Invisibility of the Interface1D.
|
|
1065
|
+
:rtype: int
|
|
1008
1066
|
"""
|
|
1009
1067
|
...
|
|
1010
1068
|
|
|
@@ -1020,13 +1078,15 @@ class ReadCompleteViewMapPixelF0D:
|
|
|
1020
1078
|
"""
|
|
1021
1079
|
...
|
|
1022
1080
|
|
|
1023
|
-
def __call__(
|
|
1081
|
+
def __call__(
|
|
1082
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1083
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1024
1084
|
"""Reads a pixel in one of the level of the complete viewmap.
|
|
1025
1085
|
|
|
1026
1086
|
:param it: An Interface0DIterator object.
|
|
1027
|
-
:type it:
|
|
1028
|
-
:rtype: float
|
|
1087
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1029
1088
|
:return: A pixel in one of the level of the complete viewmap.
|
|
1089
|
+
:rtype: float
|
|
1030
1090
|
"""
|
|
1031
1091
|
...
|
|
1032
1092
|
|
|
@@ -1044,13 +1104,15 @@ class ReadMapPixelF0D:
|
|
|
1044
1104
|
"""
|
|
1045
1105
|
...
|
|
1046
1106
|
|
|
1047
|
-
def __call__(
|
|
1107
|
+
def __call__(
|
|
1108
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1109
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1048
1110
|
"""Reads a pixel in a map.
|
|
1049
1111
|
|
|
1050
1112
|
:param it: An Interface0DIterator object.
|
|
1051
|
-
:type it:
|
|
1052
|
-
:rtype: float
|
|
1113
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1053
1114
|
:return: A pixel in a map.
|
|
1115
|
+
:rtype: float
|
|
1054
1116
|
"""
|
|
1055
1117
|
...
|
|
1056
1118
|
|
|
@@ -1069,13 +1131,15 @@ class ReadSteerableViewMapPixelF0D:
|
|
|
1069
1131
|
"""
|
|
1070
1132
|
...
|
|
1071
1133
|
|
|
1072
|
-
def __call__(
|
|
1134
|
+
def __call__(
|
|
1135
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1136
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1073
1137
|
"""Reads a pixel in one of the level of one of the steerable viewmaps.
|
|
1074
1138
|
|
|
1075
1139
|
:param it: An Interface0DIterator object.
|
|
1076
|
-
:type it:
|
|
1077
|
-
:rtype: float
|
|
1140
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1078
1141
|
:return: A pixel in one of the level of one of the steerable viewmaps.
|
|
1142
|
+
:rtype: float
|
|
1079
1143
|
"""
|
|
1080
1144
|
...
|
|
1081
1145
|
|
|
@@ -1087,8 +1151,8 @@ class ShapeIdF0D:
|
|
|
1087
1151
|
...
|
|
1088
1152
|
|
|
1089
1153
|
def __call__(
|
|
1090
|
-
self, it:
|
|
1091
|
-
) ->
|
|
1154
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1155
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1092
1156
|
"""Returns the `freestyle.types.Id` of the Shape the
|
|
1093
1157
|
`freestyle.types.Interface0D` pointed by the
|
|
1094
1158
|
Interface0DIterator belongs to. This evaluation can be ambiguous (in
|
|
@@ -1100,9 +1164,9 @@ class ShapeIdF0D:
|
|
|
1100
1164
|
getShapeIdF0D functor.
|
|
1101
1165
|
|
|
1102
1166
|
:param it: An Interface0DIterator object.
|
|
1103
|
-
:type it:
|
|
1104
|
-
:rtype: 'freestyle.types.Id'
|
|
1167
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1105
1168
|
:return: The Id of the Shape the pointed Interface0D belongs to.
|
|
1169
|
+
:rtype: freestyle.types.Id
|
|
1106
1170
|
"""
|
|
1107
1171
|
...
|
|
1108
1172
|
|
|
@@ -1113,11 +1177,11 @@ class TimeStampF1D:
|
|
|
1113
1177
|
"""Builds a TimeStampF1D object."""
|
|
1114
1178
|
...
|
|
1115
1179
|
|
|
1116
|
-
def __call__(self, inter:
|
|
1180
|
+
def __call__(self, inter: freestyle.types.Interface1D):
|
|
1117
1181
|
"""Returns the time stamp of the Interface1D.
|
|
1118
1182
|
|
|
1119
1183
|
:param inter: An Interface1D object.
|
|
1120
|
-
:type inter:
|
|
1184
|
+
:type inter: freestyle.types.Interface1D
|
|
1121
1185
|
"""
|
|
1122
1186
|
...
|
|
1123
1187
|
|
|
@@ -1128,17 +1192,19 @@ class VertexOrientation2DF0D:
|
|
|
1128
1192
|
"""Builds a VertexOrientation2DF0D object."""
|
|
1129
1193
|
...
|
|
1130
1194
|
|
|
1131
|
-
def __call__(
|
|
1195
|
+
def __call__(
|
|
1196
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1197
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1132
1198
|
"""Returns a two-dimensional vector giving the 2D oriented tangent to the
|
|
1133
1199
|
1D element to which the `freestyle.types.Interface0D` pointed
|
|
1134
1200
|
by the Interface0DIterator belongs. The 2D oriented tangent is
|
|
1135
1201
|
evaluated at the pointed Interface0D.
|
|
1136
1202
|
|
|
1137
1203
|
:param it: An Interface0DIterator object.
|
|
1138
|
-
:type it:
|
|
1139
|
-
:rtype: 'mathutils.Vector'
|
|
1204
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1140
1205
|
:return: The 2D oriented tangent to the 1D element evaluated at the
|
|
1141
1206
|
pointed Interface0D.
|
|
1207
|
+
:rtype: mathutils.Vector
|
|
1142
1208
|
"""
|
|
1143
1209
|
...
|
|
1144
1210
|
|
|
@@ -1149,17 +1215,19 @@ class VertexOrientation3DF0D:
|
|
|
1149
1215
|
"""Builds a VertexOrientation3DF0D object."""
|
|
1150
1216
|
...
|
|
1151
1217
|
|
|
1152
|
-
def __call__(
|
|
1218
|
+
def __call__(
|
|
1219
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1220
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1153
1221
|
"""Returns a three-dimensional vector giving the 3D oriented tangent to
|
|
1154
1222
|
the 1D element to which the `freestyle.types.Interface0D`
|
|
1155
1223
|
pointed by the Interface0DIterator belongs. The 3D oriented tangent
|
|
1156
1224
|
is evaluated at the pointed Interface0D.
|
|
1157
1225
|
|
|
1158
1226
|
:param it: An Interface0DIterator object.
|
|
1159
|
-
:type it:
|
|
1160
|
-
:rtype: 'mathutils.Vector'
|
|
1227
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1161
1228
|
:return: The 3D oriented tangent to the 1D element evaluated at the
|
|
1162
1229
|
pointed Interface0D.
|
|
1230
|
+
:rtype: mathutils.Vector
|
|
1163
1231
|
"""
|
|
1164
1232
|
...
|
|
1165
1233
|
|
|
@@ -1170,7 +1238,9 @@ class ZDiscontinuityF0D:
|
|
|
1170
1238
|
"""Builds a ZDiscontinuityF0D object."""
|
|
1171
1239
|
...
|
|
1172
1240
|
|
|
1173
|
-
def __call__(
|
|
1241
|
+
def __call__(
|
|
1242
|
+
self, it: freestyle.types.Interface0DIterator
|
|
1243
|
+
) -> freestyle.types.Interface0DIterator:
|
|
1174
1244
|
"""Returns a real value giving the distance between the
|
|
1175
1245
|
`freestyle.types.Interface0D` pointed by the
|
|
1176
1246
|
Interface0DIterator and the shape that lies behind (occludee). This
|
|
@@ -1179,26 +1249,28 @@ class ZDiscontinuityF0D:
|
|
|
1179
1249
|
Interface0D belongs to, 1 is returned.
|
|
1180
1250
|
|
|
1181
1251
|
:param it: An Interface0DIterator object.
|
|
1182
|
-
:type it:
|
|
1183
|
-
:rtype: float
|
|
1252
|
+
:type it: freestyle.types.Interface0DIterator
|
|
1184
1253
|
:return: The normalized distance between the pointed Interface0D
|
|
1185
1254
|
and the occludee.
|
|
1255
|
+
:rtype: float
|
|
1186
1256
|
"""
|
|
1187
1257
|
...
|
|
1188
1258
|
|
|
1189
1259
|
class ZDiscontinuityF1D:
|
|
1190
1260
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DDouble` > `ZDiscontinuityF1D`"""
|
|
1191
1261
|
|
|
1192
|
-
def __init__(self, integration_type:
|
|
1262
|
+
def __init__(self, integration_type: freestyle.types.IntegrationType = None):
|
|
1193
1263
|
"""Builds a ZDiscontinuityF1D object.
|
|
1194
1264
|
|
|
1195
1265
|
:param integration_type: The integration method used to compute a single value
|
|
1196
1266
|
from a set of values.
|
|
1197
|
-
:type integration_type:
|
|
1267
|
+
:type integration_type: freestyle.types.IntegrationType
|
|
1198
1268
|
"""
|
|
1199
1269
|
...
|
|
1200
1270
|
|
|
1201
|
-
def __call__(
|
|
1271
|
+
def __call__(
|
|
1272
|
+
self, inter: freestyle.types.Interface1D
|
|
1273
|
+
) -> freestyle.types.Interface1D:
|
|
1202
1274
|
"""Returns a real value giving the distance between an Interface1D
|
|
1203
1275
|
and the shape that lies behind (occludee). This distance is
|
|
1204
1276
|
evaluated in the camera space and normalized between 0 and 1.
|
|
@@ -1206,25 +1278,51 @@ class ZDiscontinuityF1D:
|
|
|
1206
1278
|
Interface1D belongs to, 1 is returned.
|
|
1207
1279
|
|
|
1208
1280
|
:param inter: An Interface1D object.
|
|
1209
|
-
:type inter:
|
|
1210
|
-
:rtype: float
|
|
1281
|
+
:type inter: freestyle.types.Interface1D
|
|
1211
1282
|
:return: The normalized distance between the Interface1D and the occludee.
|
|
1283
|
+
:rtype: float
|
|
1212
1284
|
"""
|
|
1213
1285
|
...
|
|
1214
1286
|
|
|
1215
|
-
class pyCurvilinearLengthF0D:
|
|
1287
|
+
class pyCurvilinearLengthF0D:
|
|
1288
|
+
""" """
|
|
1289
|
+
|
|
1290
|
+
...
|
|
1216
1291
|
|
|
1217
1292
|
class pyDensityAnisotropyF0D:
|
|
1218
1293
|
"""Estimates the anisotropy of density."""
|
|
1219
1294
|
|
|
1220
1295
|
...
|
|
1221
1296
|
|
|
1222
|
-
class pyDensityAnisotropyF1D:
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
class
|
|
1297
|
+
class pyDensityAnisotropyF1D:
|
|
1298
|
+
""" """
|
|
1299
|
+
|
|
1300
|
+
...
|
|
1301
|
+
|
|
1302
|
+
class pyGetInverseProjectedZF1D:
|
|
1303
|
+
""" """
|
|
1304
|
+
|
|
1305
|
+
...
|
|
1306
|
+
|
|
1307
|
+
class pyGetSquareInverseProjectedZF1D:
|
|
1308
|
+
""" """
|
|
1309
|
+
|
|
1310
|
+
...
|
|
1311
|
+
|
|
1312
|
+
class pyInverseCurvature2DAngleF0D:
|
|
1313
|
+
""" """
|
|
1314
|
+
|
|
1315
|
+
...
|
|
1316
|
+
|
|
1317
|
+
class pyViewMapGradientNormF0D:
|
|
1318
|
+
""" """
|
|
1319
|
+
|
|
1320
|
+
...
|
|
1321
|
+
|
|
1322
|
+
class pyViewMapGradientNormF1D:
|
|
1323
|
+
""" """
|
|
1324
|
+
|
|
1325
|
+
...
|
|
1228
1326
|
|
|
1229
1327
|
class pyViewMapGradientVectorF0D:
|
|
1230
1328
|
"""Returns the gradient vector for a pixel."""
|
|
@@ -1232,8 +1330,6 @@ class pyViewMapGradientVectorF0D:
|
|
|
1232
1330
|
def __init__(self, level: int):
|
|
1233
1331
|
"""Builds a pyViewMapGradientVectorF0D object.
|
|
1234
1332
|
|
|
1235
|
-
:param self:
|
|
1236
|
-
:type self:
|
|
1237
1333
|
:param level: the level at which to compute the gradient
|
|
1238
1334
|
:type level: int
|
|
1239
1335
|
"""
|