|
Blender V4.5
|
Go to the source code of this file.
Variables | |
| const char * | image_context_dir [] |
Definition at line 483 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_COMP_F32, GPU_FETCH_FLOAT, 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, 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 442 of file image_draw.cc.
References C, CTX_wm_space_image(), draw_render_info(), ED_space_image(), ED_space_image_get_zoom(), IMA_SRC_VIEWER, IMA_TYPE_R_RESULT, SpaceImage::iuser, ImageUser::scene, Image::source, and Image::type.
Referenced by image_main_region_draw().
| void draw_image_sample_line | ( | SpaceImage * | sima | ) |
Definition at line 411 of file image_draw.cc.
References Histogram::co, Histogram::flag, GPU_COMP_F32, GPU_FETCH_FLOAT, 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().
| void image_buttons_register | ( | ARegionType * | art | ) |
Definition at line 1297 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(), and PanelType::translation_context.
Referenced by ED_spacetype_image().
| void IMAGE_OT_add_render_slot | ( | wmOperatorType * | ot | ) |
Definition at line 3901 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 4056 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 4212 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 3868 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 3044 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 3105 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 3766 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 3831 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 1696 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 2877 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 3219 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 1758 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 2726 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 1561 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 3440 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 4096 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 2536 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 3936 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 4176 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 1840 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 3354 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 2951 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 3646 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 3740 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 2239 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 2493 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 2097 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 2330 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 4410 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 4536 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 4474 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 3547 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 853 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 935 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 899 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 474 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 1006 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 735 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 1234 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 1054 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 1115 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 1168 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 56 of file image_buttons.cc.
References CMP_NODE_VIEWER, and NODE_DO_OUTPUT.
| bool space_image_main_region_poll | ( | bContext * | C | ) |
Definition at line 331 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 442 of file space_image.cc.
Referenced by bpy_context_members(), and image_context().