|
Blender V5.0
|
Go to the source code of this file.
Variables | |
| const char * | image_context_dir [] |
Definition at line 489 of file image_draw.cc.
References C, Image::cache, ceilf, RenderData::cfra, CTX_data_scene(), CTX_wm_space_image(), ED_mask_draw_frames(), ED_region_cache_draw_background(), ED_region_cache_draw_cached_segments(), ED_region_cache_draw_curfra_label(), ED_region_visible_rect(), ED_space_image(), ED_space_image_get_mask(), ED_space_image_show_cache(), RenderData::efra, ELEM, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), IMA_SRC_MOVIE, IMA_SRC_SEQUENCE, IMB_moviecache_get_cache_segments(), IMB_PROXY_NONE, immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformThemeColor(), immVertexFormat(), SpaceImage::iuser, lock, mask(), SpaceImage::mode, ImageUser::offset, pos, Scene::r, roundf, Image::runtime, RenderData::sfra, SI_MODE_MASK, Image::source, TH_CFRAME, UI_SCALE_FAC, ARegion::winx, x, and rcti::ymin.
Referenced by image_main_region_draw().
Definition at line 440 of file image_draw.cc.
References C, CTX_data_scene(), CTX_wm_space_image(), draw_image_uv_custom_region(), draw_render_info(), ED_space_image(), ED_space_image_get_zoom(), IMA_SRC_VIEWER, IMA_TYPE_R_RESULT, SpaceImage::iuser, SpaceImage::mode, ImageUser::scene, SI_MODE_UV, Image::source, Scene::toolsettings, Image::type, ToolSettings::uv_custom_region, ToolSettings::uv_flag, and UV_FLAG_CUSTOM_REGION.
Referenced by image_main_region_draw().
| void draw_image_sample_line | ( | SpaceImage * | sima | ) |
Definition at line 409 of file image_draw.cc.
References Histogram::co, Histogram::flag, GPU_PRIM_LINES, GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR, GPU_vertformat_attr_add(), GPU_viewport_size_get_f(), HISTO_FLAG_SAMPLELINE, immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniform1f(), immUniform1i(), immUniform2f(), immUniform4f(), immVertex2fv(), immVertexFormat(), SpaceImage::sample_line_hist, and UI_SCALE_FAC.
Referenced by image_main_region_draw().
Definition at line 618 of file image_draw.cc.
References GPU_line_width(), GPU_SHADER_3D_LINE_DASHED_UNIFORM_COLOR, GPU_vertformat_attr_add(), GPU_viewport_size_get_f(), imm_draw_box_wire_2d(), immBindBuiltinProgram(), immUnbindProgram(), immUniform1f(), immUniform1i(), immUniform2f(), immUniform4f(), immVertexFormat(), UI_SCALE_FAC, UI_view2d_view_to_region_rcti(), ARegion::v2d, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by draw_image_main_helpers().
| void image_buttons_register | ( | ARegionType * | art | ) |
Definition at line 1322 of file image_buttons.cc.
References BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::category, PanelType::draw, PanelType::flag, PanelType::idname, PanelType::label, MEM_callocN(), metadata_panel_context_draw(), metadata_panel_context_poll(), N_, PanelType::order, PANEL_TYPE_DEFAULT_CLOSED, ARegionType::paneltypes, PanelType::poll, STRNCPY_UTF8, and PanelType::translation_context.
Referenced by ED_spacetype_image().
| void IMAGE_OT_add_render_slot | ( | wmOperatorType * | ot | ) |
Definition at line 3894 of file image_ops.cc.
References image_add_render_slot_exec(), image_cycle_render_slot_poll(), OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_change_frame | ( | wmOperatorType * | ot | ) |
Definition at line 4049 of file image_ops.cc.
References change_frame_exec(), change_frame_invoke(), change_frame_modal(), change_frame_poll(), MAXFRAME, MINAFRAME, OPTYPE_BLOCKING, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by image_operatortypes().
| void IMAGE_OT_clear_render_border | ( | wmOperatorType * | ot | ) |
Definition at line 4205 of file image_ops.cc.
References clear_render_border_exec(), image_cycle_render_slot_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_clear_render_slot | ( | wmOperatorType * | ot | ) |
Definition at line 3861 of file image_ops.cc.
References image_clear_render_slot_exec(), image_cycle_render_slot_poll(), OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_clipboard_copy | ( | wmOperatorType * | ot | ) |
Definition at line 3041 of file image_ops.cc.
References image_clipboard_copy_exec(), image_clipboard_copy_poll(), OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_clipboard_paste | ( | wmOperatorType * | ot | ) |
Definition at line 3102 of file image_ops.cc.
References image_clipboard_paste_exec(), image_clipboard_paste_poll(), OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_curves_point_set | ( | wmOperatorType * | ot | ) |
Definition at line 3759 of file image_ops.cc.
References ED_imbuf_sample_cancel(), ED_imbuf_sample_invoke(), ED_imbuf_sample_modal(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_PIXEL, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_subtype(), and space_image_main_area_not_uv_brush_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_cycle_render_slot | ( | wmOperatorType * | ot | ) |
Definition at line 3824 of file image_ops.cc.
References image_cycle_render_slot_exec(), image_cycle_render_slot_poll(), OPTYPE_REGISTER, ot, and RNA_def_boolean().
Referenced by image_operatortypes().
| void IMAGE_OT_file_browse | ( | wmOperatorType * | ot | ) |
Definition at line 1700 of file image_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, image_file_browse_exec(), image_file_browse_invoke(), image_file_browse_poll(), OPTYPE_UNDO, ot, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_flip | ( | wmOperatorType * | ot | ) |
Definition at line 2878 of file image_ops.cc.
References image_flip_exec(), image_from_context_editable_has_data_poll_active_tile(), OPTYPE_REGISTER, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by image_operatortypes().
| void IMAGE_OT_invert | ( | wmOperatorType * | ot | ) |
Definition at line 3212 of file image_ops.cc.
References image_from_context_editable_has_data_poll_active_tile(), image_invert_exec(), OPTYPE_REGISTER, ot, PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by image_operatortypes().
| void IMAGE_OT_match_movie_length | ( | wmOperatorType * | ot | ) |
Called by other space types too.
Definition at line 1762 of file image_ops.cc.
References image_match_len_exec(), OPTYPE_INTERNAL, OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_new | ( | wmOperatorType * | ot | ) |
Definition at line 2731 of file image_ops.cc.
References FLT_MAX, IMA_DEF_NAME, IMA_GENTYPE_BLANK, image_new_cancel(), image_new_draw(), image_new_exec(), image_new_invoke(), MAX_ID_NAME, OPTYPE_UNDO, ot, PROP_COLOR_GAMMA, PROP_HIDDEN, PROP_PIXEL, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_float_color(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_float_array_default(), RNA_def_property_subtype(), RNA_def_string(), and rna_enum_image_generated_type_items.
Referenced by image_operatortypes().
| void IMAGE_OT_open | ( | wmOperatorType * | ot | ) |
Called by other space types too.
Definition at line 1564 of file image_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, image_open_cancel(), image_open_draw(), image_open_exec(), image_open_invoke(), image_operator_prop_allow_tokens(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), WM_FILESEL_DIRECTORY, WM_FILESEL_FILEPATH, WM_FILESEL_FILES, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_pack | ( | wmOperatorType * | ot | ) |
Definition at line 3433 of file image_ops.cc.
References image_pack_exec(), image_pack_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_read_viewlayers | ( | wmOperatorType * | ot | ) |
Definition at line 4089 of file image_ops.cc.
References image_read_viewlayers_exec(), ot, and space_image_main_region_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_reload | ( | wmOperatorType * | ot | ) |
Definition at line 2541 of file image_ops.cc.
References image_reload_exec(), OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_remove_render_slot | ( | wmOperatorType * | ot | ) |
Definition at line 3929 of file image_ops.cc.
References image_cycle_render_slot_poll(), image_remove_render_slot_exec(), OPTYPE_REGISTER, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_render_border | ( | wmOperatorType * | ot | ) |
Definition at line 4169 of file image_ops.cc.
References image_cycle_render_slot_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, render_border_exec(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_border().
Referenced by image_operatortypes().
| void IMAGE_OT_replace | ( | wmOperatorType * | ot | ) |
Definition at line 1844 of file image_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, image_not_packed_poll(), image_replace_exec(), image_replace_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_resize | ( | wmOperatorType * | ot | ) |
Definition at line 3347 of file image_ops.cc.
References image_from_context_editable_has_data_poll_active_tile(), image_scale_exec(), image_scale_invoke(), OPTYPE_REGISTER, ot, RNA_def_boolean(), and RNA_def_int_vector().
Referenced by image_operatortypes().
| void IMAGE_OT_rotate_orthogonal | ( | wmOperatorType * | ot | ) |
Definition at line 2948 of file image_ops.cc.
References image_from_context_editable_has_data_poll_active_tile(), image_rotate_orthogonal_exec(), OPTYPE_REGISTER, ot, PROP_SKIP_SAVE, RNA_def_enum(), and RNA_def_property_flag().
Referenced by image_operatortypes().
| void IMAGE_OT_sample | ( | wmOperatorType * | ot | ) |
Definition at line 3639 of file image_ops.cc.
References ED_imbuf_sample_cancel(), ED_imbuf_sample_invoke(), ED_imbuf_sample_modal(), ED_imbuf_sample_poll(), OPTYPE_BLOCKING, ot, PROP_PIXEL, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and RNA_def_property_subtype().
Referenced by image_operatortypes().
| void IMAGE_OT_sample_line | ( | wmOperatorType * | ot | ) |
Definition at line 3733 of file image_ops.cc.
References image_sample_line_exec(), image_sample_line_invoke(), ot, space_image_main_region_poll(), WM_CURSOR_EDIT, WM_gesture_straightline_cancel(), WM_gesture_straightline_modal(), and WM_operator_properties_gesture_straightline().
Referenced by image_operatortypes().
| void IMAGE_OT_save | ( | wmOperatorType * | ot | ) |
Definition at line 2244 of file image_ops.cc.
References image_save_exec(), image_save_invoke(), image_save_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_save_all_modified | ( | wmOperatorType * | ot | ) |
Definition at line 2498 of file image_ops.cc.
References image_save_all_modified_exec(), image_save_all_modified_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_save_as | ( | wmOperatorType * | ot | ) |
Definition at line 2101 of file image_ops.cc.
References FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, image_operator_prop_allow_tokens(), image_save_as_cancel(), image_save_as_check(), image_save_as_draw(), image_save_as_exec(), image_save_as_invoke(), image_save_as_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, WM_FILESEL_SHOW_PROPS, and WM_operator_properties_filesel().
Referenced by image_operatortypes().
| void IMAGE_OT_save_sequence | ( | wmOperatorType * | ot | ) |
Definition at line 2335 of file image_ops.cc.
References image_from_context_has_data_poll(), image_save_sequence_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_tile_add | ( | wmOperatorType * | ot | ) |
Definition at line 4402 of file image_ops.cc.
References BLT_I18NCONTEXT_ID_IMAGE, def_fill_tile(), IMA_UDIM_MAX, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_int(), RNA_def_property_translation_context(), RNA_def_string(), tile_add_draw(), tile_add_exec(), tile_add_invoke(), and tile_add_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_tile_fill | ( | wmOperatorType * | ot | ) |
Definition at line 4528 of file image_ops.cc.
References def_fill_tile(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, tile_fill_draw(), tile_fill_exec(), tile_fill_invoke(), and tile_fill_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_tile_remove | ( | wmOperatorType * | ot | ) |
Definition at line 4466 of file image_ops.cc.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, tile_remove_exec(), and tile_remove_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_unpack | ( | wmOperatorType * | ot | ) |
Definition at line 3540 of file image_ops.cc.
References image_pack_poll(), image_unpack_exec(), image_unpack_invoke(), MAX_ID_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PF_USE_LOCAL, RNA_def_enum(), RNA_def_string(), and rna_enum_unpack_method_items.
Referenced by image_operatortypes().
| void IMAGE_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 854 of file image_ops.cc.
References image_view_all_exec(), OPTYPE_LOCK_BYPASS, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and space_image_main_region_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_view_center_cursor | ( | wmOperatorType * | ot | ) |
Definition at line 936 of file image_ops.cc.
References ED_space_image_cursor_poll(), ot, and view_center_cursor_exec().
Referenced by image_operatortypes().
| void IMAGE_OT_view_cursor_center | ( | wmOperatorType * | ot | ) |
Definition at line 900 of file image_ops.cc.
References ED_space_image_cursor_poll(), ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and view_cursor_center_exec().
Referenced by image_operatortypes().
| void IMAGE_OT_view_pan | ( | wmOperatorType * | ot | ) |
Definition at line 475 of file image_ops.cc.
References FLT_MAX, image_view_pan_cancel(), image_view_pan_exec(), image_view_pan_invoke(), image_view_pan_modal(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_LOCK_BYPASS, ot, RNA_def_float_vector(), and space_image_main_region_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 1007 of file image_ops.cc.
References image_view_selected_exec(), image_view_selected_poll(), and ot.
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom | ( | wmOperatorType * | ot | ) |
Definition at line 736 of file image_ops.cc.
References FLT_MAX, image_view_zoom_cancel(), image_view_zoom_exec(), image_view_zoom_invoke(), image_view_zoom_modal(), OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_LOCK_BYPASS, ot, PROP_HIDDEN, RNA_def_float(), RNA_def_property_flag(), space_image_main_region_poll(), and WM_operator_properties_use_cursor_init().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_border | ( | wmOperatorType * | ot | ) |
Definition at line 1235 of file image_ops.cc.
References image_view_zoom_border_exec(), ot, space_image_main_region_poll(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_gesture_box_zoom().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_in | ( | wmOperatorType * | ot | ) |
Definition at line 1055 of file image_ops.cc.
References FLT_MAX, image_view_zoom_in_exec(), image_view_zoom_in_invoke(), OPTYPE_LOCK_BYPASS, ot, PROP_HIDDEN, RNA_def_float_vector(), RNA_def_property_flag(), and space_image_main_region_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_out | ( | wmOperatorType * | ot | ) |
Definition at line 1116 of file image_ops.cc.
References FLT_MAX, image_view_zoom_out_exec(), image_view_zoom_out_invoke(), OPTYPE_LOCK_BYPASS, ot, PROP_HIDDEN, RNA_def_float_vector(), RNA_def_property_flag(), and space_image_main_region_poll().
Referenced by image_operatortypes().
| void IMAGE_OT_view_zoom_ratio | ( | wmOperatorType * | ot | ) |
Definition at line 1169 of file image_ops.cc.
References FLT_MAX, image_view_zoom_ratio_exec(), OPTYPE_LOCK_BYPASS, ot, RNA_def_float(), and space_image_main_region_poll().
Referenced by image_operatortypes().
Gets active viewer user.
Definition at line 58 of file image_buttons.cc.
References CMP_NODE_VIEWER, and NODE_DO_OUTPUT.
| bool space_image_main_region_poll | ( | bContext * | C | ) |
Definition at line 332 of file image_ops.cc.
References C, and CTX_wm_space_image().
Referenced by change_frame_poll(), IMAGE_OT_read_viewlayers(), IMAGE_OT_sample_line(), IMAGE_OT_view_all(), IMAGE_OT_view_pan(), IMAGE_OT_view_zoom(), IMAGE_OT_view_zoom_border(), IMAGE_OT_view_zoom_in(), IMAGE_OT_view_zoom_out(), IMAGE_OT_view_zoom_ratio(), and image_view_selected_poll().
|
extern |
Definition at line 447 of file space_image.cc.
Referenced by bpy_context_members(), and image_context().