fake-bge-module 20250317__py3-none-any.whl → 20260201__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.
- {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
- {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
- _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
- _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
- _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
- _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
- {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
- _bl_text_utils/external_editor/__init__.pyi +6 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +5 -1
- _bpy_internal/addons/__init__.pyi +1 -0
- _bpy_internal/addons/cli/__init__.pyi +2 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
- {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/__init__.pyi +1 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
- _bpy_internal/system_info/__init__.pyi +1 -0
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
- _bpy_types/__init__.pyi +1635 -0
- {console_python → _console_python}/__init__.pyi +8 -7
- _console_shell/__init__.pyi +10 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
- _keyingsets_utils/__init__.pyi +21 -0
- {rna_info → _rna_info}/__init__.pyi +32 -27
- {rna_xml → _rna_xml}/__init__.pyi +7 -6
- addon_utils/__init__.pyi +13 -25
- aud/__init__.pyi +133 -155
- bge/__init__.pyi +1 -0
- bge/app/__init__.pyi +1 -0
- bge/constraints/__init__.pyi +22 -51
- bge/types/__init__.pyi +618 -1913
- bge_extras/__init__.pyi +1 -0
- bge_extras/logger/__init__.pyi +4 -3
- bgui/__init__.pyi +1 -0
- bgui/frame/__init__.pyi +1 -0
- bgui/frame_button/__init__.pyi +1 -0
- bgui/image/__init__.pyi +1 -1
- bgui/image_button/__init__.pyi +1 -0
- bgui/label/__init__.pyi +1 -0
- bgui/list_box/__init__.pyi +1 -1
- bgui/progress_bar/__init__.pyi +2 -1
- bgui/system/__init__.pyi +3 -5
- bgui/text_block/__init__.pyi +1 -0
- bgui/text_input/__init__.pyi +9 -8
- bgui/theme/__init__.pyi +4 -3
- bgui/widget/__init__.pyi +5 -4
- bl_app_override/__init__.pyi +4 -3
- bl_app_override/helpers/__init__.pyi +3 -2
- bl_app_template_utils/__init__.pyi +5 -4
- bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +2 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +10 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +4 -13
- bl_operators/__init__.pyi +4 -2
- bl_operators/add_mesh_torus/__init__.pyi +9 -9
- bl_operators/anim/__init__.pyi +90 -62
- bl_operators/assets/__init__.pyi +14 -18
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
- bl_operators/bone_selection_sets/__init__.pyi +34 -60
- bl_operators/clip/__init__.pyi +39 -57
- bl_operators/connect_to_output/__init__.pyi +20 -18
- bl_operators/console/__init__.pyi +17 -25
- bl_operators/constraint/__init__.pyi +15 -21
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +13 -17
- bl_operators/freestyle/__init__.pyi +15 -21
- bl_operators/geometry_nodes/__init__.pyi +30 -36
- bl_operators/grease_pencil/__init__.pyi +5 -5
- bl_operators/image/__init__.pyi +14 -22
- bl_operators/image_as_planes/__init__.pyi +36 -42
- bl_operators/mesh/__init__.pyi +8 -53
- bl_operators/node/__init__.pyi +375 -92
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +10 -9
- bl_operators/object/__init__.pyi +57 -98
- bl_operators/object_align/__init__.pyi +8 -8
- bl_operators/object_quick_effects/__init__.pyi +15 -21
- bl_operators/object_randomize_transform/__init__.pyi +6 -6
- bl_operators/presets/__init__.pyi +46 -94
- bl_operators/rigidbody/__init__.pyi +12 -16
- bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
- bl_operators/sequencer/__init__.pyi +40 -54
- bl_operators/spreadsheet/__init__.pyi +7 -7
- bl_operators/userpref/__init__.pyi +69 -117
- bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
- bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
- bl_operators/uvcalc_transform/__init__.pyi +39 -28
- bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
- bl_operators/view3d/__init__.pyi +31 -43
- bl_operators/wm/__init__.pyi +139 -231
- bl_operators/world/__init__.pyi +6 -6
- bl_ui/__init__.pyi +18 -17
- bl_ui/anim/__init__.pyi +5 -5
- bl_ui/asset_shelf/__init__.pyi +5 -5
- bl_ui/generic_ui_list/__init__.pyi +11 -25
- bl_ui/node_add_menu/__init__.pyi +281 -12
- bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
- bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
- bl_ui/node_add_menu_shader/__init__.pyi +67 -67
- bl_ui/node_add_menu_texture/__init__.pyi +25 -69
- bl_ui/properties_animviz/__init__.pyi +3 -2
- bl_ui/properties_collection/__init__.pyi +20 -30
- bl_ui/properties_constraint/__init__.pyi +228 -450
- bl_ui/properties_data_armature/__init__.pyi +45 -79
- bl_ui/properties_data_bone/__init__.pyi +33 -51
- bl_ui/properties_data_camera/__init__.pyi +43 -75
- bl_ui/properties_data_curve/__init__.pyi +42 -101
- bl_ui/properties_data_curves/__init__.pyi +21 -35
- bl_ui/properties_data_empty/__init__.pyi +8 -10
- bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
- bl_ui/properties_data_lattice/__init__.pyi +12 -18
- bl_ui/properties_data_light/__init__.pyi +28 -46
- bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
- bl_ui/properties_data_mesh/__init__.pyi +73 -120
- bl_ui/properties_data_metaball/__init__.pyi +16 -26
- bl_ui/properties_data_modifier/__init__.pyi +34 -39
- bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
- bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
- bl_ui/properties_data_speaker/__init__.pyi +15 -25
- bl_ui/properties_data_volume/__init__.pyi +22 -38
- bl_ui/properties_freestyle/__init__.pyi +79 -127
- bl_ui/properties_game/__init__.pyi +88 -84
- bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
- bl_ui/properties_mask_common/__init__.pyi +33 -45
- bl_ui/properties_material/__init__.pyi +52 -111
- bl_ui/properties_material_gpencil/__init__.pyi +48 -68
- bl_ui/properties_object/__init__.pyi +123 -93
- bl_ui/properties_output/__init__.pyi +103 -81
- bl_ui/properties_paint_common/__init__.pyi +78 -59
- bl_ui/properties_particle/__init__.pyi +160 -262
- bl_ui/properties_physics_cloth/__init__.pyi +36 -62
- bl_ui/properties_physics_common/__init__.pyi +11 -11
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
- bl_ui/properties_physics_field/__init__.pyi +35 -53
- bl_ui/properties_physics_fluid/__init__.pyi +106 -160
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
- bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
- bl_ui/properties_physics_softbody/__init__.pyi +38 -66
- bl_ui/properties_render/__init__.pyi +267 -259
- bl_ui/properties_scene/__init__.pyi +69 -72
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +69 -122
- bl_ui/properties_view_layer/__init__.pyi +97 -51
- bl_ui/properties_workspace/__init__.pyi +12 -18
- bl_ui/properties_world/__init__.pyi +33 -53
- bl_ui/space_clip/__init__.pyi +231 -311
- bl_ui/space_console/__init__.pyi +14 -24
- bl_ui/space_dopesheet/__init__.pyi +193 -125
- bl_ui/space_filebrowser/__init__.pyi +107 -131
- bl_ui/space_graph/__init__.pyi +93 -80
- bl_ui/space_image/__init__.pyi +207 -291
- bl_ui/space_info/__init__.pyi +14 -24
- bl_ui/space_logic/__init__.pyi +14 -22
- bl_ui/space_nla/__init__.pyi +63 -69
- bl_ui/space_node/__init__.pyi +215 -154
- bl_ui/space_outliner/__init__.pyi +65 -61
- bl_ui/space_properties/__init__.pyi +41 -16
- bl_ui/space_sequencer/__init__.pyi +276 -980
- bl_ui/space_spreadsheet/__init__.pyi +27 -23
- bl_ui/space_statusbar/__init__.pyi +4 -4
- bl_ui/space_text/__init__.pyi +39 -73
- bl_ui/space_time/__init__.pyi +33 -78
- bl_ui/space_toolsystem_common/__init__.pyi +31 -28
- bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
- bl_ui/space_topbar/__init__.pyi +68 -111
- bl_ui/space_userpref/__init__.pyi +310 -445
- bl_ui/space_view3d/__init__.pyi +667 -1122
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
- bl_ui/utils/__init__.pyi +4 -3
- blend_render_info/__init__.pyi +4 -2
- blf/__init__.pyi +92 -59
- bmesh/__init__.pyi +4 -10
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +442 -815
- bmesh/types/__init__.pyi +377 -720
- bmesh/utils/__init__.pyi +20 -45
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +96 -90
- bpy/app/handlers/__init__.pyi +24 -19
- bpy/app/icons/__init__.pyi +2 -7
- bpy/app/timers/__init__.pyi +5 -18
- bpy/app/translations/__init__.pyi +21 -35
- bpy/msgbus/__init__.pyi +20 -9
- bpy/ops/__init__.pyi +21 -3
- bpy/ops/action/__init__.pyi +121 -226
- bpy/ops/anim/__init__.pyi +204 -358
- bpy/ops/armature/__init__.pyi +129 -249
- bpy/ops/asset/__init__.pyi +82 -111
- bpy/ops/bge_bricknodes/__init__.pyi +61 -0
- bpy/ops/boid/__init__.pyi +44 -50
- bpy/ops/bricknodes/__init__.pyi +37 -0
- bpy/ops/brush/__init__.pyi +33 -120
- bpy/ops/buttons/__init__.pyi +27 -83
- bpy/ops/cachefile/__init__.pyi +16 -74
- bpy/ops/camera/__init__.pyi +3 -13
- bpy/ops/clip/__init__.pyi +278 -558
- bpy/ops/cloth/__init__.pyi +2 -6
- bpy/ops/collection/__init__.pyi +34 -44
- bpy/ops/console/__init__.pyi +70 -111
- bpy/ops/constraint/__init__.pyi +34 -102
- bpy/ops/curve/__init__.pyi +163 -315
- bpy/ops/curves/__init__.pyi +163 -189
- bpy/ops/cycles/__init__.pyi +8 -18
- bpy/ops/dpaint/__init__.pyi +21 -30
- bpy/ops/ed/__init__.pyi +59 -103
- bpy/ops/export_anim/__init__.pyi +4 -11
- bpy/ops/export_scene/__init__.pyi +29 -174
- bpy/ops/extensions/__init__.pyi +102 -194
- bpy/ops/file/__init__.pyi +166 -272
- bpy/ops/fluid/__init__.pyi +78 -86
- bpy/ops/font/__init__.pyi +73 -164
- bpy/ops/geometry/__init__.pyi +33 -144
- bpy/ops/gizmogroup/__init__.pyi +8 -14
- bpy/ops/gpencil/__init__.pyi +31 -58
- bpy/ops/graph/__init__.pyi +176 -411
- bpy/ops/grease_pencil/__init__.pyi +416 -639
- bpy/ops/image/__init__.pyi +148 -492
- bpy/ops/import_anim/__init__.pyi +5 -18
- bpy/ops/import_curve/__init__.pyi +4 -6
- bpy/ops/import_scene/__init__.pyi +22 -49
- bpy/ops/info/__init__.pyi +27 -43
- bpy/ops/lattice/__init__.pyi +26 -43
- bpy/ops/logic/__init__.pyi +49 -122
- bpy/ops/logic_nodes/__init__.pyi +461 -0
- bpy/ops/marker/__init__.pyi +24 -60
- bpy/ops/mask/__init__.pyi +118 -222
- bpy/ops/material/__init__.pyi +19 -18
- bpy/ops/mball/__init__.pyi +13 -39
- bpy/ops/mesh/__init__.pyi +409 -1264
- bpy/ops/nla/__init__.pyi +140 -232
- bpy/ops/node/__init__.pyi +1189 -807
- bpy/ops/object/__init__.pyi +806 -1659
- bpy/ops/outliner/__init__.pyi +284 -432
- bpy/ops/paint/__init__.pyi +189 -381
- bpy/ops/paintcurve/__init__.pyi +29 -44
- bpy/ops/palette/__init__.pyi +23 -34
- bpy/ops/particle/__init__.pyi +135 -201
- bpy/ops/pointcloud/__init__.pyi +23 -42
- bpy/ops/pose/__init__.pyi +195 -310
- bpy/ops/poselib/__init__.pyi +45 -73
- bpy/ops/preferences/__init__.pyi +89 -221
- bpy/ops/ptcache/__init__.pyi +32 -39
- bpy/ops/render/__init__.pyi +36 -83
- bpy/ops/rigidbody/__init__.pyi +47 -78
- bpy/ops/scene/__init__.pyi +169 -222
- bpy/ops/screen/__init__.pyi +146 -259
- bpy/ops/script/__init__.pyi +9 -15
- bpy/ops/sculpt/__init__.pyi +194 -354
- bpy/ops/sculpt_curves/__init__.pyi +21 -29
- bpy/ops/sequencer/__init__.pyi +586 -836
- bpy/ops/sound/__init__.pyi +25 -131
- bpy/ops/spreadsheet/__init__.pyi +34 -21
- bpy/ops/surface/__init__.pyi +7 -54
- bpy/ops/text/__init__.pyi +166 -281
- bpy/ops/text_editor/__init__.pyi +2 -6
- bpy/ops/texture/__init__.pyi +20 -22
- bpy/ops/transform/__init__.pyi +108 -445
- bpy/ops/ui/__init__.pyi +157 -219
- bpy/ops/uilist/__init__.pyi +4 -16
- bpy/ops/uv/__init__.pyi +291 -347
- bpy/ops/view2d/__init__.pyi +29 -88
- bpy/ops/view3d/__init__.pyi +238 -438
- bpy/ops/wm/__init__.pyi +651 -1510
- bpy/ops/workspace/__init__.pyi +42 -44
- bpy/ops/world/__init__.pyi +12 -13
- bpy/path/__init__.pyi +5 -36
- bpy/props/__init__.pyi +395 -259
- bpy/{_typing → stub_internal}/__init__.pyi +1 -0
- bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
- bpy/types/__init__.pyi +93285 -103831
- bpy/utils/__init__.pyi +46 -104
- bpy/utils/previews/__init__.pyi +7 -15
- bpy/utils/units/__init__.pyi +6 -15
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +32 -23
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +2 -2
- bpy_extras/id_map_utils/__init__.pyi +15 -6
- bpy_extras/image_utils/__init__.pyi +3 -11
- bpy_extras/io_utils/__init__.pyi +22 -38
- bpy_extras/keyconfig_utils/__init__.pyi +5 -4
- bpy_extras/mesh_utils/__init__.pyi +3 -14
- bpy_extras/node_shader_utils/__init__.pyi +63 -70
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +6 -19
- bpy_extras/view3d_utils/__init__.pyi +1 -18
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/METADATA +9 -3
- fake_bge_module-20260201.dist-info/RECORD +414 -0
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/WHEEL +1 -1
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/top_level.txt +16 -16
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +41 -60
- freestyle/functions/__init__.pyi +56 -194
- freestyle/predicates/__init__.pyi +11 -61
- freestyle/shaders/__init__.pyi +95 -156
- freestyle/types/__init__.pyi +306 -941
- freestyle/utils/ContextFunctions/__init__.pyi +4 -24
- freestyle/utils/__init__.pyi +46 -36
- gpu/__init__.pyi +84 -5
- gpu/capabilities/__init__.pyi +1 -21
- gpu/matrix/__init__.pyi +16 -24
- gpu/platform/__init__.pyi +3 -7
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +43 -9
- gpu/state/__init__.pyi +66 -44
- gpu/texture/__init__.pyi +4 -5
- gpu/types/__init__.pyi +216 -216
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +2 -5
- gpu_extras/presets/__init__.pyi +9 -10
- idprop/__init__.pyi +17 -0
- idprop/types/__init__.pyi +18 -17
- imbuf/__init__.pyi +13 -9
- imbuf/types/__init__.pyi +10 -23
- keyingsets_builtins/__init__.pyi +51 -93
- mathutils/__init__.pyi +296 -2255
- mathutils/bvhtree/__init__.pyi +22 -29
- mathutils/geometry/__init__.pyi +83 -132
- mathutils/interpolate/__init__.pyi +7 -5
- mathutils/kdtree/__init__.pyi +5 -14
- mathutils/noise/__init__.pyi +62 -106
- nodeitems_builtins/__init__.pyi +5 -4
- nodeitems_utils/__init__.pyi +10 -9
- rna_keymap_ui/__init__.pyi +7 -6
- rna_prop_ui/__init__.pyi +14 -13
- _bpy_internal/freedesktop/__init__.pyi +0 -20
- bgl/__init__.pyi +0 -4235
- bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
- bl_i18n_utils/utils_cli/__init__.pyi +0 -10
- bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
- bl_text_utils/external_editor/__init__.pyi +0 -5
- bpy_types/__init__.pyi +0 -29
- console_shell/__init__.pyi +0 -9
- fake_bge_module-20250317.dist-info/RECORD +0 -395
- keyingsets_utils/__init__.pyi +0 -18
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
freestyle/functions/__init__.pyi
CHANGED
|
@@ -31,26 +31,26 @@ value type:
|
|
|
31
31
|
import typing
|
|
32
32
|
import collections.abc
|
|
33
33
|
import typing_extensions
|
|
34
|
+
import numpy.typing as npt
|
|
34
35
|
import freestyle.types
|
|
35
36
|
import mathutils
|
|
36
37
|
|
|
37
38
|
class ChainingTimeStampF1D:
|
|
38
39
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVoid` > `ChainingTimeStampF1D`"""
|
|
39
40
|
|
|
40
|
-
def __init__(self):
|
|
41
|
+
def __init__(self) -> None:
|
|
41
42
|
"""Builds a ChainingTimeStampF1D object."""
|
|
42
43
|
|
|
43
|
-
def __call__(self, inter: freestyle.types.Interface1D):
|
|
44
|
+
def __call__(self, inter: freestyle.types.Interface1D) -> None:
|
|
44
45
|
"""Sets the chaining time stamp of the Interface1D.
|
|
45
46
|
|
|
46
47
|
:param inter: An Interface1D object.
|
|
47
|
-
:type inter: freestyle.types.Interface1D
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
class Curvature2DAngleF0D:
|
|
51
51
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `Curvature2DAngleF0D`"""
|
|
52
52
|
|
|
53
|
-
def __init__(self):
|
|
53
|
+
def __init__(self) -> None:
|
|
54
54
|
"""Builds a Curvature2DAngleF0D object."""
|
|
55
55
|
|
|
56
56
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -60,10 +60,8 @@ class Curvature2DAngleF0D:
|
|
|
60
60
|
Interface0D.
|
|
61
61
|
|
|
62
62
|
:param it: An Interface0DIterator object.
|
|
63
|
-
:type it: freestyle.types.Interface0DIterator
|
|
64
63
|
:return: The 2D curvature of the 1D element evaluated at the
|
|
65
64
|
pointed Interface0D.
|
|
66
|
-
:rtype: float
|
|
67
65
|
"""
|
|
68
66
|
|
|
69
67
|
class Curvature2DAngleF1D:
|
|
@@ -71,21 +69,18 @@ class Curvature2DAngleF1D:
|
|
|
71
69
|
|
|
72
70
|
def __init__(
|
|
73
71
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
74
|
-
):
|
|
72
|
+
) -> None:
|
|
75
73
|
"""Builds a Curvature2DAngleF1D object.
|
|
76
74
|
|
|
77
75
|
:param integration_type: The integration method used to compute a single value
|
|
78
76
|
from a set of values.
|
|
79
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
80
77
|
"""
|
|
81
78
|
|
|
82
79
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
83
80
|
"""Returns the 2D curvature as an angle for an Interface1D.
|
|
84
81
|
|
|
85
82
|
:param inter: An Interface1D object.
|
|
86
|
-
:type inter: freestyle.types.Interface1D
|
|
87
83
|
:return: The 2D curvature as an angle.
|
|
88
|
-
:rtype: float
|
|
89
84
|
"""
|
|
90
85
|
|
|
91
86
|
class CurveMaterialF0D:
|
|
@@ -98,7 +93,7 @@ class CurveMaterialF0D:
|
|
|
98
93
|
class CurveNatureF0D:
|
|
99
94
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DEdgeNature` > `CurveNatureF0D`"""
|
|
100
95
|
|
|
101
|
-
def __init__(self):
|
|
96
|
+
def __init__(self) -> None:
|
|
102
97
|
"""Builds a CurveNatureF0D object."""
|
|
103
98
|
|
|
104
99
|
def __call__(
|
|
@@ -108,10 +103,8 @@ class CurveNatureF0D:
|
|
|
108
103
|
Interface0D pointed by the Interface0DIterator belongs to.
|
|
109
104
|
|
|
110
105
|
:param it: An Interface0DIterator object.
|
|
111
|
-
:type it: freestyle.types.Interface0DIterator
|
|
112
106
|
:return: The nature of the 1D element to which the pointed Interface0D
|
|
113
107
|
belongs.
|
|
114
|
-
:rtype: freestyle.types.Nature
|
|
115
108
|
"""
|
|
116
109
|
|
|
117
110
|
class CurveNatureF1D:
|
|
@@ -119,12 +112,11 @@ class CurveNatureF1D:
|
|
|
119
112
|
|
|
120
113
|
def __init__(
|
|
121
114
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
122
|
-
):
|
|
115
|
+
) -> None:
|
|
123
116
|
"""Builds a CurveNatureF1D object.
|
|
124
117
|
|
|
125
118
|
:param integration_type: The integration method used to compute a single value
|
|
126
119
|
from a set of values.
|
|
127
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
128
120
|
"""
|
|
129
121
|
|
|
130
122
|
def __call__(self, inter: freestyle.types.Interface1D) -> freestyle.types.Nature:
|
|
@@ -137,21 +129,18 @@ class CurveNatureF1D:
|
|
|
137
129
|
results.
|
|
138
130
|
|
|
139
131
|
:param inter: An Interface1D object.
|
|
140
|
-
:type inter: freestyle.types.Interface1D
|
|
141
132
|
:return: The nature of the Interface1D.
|
|
142
|
-
:rtype: freestyle.types.Nature
|
|
143
133
|
"""
|
|
144
134
|
|
|
145
135
|
class DensityF0D:
|
|
146
136
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `DensityF0D`"""
|
|
147
137
|
|
|
148
|
-
def __init__(self, sigma: float = 2.0):
|
|
138
|
+
def __init__(self, sigma: float = 2.0) -> None:
|
|
149
139
|
"""Builds a DensityF0D object.
|
|
150
140
|
|
|
151
141
|
:param sigma: The gaussian sigma value indicating the X value for
|
|
152
142
|
which the gaussian function is 0.5. It leads to the window size
|
|
153
143
|
value (the larger, the smoother).
|
|
154
|
-
:type sigma: float
|
|
155
144
|
"""
|
|
156
145
|
|
|
157
146
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -162,10 +151,8 @@ class DensityF0D:
|
|
|
162
151
|
a gaussian.
|
|
163
152
|
|
|
164
153
|
:param it: An Interface0DIterator object.
|
|
165
|
-
:type it: freestyle.types.Interface0DIterator
|
|
166
154
|
:return: The density of the image evaluated at the pointed
|
|
167
155
|
Interface0D.
|
|
168
|
-
:rtype: float
|
|
169
156
|
"""
|
|
170
157
|
|
|
171
158
|
class DensityF1D:
|
|
@@ -176,20 +163,17 @@ class DensityF1D:
|
|
|
176
163
|
sigma: float = 2.0,
|
|
177
164
|
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
178
165
|
sampling: float = 2.0,
|
|
179
|
-
):
|
|
166
|
+
) -> None:
|
|
180
167
|
"""Builds a DensityF1D object.
|
|
181
168
|
|
|
182
169
|
:param sigma: The sigma used in DensityF0D and determining the window size
|
|
183
170
|
used in each density query.
|
|
184
|
-
:type sigma: float
|
|
185
171
|
:param integration_type: The integration method used to compute a single value
|
|
186
172
|
from a set of values.
|
|
187
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
188
173
|
:param sampling: The resolution used to sample the chain: the
|
|
189
174
|
corresponding 0D function is evaluated at each sample point and
|
|
190
175
|
the result is obtained by combining the resulting values into a
|
|
191
176
|
single one, following the method specified by integration_type.
|
|
192
|
-
:type sampling: float
|
|
193
177
|
"""
|
|
194
178
|
|
|
195
179
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -200,9 +184,7 @@ class DensityF1D:
|
|
|
200
184
|
integration method.
|
|
201
185
|
|
|
202
186
|
:param inter: An Interface1D object.
|
|
203
|
-
:type inter: freestyle.types.Interface1D
|
|
204
187
|
:return: The density evaluated for an Interface1D.
|
|
205
|
-
:rtype: float
|
|
206
188
|
"""
|
|
207
189
|
|
|
208
190
|
class GetCompleteViewMapDensityF1D:
|
|
@@ -213,20 +195,17 @@ class GetCompleteViewMapDensityF1D:
|
|
|
213
195
|
level: int,
|
|
214
196
|
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
215
197
|
sampling: float = 2.0,
|
|
216
|
-
):
|
|
198
|
+
) -> None:
|
|
217
199
|
"""Builds a GetCompleteViewMapDensityF1D object.
|
|
218
200
|
|
|
219
201
|
:param level: The level of the pyramid from which the pixel must be
|
|
220
202
|
read.
|
|
221
|
-
:type level: int
|
|
222
203
|
:param integration_type: The integration method used to compute a single value
|
|
223
204
|
from a set of values.
|
|
224
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
225
205
|
:param sampling: The resolution used to sample the chain: the
|
|
226
206
|
corresponding 0D function is evaluated at each sample point and
|
|
227
207
|
the result is obtained by combining the resulting values into a
|
|
228
208
|
single one, following the method specified by integration_type.
|
|
229
|
-
:type sampling: float
|
|
230
209
|
"""
|
|
231
210
|
|
|
232
211
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -238,16 +217,14 @@ class GetCompleteViewMapDensityF1D:
|
|
|
238
217
|
method.
|
|
239
218
|
|
|
240
219
|
:param inter: An Interface1D object.
|
|
241
|
-
:type inter: freestyle.types.Interface1D
|
|
242
220
|
:return: The density evaluated for the Interface1D in the complete
|
|
243
221
|
viewmap image.
|
|
244
|
-
:rtype: float
|
|
245
222
|
"""
|
|
246
223
|
|
|
247
224
|
class GetCurvilinearAbscissaF0D:
|
|
248
225
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `GetCurvilinearAbscissaF0D`"""
|
|
249
226
|
|
|
250
|
-
def __init__(self):
|
|
227
|
+
def __init__(self) -> None:
|
|
251
228
|
"""Builds a GetCurvilinearAbscissaF0D object."""
|
|
252
229
|
|
|
253
230
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -256,9 +233,7 @@ class GetCurvilinearAbscissaF0D:
|
|
|
256
233
|
Interface0DIterator in the context of its 1D element.
|
|
257
234
|
|
|
258
235
|
:param it: An Interface0DIterator object.
|
|
259
|
-
:type it: freestyle.types.Interface0DIterator
|
|
260
236
|
:return: The curvilinear abscissa of the pointed Interface0D.
|
|
261
|
-
:rtype: float
|
|
262
237
|
"""
|
|
263
238
|
|
|
264
239
|
class GetDirectionalViewMapDensityF1D:
|
|
@@ -270,23 +245,19 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
270
245
|
level: int,
|
|
271
246
|
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
272
247
|
sampling: float = 2.0,
|
|
273
|
-
):
|
|
248
|
+
) -> None:
|
|
274
249
|
"""Builds a GetDirectionalViewMapDensityF1D object.
|
|
275
250
|
|
|
276
251
|
:param orientation: The number of the directional map we must work
|
|
277
252
|
with.
|
|
278
|
-
:type orientation: int
|
|
279
253
|
:param level: The level of the pyramid from which the pixel must be
|
|
280
254
|
read.
|
|
281
|
-
:type level: int
|
|
282
255
|
:param integration_type: The integration method used to compute a single value
|
|
283
256
|
from a set of values.
|
|
284
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
285
257
|
:param sampling: The resolution used to sample the chain: the
|
|
286
258
|
corresponding 0D function is evaluated at each sample point and
|
|
287
259
|
the result is obtained by combining the resulting values into a
|
|
288
260
|
single one, following the method specified by integration_type.
|
|
289
|
-
:type sampling: float
|
|
290
261
|
"""
|
|
291
262
|
|
|
292
263
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -299,16 +270,14 @@ class GetDirectionalViewMapDensityF1D:
|
|
|
299
270
|
method.
|
|
300
271
|
|
|
301
272
|
:param inter: An Interface1D object.
|
|
302
|
-
:type inter: freestyle.types.Interface1D
|
|
303
273
|
:return: the density evaluated for an Interface1D in of the
|
|
304
274
|
steerable viewmaps image.
|
|
305
|
-
:rtype: float
|
|
306
275
|
"""
|
|
307
276
|
|
|
308
277
|
class GetOccludeeF0D:
|
|
309
278
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DViewShape` > `GetOccludeeF0D`"""
|
|
310
279
|
|
|
311
|
-
def __init__(self):
|
|
280
|
+
def __init__(self) -> None:
|
|
312
281
|
"""Builds a GetOccludeeF0D object."""
|
|
313
282
|
|
|
314
283
|
def __call__(
|
|
@@ -318,15 +287,13 @@ class GetOccludeeF0D:
|
|
|
318
287
|
pointed by the Interface0DIterator occludes.
|
|
319
288
|
|
|
320
289
|
:param it: An Interface0DIterator object.
|
|
321
|
-
:type it: freestyle.types.Interface0DIterator
|
|
322
290
|
:return: The ViewShape occluded by the pointed Interface0D.
|
|
323
|
-
:rtype: freestyle.types.ViewShape
|
|
324
291
|
"""
|
|
325
292
|
|
|
326
293
|
class GetOccludeeF1D:
|
|
327
294
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVectorViewShape` > `GetOccludeeF1D`"""
|
|
328
295
|
|
|
329
|
-
def __init__(self):
|
|
296
|
+
def __init__(self) -> None:
|
|
330
297
|
"""Builds a GetOccludeeF1D object."""
|
|
331
298
|
|
|
332
299
|
def __call__(
|
|
@@ -335,15 +302,13 @@ class GetOccludeeF1D:
|
|
|
335
302
|
"""Returns a list of occluded shapes covered by this Interface1D.
|
|
336
303
|
|
|
337
304
|
:param inter: An Interface1D object.
|
|
338
|
-
:type inter: freestyle.types.Interface1D
|
|
339
305
|
:return: A list of occluded shapes covered by the Interface1D.
|
|
340
|
-
:rtype: list[freestyle.types.ViewShape]
|
|
341
306
|
"""
|
|
342
307
|
|
|
343
308
|
class GetOccludersF0D:
|
|
344
309
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DVectorViewShape` > `GetOccludersF0D`"""
|
|
345
310
|
|
|
346
|
-
def __init__(self):
|
|
311
|
+
def __init__(self) -> None:
|
|
347
312
|
"""Builds a GetOccludersF0D object."""
|
|
348
313
|
|
|
349
314
|
def __call__(
|
|
@@ -353,16 +318,14 @@ class GetOccludersF0D:
|
|
|
353
318
|
`freestyle.types.Interface0D` pointed by the Interface0DIterator.
|
|
354
319
|
|
|
355
320
|
:param it: An Interface0DIterator object.
|
|
356
|
-
:type it: freestyle.types.Interface0DIterator
|
|
357
321
|
:return: A list of ViewShape objects occluding the pointed
|
|
358
322
|
Interface0D.
|
|
359
|
-
:rtype: list[freestyle.types.ViewShape]
|
|
360
323
|
"""
|
|
361
324
|
|
|
362
325
|
class GetOccludersF1D:
|
|
363
326
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVectorViewShape` > `GetOccludersF1D`"""
|
|
364
327
|
|
|
365
|
-
def __init__(self):
|
|
328
|
+
def __init__(self) -> None:
|
|
366
329
|
"""Builds a GetOccludersF1D object."""
|
|
367
330
|
|
|
368
331
|
def __call__(
|
|
@@ -371,15 +334,13 @@ class GetOccludersF1D:
|
|
|
371
334
|
"""Returns a list of occluding shapes that cover this Interface1D.
|
|
372
335
|
|
|
373
336
|
:param inter: An Interface1D object.
|
|
374
|
-
:type inter: freestyle.types.Interface1D
|
|
375
337
|
:return: A list of occluding shapes that cover the Interface1D.
|
|
376
|
-
:rtype: list[freestyle.types.ViewShape]
|
|
377
338
|
"""
|
|
378
339
|
|
|
379
340
|
class GetParameterF0D:
|
|
380
341
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `GetParameterF0D`"""
|
|
381
342
|
|
|
382
|
-
def __init__(self):
|
|
343
|
+
def __init__(self) -> None:
|
|
383
344
|
"""Builds a GetParameterF0D object."""
|
|
384
345
|
|
|
385
346
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -387,15 +348,13 @@ class GetParameterF0D:
|
|
|
387
348
|
pointed by the Interface0DIterator in the context of its 1D element.
|
|
388
349
|
|
|
389
350
|
:param it: An Interface0DIterator object.
|
|
390
|
-
:type it: freestyle.types.Interface0DIterator
|
|
391
351
|
:return: The parameter of an Interface0D.
|
|
392
|
-
:rtype: float
|
|
393
352
|
"""
|
|
394
353
|
|
|
395
354
|
class GetProjectedXF0D:
|
|
396
355
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `GetProjectedXF0D`"""
|
|
397
356
|
|
|
398
|
-
def __init__(self):
|
|
357
|
+
def __init__(self) -> None:
|
|
399
358
|
"""Builds a GetProjectedXF0D object."""
|
|
400
359
|
|
|
401
360
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -403,9 +362,7 @@ class GetProjectedXF0D:
|
|
|
403
362
|
pointed by the Interface0DIterator.
|
|
404
363
|
|
|
405
364
|
:param it: An Interface0DIterator object.
|
|
406
|
-
:type it: freestyle.types.Interface0DIterator
|
|
407
365
|
:return: The X 3D projected coordinate of the pointed Interface0D.
|
|
408
|
-
:rtype: float
|
|
409
366
|
"""
|
|
410
367
|
|
|
411
368
|
class GetProjectedXF1D:
|
|
@@ -413,27 +370,24 @@ class GetProjectedXF1D:
|
|
|
413
370
|
|
|
414
371
|
def __init__(
|
|
415
372
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
416
|
-
):
|
|
373
|
+
) -> None:
|
|
417
374
|
"""Builds a GetProjectedXF1D object.
|
|
418
375
|
|
|
419
376
|
:param integration_type: The integration method used to compute a single value
|
|
420
377
|
from a set of values.
|
|
421
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
422
378
|
"""
|
|
423
379
|
|
|
424
380
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
425
381
|
"""Returns the projected X 3D coordinate of an Interface1D.
|
|
426
382
|
|
|
427
383
|
:param inter: An Interface1D object.
|
|
428
|
-
:type inter: freestyle.types.Interface1D
|
|
429
384
|
:return: The projected X 3D coordinate of an Interface1D.
|
|
430
|
-
:rtype: float
|
|
431
385
|
"""
|
|
432
386
|
|
|
433
387
|
class GetProjectedYF0D:
|
|
434
388
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `GetProjectedYF0D`"""
|
|
435
389
|
|
|
436
|
-
def __init__(self):
|
|
390
|
+
def __init__(self) -> None:
|
|
437
391
|
"""Builds a GetProjectedYF0D object."""
|
|
438
392
|
|
|
439
393
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -441,9 +395,7 @@ class GetProjectedYF0D:
|
|
|
441
395
|
pointed by the Interface0DIterator.
|
|
442
396
|
|
|
443
397
|
:param it: An Interface0DIterator object.
|
|
444
|
-
:type it: freestyle.types.Interface0DIterator
|
|
445
398
|
:return: The Y 3D projected coordinate of the pointed Interface0D.
|
|
446
|
-
:rtype: float
|
|
447
399
|
"""
|
|
448
400
|
|
|
449
401
|
class GetProjectedYF1D:
|
|
@@ -451,27 +403,24 @@ class GetProjectedYF1D:
|
|
|
451
403
|
|
|
452
404
|
def __init__(
|
|
453
405
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
454
|
-
):
|
|
406
|
+
) -> None:
|
|
455
407
|
"""Builds a GetProjectedYF1D object.
|
|
456
408
|
|
|
457
409
|
:param integration_type: The integration method used to compute a single value
|
|
458
410
|
from a set of values.
|
|
459
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
460
411
|
"""
|
|
461
412
|
|
|
462
413
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
463
414
|
"""Returns the projected Y 3D coordinate of an Interface1D.
|
|
464
415
|
|
|
465
416
|
:param inter: An Interface1D object.
|
|
466
|
-
:type inter: freestyle.types.Interface1D
|
|
467
417
|
:return: The projected Y 3D coordinate of an Interface1D.
|
|
468
|
-
:rtype: float
|
|
469
418
|
"""
|
|
470
419
|
|
|
471
420
|
class GetProjectedZF0D:
|
|
472
421
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `GetProjectedZF0D`"""
|
|
473
422
|
|
|
474
|
-
def __init__(self):
|
|
423
|
+
def __init__(self) -> None:
|
|
475
424
|
"""Builds a GetProjectedZF0D object."""
|
|
476
425
|
|
|
477
426
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -479,9 +428,7 @@ class GetProjectedZF0D:
|
|
|
479
428
|
pointed by the Interface0DIterator.
|
|
480
429
|
|
|
481
430
|
:param it: An Interface0DIterator object.
|
|
482
|
-
:type it: freestyle.types.Interface0DIterator
|
|
483
431
|
:return: The Z 3D projected coordinate of the pointed Interface0D.
|
|
484
|
-
:rtype: float
|
|
485
432
|
"""
|
|
486
433
|
|
|
487
434
|
class GetProjectedZF1D:
|
|
@@ -489,27 +436,24 @@ class GetProjectedZF1D:
|
|
|
489
436
|
|
|
490
437
|
def __init__(
|
|
491
438
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
492
|
-
):
|
|
439
|
+
) -> None:
|
|
493
440
|
"""Builds a GetProjectedZF1D object.
|
|
494
441
|
|
|
495
442
|
:param integration_type: The integration method used to compute a single value
|
|
496
443
|
from a set of values.
|
|
497
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
498
444
|
"""
|
|
499
445
|
|
|
500
446
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
501
447
|
"""Returns the projected Z 3D coordinate of an Interface1D.
|
|
502
448
|
|
|
503
449
|
:param inter: An Interface1D object.
|
|
504
|
-
:type inter: freestyle.types.Interface1D
|
|
505
450
|
:return: The projected Z 3D coordinate of an Interface1D.
|
|
506
|
-
:rtype: float
|
|
507
451
|
"""
|
|
508
452
|
|
|
509
453
|
class GetShapeF0D:
|
|
510
454
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DViewShape` > `GetShapeF0D`"""
|
|
511
455
|
|
|
512
|
-
def __init__(self):
|
|
456
|
+
def __init__(self) -> None:
|
|
513
457
|
"""Builds a GetShapeF0D object."""
|
|
514
458
|
|
|
515
459
|
def __call__(
|
|
@@ -519,15 +463,13 @@ class GetShapeF0D:
|
|
|
519
463
|
Interface0D pointed by the Interface0DIterator.
|
|
520
464
|
|
|
521
465
|
:param it: An Interface0DIterator object.
|
|
522
|
-
:type it: freestyle.types.Interface0DIterator
|
|
523
466
|
:return: The ViewShape containing the pointed Interface0D.
|
|
524
|
-
:rtype: freestyle.types.ViewShape
|
|
525
467
|
"""
|
|
526
468
|
|
|
527
469
|
class GetShapeF1D:
|
|
528
470
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVectorViewShape` > `GetShapeF1D`"""
|
|
529
471
|
|
|
530
|
-
def __init__(self):
|
|
472
|
+
def __init__(self) -> None:
|
|
531
473
|
"""Builds a GetShapeF1D object."""
|
|
532
474
|
|
|
533
475
|
def __call__(
|
|
@@ -536,9 +478,7 @@ class GetShapeF1D:
|
|
|
536
478
|
"""Returns a list of shapes covered by this Interface1D.
|
|
537
479
|
|
|
538
480
|
:param inter: An Interface1D object.
|
|
539
|
-
:type inter: freestyle.types.Interface1D
|
|
540
481
|
:return: A list of shapes covered by the Interface1D.
|
|
541
|
-
:rtype: list[freestyle.types.ViewShape]
|
|
542
482
|
"""
|
|
543
483
|
|
|
544
484
|
class GetSteerableViewMapDensityF1D:
|
|
@@ -549,20 +489,17 @@ class GetSteerableViewMapDensityF1D:
|
|
|
549
489
|
level: int,
|
|
550
490
|
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
551
491
|
sampling: float = 2.0,
|
|
552
|
-
):
|
|
492
|
+
) -> None:
|
|
553
493
|
"""Builds a GetSteerableViewMapDensityF1D object.
|
|
554
494
|
|
|
555
495
|
:param level: The level of the pyramid from which the pixel must be
|
|
556
496
|
read.
|
|
557
|
-
:type level: int
|
|
558
497
|
:param integration_type: The integration method used to compute a single value
|
|
559
498
|
from a set of values.
|
|
560
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
561
499
|
:param sampling: The resolution used to sample the chain: the
|
|
562
500
|
corresponding 0D function is evaluated at each sample point and
|
|
563
501
|
the result is obtained by combining the resulting values into a
|
|
564
502
|
single one, following the method specified by integration_type.
|
|
565
|
-
:type sampling: float
|
|
566
503
|
"""
|
|
567
504
|
|
|
568
505
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -572,20 +509,17 @@ class GetSteerableViewMapDensityF1D:
|
|
|
572
509
|
orientation.
|
|
573
510
|
|
|
574
511
|
:param inter: An Interface1D object.
|
|
575
|
-
:type inter: freestyle.types.Interface1D
|
|
576
512
|
:return: The density of the ViewMap for a given Interface1D.
|
|
577
|
-
:rtype: float
|
|
578
513
|
"""
|
|
579
514
|
|
|
580
515
|
class GetViewMapGradientNormF0D:
|
|
581
516
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `GetViewMapGradientNormF0D`"""
|
|
582
517
|
|
|
583
|
-
def __init__(self, level: int):
|
|
518
|
+
def __init__(self, level: int) -> None:
|
|
584
519
|
"""Builds a GetViewMapGradientNormF0D object.
|
|
585
520
|
|
|
586
521
|
:param level: The level of the pyramid from which the pixel must be
|
|
587
522
|
read.
|
|
588
|
-
:type level: int
|
|
589
523
|
"""
|
|
590
524
|
|
|
591
525
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -593,10 +527,8 @@ class GetViewMapGradientNormF0D:
|
|
|
593
527
|
image.
|
|
594
528
|
|
|
595
529
|
:param it: An Interface0DIterator object.
|
|
596
|
-
:type it: freestyle.types.Interface0DIterator
|
|
597
530
|
:return: The norm of the gradient of the global viewmap density
|
|
598
531
|
image.
|
|
599
|
-
:rtype: float
|
|
600
532
|
"""
|
|
601
533
|
|
|
602
534
|
class GetViewMapGradientNormF1D:
|
|
@@ -607,20 +539,17 @@ class GetViewMapGradientNormF1D:
|
|
|
607
539
|
level: int,
|
|
608
540
|
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
609
541
|
sampling: float = 2.0,
|
|
610
|
-
):
|
|
542
|
+
) -> None:
|
|
611
543
|
"""Builds a GetViewMapGradientNormF1D object.
|
|
612
544
|
|
|
613
545
|
:param level: The level of the pyramid from which the pixel must be
|
|
614
546
|
read.
|
|
615
|
-
:type level: int
|
|
616
547
|
:param integration_type: The integration method used to compute a single value
|
|
617
548
|
from a set of values.
|
|
618
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
619
549
|
:param sampling: The resolution used to sample the chain: the
|
|
620
550
|
corresponding 0D function is evaluated at each sample point and
|
|
621
551
|
the result is obtained by combining the resulting values into a
|
|
622
552
|
single one, following the method specified by integration_type.
|
|
623
|
-
:type sampling: float
|
|
624
553
|
"""
|
|
625
554
|
|
|
626
555
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -630,15 +559,13 @@ class GetViewMapGradientNormF1D:
|
|
|
630
559
|
orientation.
|
|
631
560
|
|
|
632
561
|
:param inter: An Interface1D object.
|
|
633
|
-
:type inter: freestyle.types.Interface1D
|
|
634
562
|
:return: The density of the ViewMap for a given Interface1D.
|
|
635
|
-
:rtype: float
|
|
636
563
|
"""
|
|
637
564
|
|
|
638
565
|
class GetXF0D:
|
|
639
566
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `GetXF0D`"""
|
|
640
567
|
|
|
641
|
-
def __init__(self):
|
|
568
|
+
def __init__(self) -> None:
|
|
642
569
|
"""Builds a GetXF0D object."""
|
|
643
570
|
|
|
644
571
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -646,9 +573,7 @@ class GetXF0D:
|
|
|
646
573
|
the Interface0DIterator.
|
|
647
574
|
|
|
648
575
|
:param it: An Interface0DIterator object.
|
|
649
|
-
:type it: freestyle.types.Interface0DIterator
|
|
650
576
|
:return: The X 3D coordinate of the pointed Interface0D.
|
|
651
|
-
:rtype: float
|
|
652
577
|
"""
|
|
653
578
|
|
|
654
579
|
class GetXF1D:
|
|
@@ -656,27 +581,24 @@ class GetXF1D:
|
|
|
656
581
|
|
|
657
582
|
def __init__(
|
|
658
583
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
659
|
-
):
|
|
584
|
+
) -> None:
|
|
660
585
|
"""Builds a GetXF1D object.
|
|
661
586
|
|
|
662
587
|
:param integration_type: The integration method used to compute a single value
|
|
663
588
|
from a set of values.
|
|
664
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
665
589
|
"""
|
|
666
590
|
|
|
667
591
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
668
592
|
"""Returns the X 3D coordinate of an Interface1D.
|
|
669
593
|
|
|
670
594
|
:param inter: An Interface1D object.
|
|
671
|
-
:type inter: freestyle.types.Interface1D
|
|
672
595
|
:return: The X 3D coordinate of the Interface1D.
|
|
673
|
-
:rtype: float
|
|
674
596
|
"""
|
|
675
597
|
|
|
676
598
|
class GetYF0D:
|
|
677
599
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `GetYF0D`"""
|
|
678
600
|
|
|
679
|
-
def __init__(self):
|
|
601
|
+
def __init__(self) -> None:
|
|
680
602
|
"""Builds a GetYF0D object."""
|
|
681
603
|
|
|
682
604
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -684,9 +606,7 @@ class GetYF0D:
|
|
|
684
606
|
the Interface0DIterator.
|
|
685
607
|
|
|
686
608
|
:param it: An Interface0DIterator object.
|
|
687
|
-
:type it: freestyle.types.Interface0DIterator
|
|
688
609
|
:return: The Y 3D coordinate of the pointed Interface0D.
|
|
689
|
-
:rtype: float
|
|
690
610
|
"""
|
|
691
611
|
|
|
692
612
|
class GetYF1D:
|
|
@@ -694,27 +614,24 @@ class GetYF1D:
|
|
|
694
614
|
|
|
695
615
|
def __init__(
|
|
696
616
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
697
|
-
):
|
|
617
|
+
) -> None:
|
|
698
618
|
"""Builds a GetYF1D object.
|
|
699
619
|
|
|
700
620
|
:param integration_type: The integration method used to compute a single value
|
|
701
621
|
from a set of values.
|
|
702
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
703
622
|
"""
|
|
704
623
|
|
|
705
624
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
706
625
|
"""Returns the Y 3D coordinate of an Interface1D.
|
|
707
626
|
|
|
708
627
|
:param inter: An Interface1D object.
|
|
709
|
-
:type inter: freestyle.types.Interface1D
|
|
710
628
|
:return: The Y 3D coordinate of the Interface1D.
|
|
711
|
-
:rtype: float
|
|
712
629
|
"""
|
|
713
630
|
|
|
714
631
|
class GetZF0D:
|
|
715
632
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `GetZF0D`"""
|
|
716
633
|
|
|
717
|
-
def __init__(self):
|
|
634
|
+
def __init__(self) -> None:
|
|
718
635
|
"""Builds a GetZF0D object."""
|
|
719
636
|
|
|
720
637
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -722,9 +639,7 @@ class GetZF0D:
|
|
|
722
639
|
the Interface0DIterator.
|
|
723
640
|
|
|
724
641
|
:param it: An Interface0DIterator object.
|
|
725
|
-
:type it: freestyle.types.Interface0DIterator
|
|
726
642
|
:return: The Z 3D coordinate of the pointed Interface0D.
|
|
727
|
-
:rtype: float
|
|
728
643
|
"""
|
|
729
644
|
|
|
730
645
|
class GetZF1D:
|
|
@@ -732,44 +647,39 @@ class GetZF1D:
|
|
|
732
647
|
|
|
733
648
|
def __init__(
|
|
734
649
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
735
|
-
):
|
|
650
|
+
) -> None:
|
|
736
651
|
"""Builds a GetZF1D object.
|
|
737
652
|
|
|
738
653
|
:param integration_type: The integration method used to compute a single value
|
|
739
654
|
from a set of values.
|
|
740
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
741
655
|
"""
|
|
742
656
|
|
|
743
657
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
744
658
|
"""Returns the Z 3D coordinate of an Interface1D.
|
|
745
659
|
|
|
746
660
|
:param inter: An Interface1D object.
|
|
747
|
-
:type inter: freestyle.types.Interface1D
|
|
748
661
|
:return: The Z 3D coordinate of the Interface1D.
|
|
749
|
-
:rtype: float
|
|
750
662
|
"""
|
|
751
663
|
|
|
752
664
|
class IncrementChainingTimeStampF1D:
|
|
753
665
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVoid` > `IncrementChainingTimeStampF1D`"""
|
|
754
666
|
|
|
755
|
-
def __init__(self):
|
|
667
|
+
def __init__(self) -> None:
|
|
756
668
|
"""Builds an IncrementChainingTimeStampF1D object."""
|
|
757
669
|
|
|
758
|
-
def __call__(self, inter: freestyle.types.Interface1D):
|
|
670
|
+
def __call__(self, inter: freestyle.types.Interface1D) -> None:
|
|
759
671
|
"""Increments the chaining time stamp of the Interface1D.
|
|
760
672
|
|
|
761
673
|
:param inter: An Interface1D object.
|
|
762
|
-
:type inter: freestyle.types.Interface1D
|
|
763
674
|
"""
|
|
764
675
|
|
|
765
676
|
class LocalAverageDepthF0D:
|
|
766
677
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `LocalAverageDepthF0D`"""
|
|
767
678
|
|
|
768
|
-
def __init__(self, mask_size: float = 5.0):
|
|
679
|
+
def __init__(self, mask_size: float = 5.0) -> None:
|
|
769
680
|
"""Builds a LocalAverageDepthF0D object.
|
|
770
681
|
|
|
771
682
|
:param mask_size: The size of the mask.
|
|
772
|
-
:type mask_size: float
|
|
773
683
|
"""
|
|
774
684
|
|
|
775
685
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -779,9 +689,7 @@ class LocalAverageDepthF0D:
|
|
|
779
689
|
buffer on a window around that point.
|
|
780
690
|
|
|
781
691
|
:param it: An Interface0DIterator object.
|
|
782
|
-
:type it: freestyle.types.Interface0DIterator
|
|
783
692
|
:return: The average depth around the pointed Interface0D.
|
|
784
|
-
:rtype: float
|
|
785
693
|
"""
|
|
786
694
|
|
|
787
695
|
class LocalAverageDepthF1D:
|
|
@@ -791,15 +699,13 @@ class LocalAverageDepthF1D:
|
|
|
791
699
|
self,
|
|
792
700
|
sigma: float,
|
|
793
701
|
integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN,
|
|
794
|
-
):
|
|
702
|
+
) -> None:
|
|
795
703
|
"""Builds a LocalAverageDepthF1D object.
|
|
796
704
|
|
|
797
705
|
:param sigma: The sigma used in DensityF0D and determining the window
|
|
798
706
|
size used in each density query.
|
|
799
|
-
:type sigma: float
|
|
800
707
|
:param integration_type: The integration method used to compute a single value
|
|
801
708
|
from a set of values.
|
|
802
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
803
709
|
"""
|
|
804
710
|
|
|
805
711
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -810,15 +716,13 @@ class LocalAverageDepthF1D:
|
|
|
810
716
|
user-defined integration method.
|
|
811
717
|
|
|
812
718
|
:param inter: An Interface1D object.
|
|
813
|
-
:type inter: freestyle.types.Interface1D
|
|
814
719
|
:return: The average depth evaluated for the Interface1D.
|
|
815
|
-
:rtype: float
|
|
816
720
|
"""
|
|
817
721
|
|
|
818
722
|
class MaterialF0D:
|
|
819
723
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DMaterial` > `MaterialF0D`"""
|
|
820
724
|
|
|
821
|
-
def __init__(self):
|
|
725
|
+
def __init__(self) -> None:
|
|
822
726
|
"""Builds a MaterialF0D object."""
|
|
823
727
|
|
|
824
728
|
def __call__(
|
|
@@ -837,16 +741,14 @@ class MaterialF0D:
|
|
|
837
741
|
own getMaterial functor.
|
|
838
742
|
|
|
839
743
|
:param it: An Interface0DIterator object.
|
|
840
|
-
:type it: freestyle.types.Interface0DIterator
|
|
841
744
|
:return: The material of the object evaluated at the pointed
|
|
842
745
|
Interface0D.
|
|
843
|
-
:rtype: freestyle.types.Material
|
|
844
746
|
"""
|
|
845
747
|
|
|
846
748
|
class Normal2DF0D:
|
|
847
749
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DVec2f` > `Normal2DF0D`"""
|
|
848
750
|
|
|
849
|
-
def __init__(self):
|
|
751
|
+
def __init__(self) -> None:
|
|
850
752
|
"""Builds a Normal2DF0D object."""
|
|
851
753
|
|
|
852
754
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> mathutils.Vector:
|
|
@@ -856,10 +758,8 @@ class Normal2DF0D:
|
|
|
856
758
|
at the pointed Interface0D.
|
|
857
759
|
|
|
858
760
|
:param it: An Interface0DIterator object.
|
|
859
|
-
:type it: freestyle.types.Interface0DIterator
|
|
860
761
|
:return: The 2D normal of the 1D element evaluated at the pointed
|
|
861
762
|
Interface0D.
|
|
862
|
-
:rtype: mathutils.Vector
|
|
863
763
|
"""
|
|
864
764
|
|
|
865
765
|
class Normal2DF1D:
|
|
@@ -867,21 +767,18 @@ class Normal2DF1D:
|
|
|
867
767
|
|
|
868
768
|
def __init__(
|
|
869
769
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
870
|
-
):
|
|
770
|
+
) -> None:
|
|
871
771
|
"""Builds a Normal2DF1D object.
|
|
872
772
|
|
|
873
773
|
:param integration_type: The integration method used to compute a single value
|
|
874
774
|
from a set of values.
|
|
875
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
876
775
|
"""
|
|
877
776
|
|
|
878
777
|
def __call__(self, inter: freestyle.types.Interface1D) -> mathutils.Vector:
|
|
879
778
|
"""Returns the 2D normal for the Interface1D.
|
|
880
779
|
|
|
881
780
|
:param inter: An Interface1D object.
|
|
882
|
-
:type inter: freestyle.types.Interface1D
|
|
883
781
|
:return: The 2D normal for the Interface1D.
|
|
884
|
-
:rtype: mathutils.Vector
|
|
885
782
|
"""
|
|
886
783
|
|
|
887
784
|
class Orientation2DF1D:
|
|
@@ -889,21 +786,18 @@ class Orientation2DF1D:
|
|
|
889
786
|
|
|
890
787
|
def __init__(
|
|
891
788
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
892
|
-
):
|
|
789
|
+
) -> None:
|
|
893
790
|
"""Builds an Orientation2DF1D object.
|
|
894
791
|
|
|
895
792
|
:param integration_type: The integration method used to compute a single value
|
|
896
793
|
from a set of values.
|
|
897
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
898
794
|
"""
|
|
899
795
|
|
|
900
796
|
def __call__(self, inter: freestyle.types.Interface1D) -> mathutils.Vector:
|
|
901
797
|
"""Returns the 2D orientation of the Interface1D.
|
|
902
798
|
|
|
903
799
|
:param inter: An Interface1D object.
|
|
904
|
-
:type inter: freestyle.types.Interface1D
|
|
905
800
|
:return: The 2D orientation of the Interface1D.
|
|
906
|
-
:rtype: mathutils.Vector
|
|
907
801
|
"""
|
|
908
802
|
|
|
909
803
|
class Orientation3DF1D:
|
|
@@ -911,27 +805,24 @@ class Orientation3DF1D:
|
|
|
911
805
|
|
|
912
806
|
def __init__(
|
|
913
807
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
914
|
-
):
|
|
808
|
+
) -> None:
|
|
915
809
|
"""Builds an Orientation3DF1D object.
|
|
916
810
|
|
|
917
811
|
:param integration_type: The integration method used to compute a single value
|
|
918
812
|
from a set of values.
|
|
919
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
920
813
|
"""
|
|
921
814
|
|
|
922
815
|
def __call__(self, inter: freestyle.types.Interface1D) -> mathutils.Vector:
|
|
923
816
|
"""Returns the 3D orientation of the Interface1D.
|
|
924
817
|
|
|
925
818
|
:param inter: An Interface1D object.
|
|
926
|
-
:type inter: freestyle.types.Interface1D
|
|
927
819
|
:return: The 3D orientation of the Interface1D.
|
|
928
|
-
:rtype: mathutils.Vector
|
|
929
820
|
"""
|
|
930
821
|
|
|
931
822
|
class QuantitativeInvisibilityF0D:
|
|
932
823
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DUnsigned` > `QuantitativeInvisibilityF0D`"""
|
|
933
824
|
|
|
934
|
-
def __init__(self):
|
|
825
|
+
def __init__(self) -> None:
|
|
935
826
|
"""Builds a QuantitativeInvisibilityF0D object."""
|
|
936
827
|
|
|
937
828
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> int:
|
|
@@ -945,9 +836,7 @@ class QuantitativeInvisibilityF0D:
|
|
|
945
836
|
specific way should implement its own getQIF0D functor.
|
|
946
837
|
|
|
947
838
|
:param it: An Interface0DIterator object.
|
|
948
|
-
:type it: freestyle.types.Interface0DIterator
|
|
949
839
|
:return: The quantitative invisibility of the pointed Interface0D.
|
|
950
|
-
:rtype: int
|
|
951
840
|
"""
|
|
952
841
|
|
|
953
842
|
class QuantitativeInvisibilityF1D:
|
|
@@ -955,12 +844,11 @@ class QuantitativeInvisibilityF1D:
|
|
|
955
844
|
|
|
956
845
|
def __init__(
|
|
957
846
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
958
|
-
):
|
|
847
|
+
) -> None:
|
|
959
848
|
"""Builds a QuantitativeInvisibilityF1D object.
|
|
960
849
|
|
|
961
850
|
:param integration_type: The integration method used to compute a single value
|
|
962
851
|
from a set of values.
|
|
963
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
964
852
|
"""
|
|
965
853
|
|
|
966
854
|
def __call__(self, inter: freestyle.types.Interface1D) -> int:
|
|
@@ -971,80 +859,67 @@ class QuantitativeInvisibilityF1D:
|
|
|
971
859
|
elements of different Quantitative Invisibilities.
|
|
972
860
|
|
|
973
861
|
:param inter: An Interface1D object.
|
|
974
|
-
:type inter: freestyle.types.Interface1D
|
|
975
862
|
:return: The Quantitative Invisibility of the Interface1D.
|
|
976
|
-
:rtype: int
|
|
977
863
|
"""
|
|
978
864
|
|
|
979
865
|
class ReadCompleteViewMapPixelF0D:
|
|
980
866
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadCompleteViewMapPixelF0D`"""
|
|
981
867
|
|
|
982
|
-
def __init__(self, level: int):
|
|
868
|
+
def __init__(self, level: int) -> None:
|
|
983
869
|
"""Builds a ReadCompleteViewMapPixelF0D object.
|
|
984
870
|
|
|
985
871
|
:param level: The level of the pyramid from which the pixel must be
|
|
986
872
|
read.
|
|
987
|
-
:type level: int
|
|
988
873
|
"""
|
|
989
874
|
|
|
990
875
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
991
876
|
"""Reads a pixel in one of the level of the complete viewmap.
|
|
992
877
|
|
|
993
878
|
:param it: An Interface0DIterator object.
|
|
994
|
-
:type it: freestyle.types.Interface0DIterator
|
|
995
879
|
:return: A pixel in one of the level of the complete viewmap.
|
|
996
|
-
:rtype: float
|
|
997
880
|
"""
|
|
998
881
|
|
|
999
882
|
class ReadMapPixelF0D:
|
|
1000
883
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadMapPixelF0D`"""
|
|
1001
884
|
|
|
1002
|
-
def __init__(self, map_name: str, level: int):
|
|
885
|
+
def __init__(self, map_name: str, level: int) -> None:
|
|
1003
886
|
"""Builds a ReadMapPixelF0D object.
|
|
1004
887
|
|
|
1005
888
|
:param map_name: The name of the map to be read.
|
|
1006
|
-
:type map_name: str
|
|
1007
889
|
:param level: The level of the pyramid from which the pixel must be
|
|
1008
890
|
read.
|
|
1009
|
-
:type level: int
|
|
1010
891
|
"""
|
|
1011
892
|
|
|
1012
893
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
1013
894
|
"""Reads a pixel in a map.
|
|
1014
895
|
|
|
1015
896
|
:param it: An Interface0DIterator object.
|
|
1016
|
-
:type it: freestyle.types.Interface0DIterator
|
|
1017
897
|
:return: A pixel in a map.
|
|
1018
|
-
:rtype: float
|
|
1019
898
|
"""
|
|
1020
899
|
|
|
1021
900
|
class ReadSteerableViewMapPixelF0D:
|
|
1022
901
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DFloat` > `ReadSteerableViewMapPixelF0D`"""
|
|
1023
902
|
|
|
1024
|
-
def __init__(self, orientation: int, level: int):
|
|
903
|
+
def __init__(self, orientation: int, level: int) -> None:
|
|
1025
904
|
"""Builds a ReadSteerableViewMapPixelF0D object.
|
|
1026
905
|
|
|
1027
906
|
:param orientation: The integer belonging to [0, 4] indicating the
|
|
1028
907
|
orientation (E, NE, N, NW) we are interested in.
|
|
1029
|
-
:type orientation: int
|
|
1030
908
|
:param level: The level of the pyramid from which the pixel must be
|
|
1031
909
|
read.
|
|
1032
|
-
:type level: int
|
|
1033
910
|
"""
|
|
1034
911
|
|
|
1035
912
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
1036
913
|
"""Reads a pixel in one of the level of one of the steerable viewmaps.
|
|
1037
914
|
|
|
1038
915
|
:param it: An Interface0DIterator object.
|
|
1039
|
-
:type it: freestyle.types.Interface0DIterator
|
|
1040
916
|
:return: A pixel in one of the level of one of the steerable viewmaps.
|
|
1041
|
-
:rtype: float
|
|
1042
917
|
"""
|
|
1043
918
|
|
|
1044
919
|
class ShapeIdF0D:
|
|
1045
920
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DId` > `ShapeIdF0D`"""
|
|
1046
921
|
|
|
1047
|
-
def __init__(self):
|
|
922
|
+
def __init__(self) -> None:
|
|
1048
923
|
"""Builds a ShapeIdF0D object."""
|
|
1049
924
|
|
|
1050
925
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> freestyle.types.Id:
|
|
@@ -1059,28 +934,25 @@ class ShapeIdF0D:
|
|
|
1059
934
|
getShapeIdF0D functor.
|
|
1060
935
|
|
|
1061
936
|
:param it: An Interface0DIterator object.
|
|
1062
|
-
:type it: freestyle.types.Interface0DIterator
|
|
1063
937
|
:return: The Id of the Shape the pointed Interface0D belongs to.
|
|
1064
|
-
:rtype: freestyle.types.Id
|
|
1065
938
|
"""
|
|
1066
939
|
|
|
1067
940
|
class TimeStampF1D:
|
|
1068
941
|
"""Class hierarchy: `freestyle.types.UnaryFunction1D` > `freestyle.types.UnaryFunction1DVoid` > `TimeStampF1D`"""
|
|
1069
942
|
|
|
1070
|
-
def __init__(self):
|
|
943
|
+
def __init__(self) -> None:
|
|
1071
944
|
"""Builds a TimeStampF1D object."""
|
|
1072
945
|
|
|
1073
|
-
def __call__(self, inter: freestyle.types.Interface1D):
|
|
946
|
+
def __call__(self, inter: freestyle.types.Interface1D) -> None:
|
|
1074
947
|
"""Returns the time stamp of the Interface1D.
|
|
1075
948
|
|
|
1076
949
|
:param inter: An Interface1D object.
|
|
1077
|
-
:type inter: freestyle.types.Interface1D
|
|
1078
950
|
"""
|
|
1079
951
|
|
|
1080
952
|
class VertexOrientation2DF0D:
|
|
1081
953
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DVec2f` > `VertexOrientation2DF0D`"""
|
|
1082
954
|
|
|
1083
|
-
def __init__(self):
|
|
955
|
+
def __init__(self) -> None:
|
|
1084
956
|
"""Builds a VertexOrientation2DF0D object."""
|
|
1085
957
|
|
|
1086
958
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> mathutils.Vector:
|
|
@@ -1090,16 +962,14 @@ class VertexOrientation2DF0D:
|
|
|
1090
962
|
evaluated at the pointed Interface0D.
|
|
1091
963
|
|
|
1092
964
|
:param it: An Interface0DIterator object.
|
|
1093
|
-
:type it: freestyle.types.Interface0DIterator
|
|
1094
965
|
:return: The 2D oriented tangent to the 1D element evaluated at the
|
|
1095
966
|
pointed Interface0D.
|
|
1096
|
-
:rtype: mathutils.Vector
|
|
1097
967
|
"""
|
|
1098
968
|
|
|
1099
969
|
class VertexOrientation3DF0D:
|
|
1100
970
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DVec3f` > `VertexOrientation3DF0D`"""
|
|
1101
971
|
|
|
1102
|
-
def __init__(self):
|
|
972
|
+
def __init__(self) -> None:
|
|
1103
973
|
"""Builds a VertexOrientation3DF0D object."""
|
|
1104
974
|
|
|
1105
975
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> mathutils.Vector:
|
|
@@ -1109,16 +979,14 @@ class VertexOrientation3DF0D:
|
|
|
1109
979
|
is evaluated at the pointed Interface0D.
|
|
1110
980
|
|
|
1111
981
|
:param it: An Interface0DIterator object.
|
|
1112
|
-
:type it: freestyle.types.Interface0DIterator
|
|
1113
982
|
:return: The 3D oriented tangent to the 1D element evaluated at the
|
|
1114
983
|
pointed Interface0D.
|
|
1115
|
-
:rtype: mathutils.Vector
|
|
1116
984
|
"""
|
|
1117
985
|
|
|
1118
986
|
class ZDiscontinuityF0D:
|
|
1119
987
|
"""Class hierarchy: `freestyle.types.UnaryFunction0D` > `freestyle.types.UnaryFunction0DDouble` > `ZDiscontinuityF0D`"""
|
|
1120
988
|
|
|
1121
|
-
def __init__(self):
|
|
989
|
+
def __init__(self) -> None:
|
|
1122
990
|
"""Builds a ZDiscontinuityF0D object."""
|
|
1123
991
|
|
|
1124
992
|
def __call__(self, it: freestyle.types.Interface0DIterator) -> float:
|
|
@@ -1130,10 +998,8 @@ class ZDiscontinuityF0D:
|
|
|
1130
998
|
Interface0D belongs to, 1 is returned.
|
|
1131
999
|
|
|
1132
1000
|
:param it: An Interface0DIterator object.
|
|
1133
|
-
:type it: freestyle.types.Interface0DIterator
|
|
1134
1001
|
:return: The normalized distance between the pointed Interface0D
|
|
1135
1002
|
and the occludee.
|
|
1136
|
-
:rtype: float
|
|
1137
1003
|
"""
|
|
1138
1004
|
|
|
1139
1005
|
class ZDiscontinuityF1D:
|
|
@@ -1141,12 +1007,11 @@ class ZDiscontinuityF1D:
|
|
|
1141
1007
|
|
|
1142
1008
|
def __init__(
|
|
1143
1009
|
self, integration_type: freestyle.types.IntegrationType = IntegrationType.MEAN
|
|
1144
|
-
):
|
|
1010
|
+
) -> None:
|
|
1145
1011
|
"""Builds a ZDiscontinuityF1D object.
|
|
1146
1012
|
|
|
1147
1013
|
:param integration_type: The integration method used to compute a single value
|
|
1148
1014
|
from a set of values.
|
|
1149
|
-
:type integration_type: freestyle.types.IntegrationType
|
|
1150
1015
|
"""
|
|
1151
1016
|
|
|
1152
1017
|
def __call__(self, inter: freestyle.types.Interface1D) -> float:
|
|
@@ -1157,9 +1022,7 @@ class ZDiscontinuityF1D:
|
|
|
1157
1022
|
Interface1D belongs to, 1 is returned.
|
|
1158
1023
|
|
|
1159
1024
|
:param inter: An Interface1D object.
|
|
1160
|
-
:type inter: freestyle.types.Interface1D
|
|
1161
1025
|
:return: The normalized distance between the Interface1D and the occludee.
|
|
1162
|
-
:rtype: float
|
|
1163
1026
|
"""
|
|
1164
1027
|
|
|
1165
1028
|
class pyCurvilinearLengthF0D: ...
|
|
@@ -1177,9 +1040,8 @@ class pyViewMapGradientNormF1D: ...
|
|
|
1177
1040
|
class pyViewMapGradientVectorF0D:
|
|
1178
1041
|
"""Returns the gradient vector for a pixel."""
|
|
1179
1042
|
|
|
1180
|
-
def __init__(self, level: int):
|
|
1043
|
+
def __init__(self, level: int) -> None:
|
|
1181
1044
|
"""Builds a pyViewMapGradientVectorF0D object.
|
|
1182
1045
|
|
|
1183
1046
|
:param level: the level at which to compute the gradient
|
|
1184
|
-
:type level: int
|
|
1185
1047
|
"""
|