|
Blender V5.0
|
#include "BLI_sys_types.h"Go to the source code of this file.
Enumerations | |
| enum | { DEL_NEXT_CHAR , DEL_PREV_CHAR , DEL_NEXT_WORD , DEL_PREV_WORD , DEL_SELECTION , DEL_NEXT_SEL , DEL_PREV_SEL } |
| enum | { CASE_LOWER , CASE_UPPER } |
| enum | { LINE_BEGIN , LINE_END , TEXT_BEGIN , TEXT_END , PREV_CHAR , NEXT_CHAR , PREV_WORD , NEXT_WORD , PREV_LINE , NEXT_LINE , PREV_PAGE , NEXT_PAGE } |
| enum | eVisible_Types { HIDDEN = true , VISIBLE = false } |
| enum | eEndPoint_Types { FIRST = true , LAST = false } |
| enum | eCurveElem_Types { CURVE_VERTEX = 0 , CURVE_SEGMENT } |
| anonymous enum |
| Enumerator | |
|---|---|
| LINE_BEGIN | |
| LINE_END | |
| TEXT_BEGIN | |
| TEXT_END | |
| PREV_CHAR | |
| NEXT_CHAR | |
| PREV_WORD | |
| NEXT_WORD | |
| PREV_LINE | |
| NEXT_LINE | |
| PREV_PAGE | |
| NEXT_PAGE | |
Definition at line 41 of file curve_intern.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| DEL_NEXT_CHAR | |
| DEL_PREV_CHAR | |
| DEL_NEXT_WORD | |
| DEL_PREV_WORD | |
| DEL_SELECTION | |
| DEL_NEXT_SEL | |
| DEL_PREV_SEL | |
Definition at line 31 of file curve_intern.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| CASE_LOWER | |
| CASE_UPPER | |
Definition at line 40 of file curve_intern.hh.
| enum eCurveElem_Types |
| Enumerator | |
|---|---|
| CURVE_VERTEX | |
| CURVE_SEGMENT | |
Definition at line 66 of file curve_intern.hh.
| enum eEndPoint_Types |
| Enumerator | |
|---|---|
| FIRST | |
| LAST | |
Definition at line 61 of file curve_intern.hh.
| enum eVisible_Types |
| Enumerator | |
|---|---|
| HIDDEN | |
| VISIBLE | |
Definition at line 56 of file curve_intern.hh.
| void CURVE_OT_cyclic_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 5986 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), toggle_cyclic_exec(), and toggle_cyclic_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_de_select_first | ( | wmOperatorType * | ot | ) |
Definition at line 506 of file editcurve_select.cc.
References de_select_first_exec(), ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_de_select_last | ( | wmOperatorType * | ot | ) |
Definition at line 538 of file editcurve_select.cc.
References de_select_last_exec(), ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_decimate | ( | wmOperatorType * | ot | ) |
Definition at line 6850 of file editcurve.cc.
References curve_decimate_exec(), ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_factor().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 6602 of file editcurve.cc.
References curve_delete_exec(), curve_delete_type_items, ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, PROP_SKIP_SAVE, rna_curve_delete_type_itemf(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), and WM_menu_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_dissolve_verts | ( | wmOperatorType * | ot | ) |
Definition at line 6758 of file editcurve.cc.
References curve_dissolve_exec(), ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_draw | ( | wmOperatorType * | ot | ) |
Definition at line 1213 of file editcurve_paint.cc.
References BLT_I18NCONTEXT_AMOUNT, curve_draw_cancel(), curve_draw_exec(), curve_draw_invoke(), curve_draw_modal(), CURVE_PAINT_FIT_METHOD_REFIT, DEG2RADF, ED_operator_editcurve(), M_PI, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_ANGLE, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_collection_runtime(), RNA_def_enum(), RNA_def_float_distance(), RNA_def_property_flag(), RNA_def_property_subtype(), RNA_def_property_translation_context(), RNA_def_property_ui_range(), and rna_enum_curve_fit_method_items.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 6063 of file editcurve.cc.
References duplicate_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_extrude | ( | wmOperatorType * | ot | ) |
Definition at line 5825 of file editcurve.cc.
References curve_extrude_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_transform_mode_type_items, and blender::ed::transform::TFM_TRANSLATION.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_handle_type_set | ( | wmOperatorType * | ot | ) |
Definition at line 4051 of file editcurve.cc.
References ED_operator_editcurve(), HD_AUTO, HD_VECT, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), set_handle_type_exec(), and WM_menu_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_hide | ( | wmOperatorType * | ot | ) |
Definition at line 3362 of file editcurve.cc.
References ED_operator_editsurfcurve(), hide_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_make_segment | ( | wmOperatorType * | ot | ) |
Definition at line 4818 of file editcurve.cc.
References ED_operator_editsurfcurve(), make_segment_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_match_texture_space | ( | wmOperatorType * | ot | ) |
Definition at line 7211 of file editcurve.cc.
References match_texture_space_exec(), match_texture_space_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_normals_make_consistent | ( | wmOperatorType * | ot | ) |
Definition at line 4121 of file editcurve.cc.
References curve_normals_make_consistent_exec(), ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_pen | ( | wmOperatorType * | ot | ) |
Definition at line 1830 of file editcurve_pen.cc.
References curve_pen_invoke(), curve_pen_modal(), ED_operator_editcurve(), HD_VECT, OFF, OPTYPE_UNDO, ot, prop_close_spline_method, prop_handle_types, RNA_def_boolean(), RNA_def_enum(), and WM_operator_properties_mouse_select().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_primitive_bezier_circle_add | ( | wmOperatorType * | ot | ) |
Definition at line 605 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_bezier_circle_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_primitive_bezier_curve_add | ( | wmOperatorType * | ot | ) |
Definition at line 582 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_bezier_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_primitive_nurbs_circle_add | ( | wmOperatorType * | ot | ) |
Definition at line 651 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_circle_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_primitive_nurbs_curve_add | ( | wmOperatorType * | ot | ) |
Definition at line 628 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_curve_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_primitive_nurbs_path_add | ( | wmOperatorType * | ot | ) |
Definition at line 674 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_curve_path_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_radius_set | ( | wmOperatorType * | ot | ) |
Definition at line 2776 of file editcurve.cc.
References ED_operator_editsurfcurve(), OBJECT_ADD_SIZE_MAXF, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float(), set_radius_exec(), and WM_operator_props_popup().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_reveal | ( | wmOperatorType * | ot | ) |
Definition at line 3441 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, reveal_exec(), and RNA_def_boolean().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 607 of file editcurve_select.cc.
References de_select_all_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_select_all().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 1220 of file editcurve_select.cc.
References curve_select_less_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 667 of file editcurve_select.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, select_linked_exec(), and select_linked_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_linked_pick | ( | wmOperatorType * | ot | ) |
Definition at line 740 of file editcurve_select.cc.
References ED_operator_editsurfcurve_region_view3d(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and select_linked_pick_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 1003 of file editcurve_select.cc.
References curve_select_more_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_next | ( | wmOperatorType * | ot | ) |
Definition at line 854 of file editcurve_select.cc.
References ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and select_next_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_nth | ( | wmOperatorType * | ot | ) |
Definition at line 1464 of file editcurve_select.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, select_nth_exec(), and WM_operator_properties_checker_interval().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_previous | ( | wmOperatorType * | ot | ) |
Definition at line 893 of file editcurve_select.cc.
References ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and select_previous_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_random | ( | wmOperatorType * | ot | ) |
Definition at line 1334 of file editcurve_select.cc.
References curve_select_random_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_select_random().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_row | ( | wmOperatorType * | ot | ) |
Definition at line 813 of file editcurve_select.cc.
References ED_operator_editsurf(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and select_row_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_select_similar | ( | wmOperatorType * | ot | ) |
Definition at line 1823 of file editcurve_select.cc.
References curve_prop_similar_compare_types, curve_prop_similar_types, curve_select_similar_exec(), ED_operator_editsurfcurve(), FLT_MAX, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_float(), SIM_CMP_EQ, SIMCURHAND_WEIGHT, and WM_menu_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_separate | ( | wmOperatorType * | ot | ) |
Definition at line 1504 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and separate_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_shade_flat | ( | wmOperatorType * | ot | ) |
Definition at line 6925 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and shade_smooth_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_shade_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 6910 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and shade_smooth_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_shortest_path_pick | ( | wmOperatorType * | ot | ) |
Definition at line 2062 of file editcurve_select.cc.
References ED_operator_editsurfcurve_region_view3d(), edcu_shortest_path_pick_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2940 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and smooth_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_smooth_radius | ( | wmOperatorType * | ot | ) |
Definition at line 3216 of file editcurve.cc.
References curve_smooth_radius_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_smooth_tilt | ( | wmOperatorType * | ot | ) |
Definition at line 3265 of file editcurve.cc.
References curve_smooth_tilt_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_smooth_weight | ( | wmOperatorType * | ot | ) |
Definition at line 3166 of file editcurve.cc.
References curve_smooth_weight_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_spin | ( | wmOperatorType * | ot | ) |
Definition at line 5200 of file editcurve.cc.
References ED_operator_editsurf(), OBJECT_ADD_SIZE_MAXF, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float_vector(), RNA_def_float_vector_xyz(), spin_exec(), and spin_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_spline_type_set | ( | wmOperatorType * | ot | ) |
Definition at line 3986 of file editcurve.cc.
References CU_BEZIER, CU_NURBS, CU_POLY, ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), set_spline_type_exec(), and WM_menu_invoke().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_spline_weight_set | ( | wmOperatorType * | ot | ) |
Definition at line 2704 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_float_factor(), set_goal_weight_exec(), and WM_operator_props_popup().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_split | ( | wmOperatorType * | ot | ) |
Definition at line 1577 of file editcurve.cc.
References curve_split_exec(), ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_subdivide | ( | wmOperatorType * | ot | ) |
Definition at line 3905 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and subdivide_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_switch_direction | ( | wmOperatorType * | ot | ) |
Definition at line 2645 of file editcurve.cc.
References ED_operator_editsurfcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and switch_direction_exec().
Referenced by ED_operatortypes_curve().
| void CURVE_OT_tilt_clear | ( | wmOperatorType * | ot | ) |
Definition at line 7124 of file editcurve.cc.
References clear_tilt_exec(), ED_operator_editcurve(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void CURVE_OT_vertex_add | ( | wmOperatorType * | ot | ) |
Definition at line 5754 of file editcurve.cc.
References add_vertex_exec(), add_vertex_invoke(), ED_operator_editcurve(), OBJECT_ADD_SIZE_MAXF, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float_vector_xyz().
Referenced by ED_operatortypes_curve().
| wmKeyMap * curve_pen_modal_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1506 of file editcurve_pen.cc.
References wmKeyMap::modal_items, PEN_MODAL_FREE_ALIGN_TOGGLE, PEN_MODAL_LINK_HANDLES, PEN_MODAL_LOCK_ANGLE, PEN_MODAL_MOVE_ADJACENT, PEN_MODAL_MOVE_ENTIRE, WM_modalkeymap_assign(), WM_modalkeymap_ensure(), and WM_modalkeymap_find().
Referenced by ED_keymap_curve().
Definition at line 5854 of file editcurve.cc.
References Nurb::bezt, BEZT_ISSEL_ANY_HIDDENHANDLES, BKE_nurb_handles_calc(), BKE_nurb_knot_calc_u(), BKE_nurb_knot_calc_v(), Nurb::bp, CU_BEZIER, CU_NURB_CYCLIC, CU_NURBS, CU_POLY, BPoint::f1, Nurb::flagu, Nurb::flagv, Nurb::knotsu, LISTBASE_FOREACH, Nurb::pntsu, Nurb::pntsv, SELECT, and Nurb::type.
Referenced by make_cyclic_if_endpoints(), and toggle_cyclic_exec().
Definition at line 547 of file editcurve.cc.
References BLI_ghash_insert(), BLI_ghash_len(), BLI_ghash_ptr_new_ex(), BLI_ghashIterator_getKey(), BLI_ghashIterator_getValue(), GHASH_ITER, MEM_dupallocN(), MEM_mallocN(), and CVKeyIndex::orig_cv.
Referenced by undocurve_from_editcurve(), and undocurve_to_editcurve().
Definition at line 358 of file editcurve.cc.
References Nurb::bezt, Nurb::bp, keyIndex_updateBezt(), keyIndex_updateBP(), Nurb::pntsu, and Nurb::pntsv.
Referenced by undocurve_from_editcurve(), and undocurve_to_editcurve().
| void ED_curve_nurb_vert_selected_find | ( | Curve * | cu, |
| View3D * | v3d, | ||
| Nurb ** | r_nu, | ||
| BezTriple ** | r_bezt, | ||
| BPoint ** | r_bp ) |
Definition at line 151 of file editcurve_query.cc.
References BEZT_ISSEL_ANY_HIDDENHANDLES, CU_BEZIER, Curve::editnurb, ELEM, BPoint::f1, LISTBASE_FOREACH, EditNurb::nurbs, and SELECT.
Referenced by add_vertex_invoke().
| bool ED_curve_pick_vert | ( | ViewContext * | vc, |
| short | sel, | ||
| Nurb ** | r_nurb, | ||
| BezTriple ** | r_bezt, | ||
| BPoint ** | r_bp, | ||
| short * | r_handle, | ||
| Base ** | r_base ) |
Definition at line 133 of file editcurve_query.cc.
References ED_curve_pick_vert_ex(), and ED_view3d_select_dist_px().
Referenced by edcu_shortest_path_pick_invoke(), and select_linked_pick_invoke().
| bool ED_curve_pick_vert_ex | ( | ViewContext * | vc, |
| bool | select, | ||
| int | dist_px, | ||
| Nurb ** | r_nurb, | ||
| BezTriple ** | r_bezt, | ||
| BPoint ** | r_bp, | ||
| short * | r_handle, | ||
| Base ** | r_base ) |
Pick the nearest r_nurb and r_bezt or r_bp.
| select | selected vertices have a disadvantage. |
| sel_dist_mul | A multiplier on the default select distance. |
| r_handle | For bezier triples, set the handle index [0, 1, 2]. |
Definition at line 91 of file editcurve_query.cc.
References BKE_view_layer_array_from_bases_in_edit_mode_unique_data(), curve_pick_vert__do_closest(), data, ED_view3d_init_mats_rv3d(), ED_view3d_viewcontext_init_object(), ViewContext::mval, nurbs_foreachScreenVert(), ViewContext::obedit, ViewContext::rv3d, ViewContext::scene, SELECT, select, ViewContext::v3d, V3D_PROJ_TEST_CLIP_DEFAULT, and ViewContext::view_layer.
Referenced by ED_curve_editnurb_select_pick(), and ED_curve_pick_vert().
| void ed_dissolve_bez_segment | ( | BezTriple * | bezt_prev, |
| BezTriple * | bezt_next, | ||
| const Nurb * | nu, | ||
| const Curve * | cu, | ||
| const uint | span_len, | ||
| const uint | span_step[2] ) |
Definition at line 6640 of file editcurve.cc.
References Nurb::bezt, BKE_curve_forward_diff_bezier(), BLI_assert, ELEM, BezTriple::h1, BezTriple::h2, HD_ALIGN, HD_FREE, HD_VECT, MEM_freeN(), MEM_malloc_arrayN(), mod_i(), normalize_v3(), Nurb::pntsu, Curve::resolu, sub_v3_v3v3(), and BezTriple::vec.
Referenced by curve_dissolve_exec(), and delete_point_under_mouse().
| int ed_editcurve_addvert | ( | Curve * | cu, |
| EditNurb * | editnurb, | ||
| View3D * | v3d, | ||
| const float | location_init[3] ) |
Definition at line 5484 of file editcurve.cc.
References add_v3_v3(), add_v3_v3v3(), Nurb::bezt, BEZT_ISSEL_ANY_HIDDENHANDLES, BEZT_SEL_ALL, BKE_curve_nurb_active_get(), BKE_nurb_bezierPoints_add(), BKE_nurb_copy(), BKE_nurb_handle_calc_simple_auto(), BKE_nurb_handles_calc(), BKE_nurb_knot_calc_u(), BLI_addtail(), Nurb::bp, copy_v3_v3(), CU_BEZIER, CU_IS_2D, CU_NURB_CYCLIC, CU_SMOOTH, ed_editcurve_extrude(), ELEM, BPoint::f1, Nurb::flag, Nurb::flagu, BezTriple::h1, BezTriple::h2, HD_AUTO, i, LISTBASE_FOREACH, MEM_callocN(), mul_v3_fl(), EditNurb::nurbs, Nurb::orderu, Nurb::pntsu, Curve::resolu, Nurb::resolu, SELECT, sub_v3_v3v3(), Nurb::type, BezTriple::vec, BPoint::vec, and zero_v3().
Referenced by add_vertex_exec(), and extrude_points_from_selected_vertices().
| bool ed_editnurb_extrude_flag | ( | EditNurb * | editnurb, |
| uint8_t | flag ) |
Only for OB_SURF.
Definition at line 2087 of file editcurve.cc.
References BKE_nurb_knot_calc_u(), BKE_nurb_knot_calc_v(), Nurb::bp, ED_curve_bpcpy(), editnurb_find_max_points_num(), flag, HIDDEN, i, LISTBASE_FOREACH, max, MEM_freeN(), MEM_malloc_arrayN(), EditNurb::nurbs, Nurb::orderv, Nurb::pntsu, Nurb::pntsv, sel_to_copy_ints(), select_bpoints(), and true.
Referenced by curve_extrude_exec(), ED_curve_add_nurbs_primitive(), and ed_editnurb_spin().
| bool ed_editnurb_spin | ( | float | viewmat[4][4], |
| View3D * | v3d, | ||
| Object * | obedit, | ||
| const float | axis[3], | ||
| const float | cent[3] ) |
| axis | is in world-space. |
| cent | is in object-space. |
Definition at line 5049 of file editcurve.cc.
References axis_angle_to_mat3(), BKE_nurb_knot_calc_v(), copy_m3_m4(), CU_NURB_BEZIER, CU_NURB_CYCLIC, CU_NURB_ENDPOINT, Object::data, ED_curve_nurb_select_check(), ed_editnurb_extrude_flag(), Curve::editnurb, Nurb::flagv, float, invert_m3_m3(), LISTBASE_FOREACH, M_PI_4, M_SQRT2, mul_m3_m3m3(), object_editcurve_get(), Nurb::orderv, rotateflagNurb(), SELECT, unit_m3(), and weightflagNurb().
Referenced by ED_curve_add_nurbs_primitive(), and spin_exec().
| void ed_editnurb_translate_flag | ( | ListBase * | editnurb, |
| uint8_t | flag, | ||
| const float | vec[3], | ||
| bool | is_2d ) |
Definition at line 1679 of file editcurve.cc.
References add_v3_v3(), Nurb::bezt, BKE_nurb_project_2d(), Nurb::bp, CU_BEZIER, BezTriple::f1, BPoint::f1, BezTriple::f2, BezTriple::f3, flag, LISTBASE_FOREACH, Nurb::pntsu, Nurb::pntsv, Nurb::type, BezTriple::vec, and BPoint::vec.
Referenced by ED_curve_add_nurbs_primitive().
| void FONT_OT_case_set | ( | wmOperatorType * | ot | ) |
Definition at line 2350 of file editfont.cc.
References BLT_I18NCONTEXT_ID_TEXT, case_items, CASE_LOWER, ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_property_translation_context(), and set_case_exec().
Referenced by ED_operatortypes_curve().
| void FONT_OT_case_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 2397 of file editfont.cc.
References ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and toggle_case_exec().
Referenced by ED_operatortypes_curve().
| void FONT_OT_change_character | ( | wmOperatorType * | ot | ) |
Definition at line 1638 of file editfont.cc.
References change_character_exec(), ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_int().
Referenced by ED_operatortypes_curve().
| void FONT_OT_change_spacing | ( | wmOperatorType * | ot | ) |
Definition at line 1580 of file editfont.cc.
References change_spacing_exec(), ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_float().
Referenced by ED_operatortypes_curve().
| void FONT_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1831 of file editfont.cc.
References DEL_PREV_CHAR, delete_exec(), delete_type_items, ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
Referenced by ED_operatortypes_curve().
| void FONT_OT_line_break | ( | wmOperatorType * | ot | ) |
Definition at line 1685 of file editfont.cc.
References ED_operator_editfont(), line_break_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void FONT_OT_move | ( | wmOperatorType * | ot | ) |
Definition at line 1485 of file editfont.cc.
References ED_operator_editfont(), LINE_BEGIN, move_exec(), move_type_items, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
Referenced by ED_operatortypes_curve().
| void FONT_OT_move_select | ( | wmOperatorType * | ot | ) |
Definition at line 1516 of file editfont.cc.
References ED_operator_editfont(), LINE_BEGIN, move_select_exec(), move_type_items, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_enum().
Referenced by ED_operatortypes_curve().
| void FONT_OT_open | ( | wmOperatorType * | ot | ) |
Definition at line 2506 of file editfont.cc.
References FILE_IMGDISPLAY, FILE_OPENFILE, FILE_SORT_ALPHA, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_FTFONT, font_open_cancel(), font_open_exec(), open_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, WM_FILESEL_FILEPATH, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_curve().
| void FONT_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 1073 of file editfont.cc.
References ED_operator_editfont(), font_select_all_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void FONT_OT_select_word | ( | wmOperatorType * | ot | ) |
Definition at line 2131 of file editfont.cc.
References ED_operator_editfont(), font_select_word_exec(), and ot.
Referenced by ED_operatortypes_curve().
| void FONT_OT_selection_set | ( | wmOperatorType * | ot | ) |
Definition at line 2094 of file editfont.cc.
References ED_operator_editfont(), font_selection_set_invoke(), font_selection_set_modal(), and ot.
Referenced by ED_operatortypes_curve().
| void FONT_OT_style_set | ( | wmOperatorType * | ot | ) |
Definition at line 988 of file editfont.cc.
References CU_CHINFO_BOLD, ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), set_style_exec(), and style_items.
Referenced by ED_operatortypes_curve().
| void FONT_OT_style_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 1029 of file editfont.cc.
References CU_CHINFO_BOLD, ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), style_items, and toggle_style_exec().
Referenced by ED_operatortypes_curve().
| void FONT_OT_text_copy | ( | wmOperatorType * | ot | ) |
Definition at line 1129 of file editfont.cc.
References copy_text_exec(), ED_operator_editfont(), and ot.
Referenced by ED_operatortypes_curve().
| void FONT_OT_text_cut | ( | wmOperatorType * | ot | ) |
Definition at line 1165 of file editfont.cc.
References cut_text_exec(), ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void FONT_OT_text_insert | ( | wmOperatorType * | ot | ) |
Definition at line 1971 of file editfont.cc.
References ED_operator_editfont(), insert_text_exec(), insert_text_invoke(), OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_string().
Referenced by ED_operatortypes_curve().
| void FONT_OT_text_insert_unicode | ( | wmOperatorType * | ot | ) |
Definition at line 793 of file editfont.cc.
References ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and text_insert_unicode_invoke().
Referenced by ED_operatortypes_curve().
| void FONT_OT_text_paste | ( | wmOperatorType * | ot | ) |
Definition at line 1271 of file editfont.cc.
References ED_operator_editfont(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, paste_text_exec(), PROP_SKIP_SAVE, RNA_def_boolean(), and RNA_def_property_flag().
Referenced by ED_operatortypes_curve().
| void FONT_OT_text_paste_from_file | ( | wmOperatorType * | ot | ) |
Definition at line 637 of file editfont.cc.
References ED_operator_editfont(), FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_TEXT, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paste_from_file_exec(), paste_from_file_invoke(), WM_FILESEL_FILEPATH, and WM_operator_properties_filesel().
Referenced by ED_operatortypes_curve().
| void FONT_OT_textbox_add | ( | wmOperatorType * | ot | ) |
Definition at line 2169 of file editfont.cc.
References ED_operator_object_active_editable_font(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and textbox_add_exec().
Referenced by ED_operatortypes_curve().
| void FONT_OT_textbox_remove | ( | wmOperatorType * | ot | ) |
Definition at line 2213 of file editfont.cc.
References ED_operator_object_active_editable_font(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_int(), and textbox_remove_exec().
Referenced by ED_operatortypes_curve().
| void FONT_OT_unlink | ( | wmOperatorType * | ot | ) |
Definition at line 2559 of file editfont.cc.
References font_unlink_exec(), and ot.
Referenced by ED_operatortypes_curve().
| bool select_beztriple | ( | BezTriple * | bezt, |
| bool | selstatus, | ||
| uint8_t | flag, | ||
| eVisible_Types | hidden ) |
Returns 1 in case (de)selection was successful.
Definition at line 51 of file editcurve_select.cc.
References BezTriple::f1, BezTriple::f2, BezTriple::f3, flag, HIDDEN, and BezTriple::hide.
Referenced by adduplicateflagNurb(), curve_delete_segments(), curve_nurb_select_similar_type(), curve_select_less(), curve_select_random_exec(), curve_select_shortest_path_curve(), curve_select_shortest_path_surf(), ED_curve_editnurb_select_pick(), hide_exec(), reveal_exec(), select_adjacent_cp(), select_linked_pick_invoke(), select_nth_bezt(), selectend_nurb(), and swap_selection_beztriple().
| bool select_bpoint | ( | BPoint * | bp, |
| bool | selstatus, | ||
| uint8_t | flag, | ||
| bool | hidden ) |
Returns 1 in case (de)selection was successful.
Definition at line 70 of file editcurve_select.cc.
References BPoint::f1, flag, and BPoint::hide.
Referenced by adduplicateflagNurb(), curve_delete_segments(), curve_nurb_select_similar_type(), curve_select_less(), curve_select_more(), curve_select_random_exec(), curve_select_shortest_path_curve(), curve_select_shortest_path_surf(), ED_curve_editnurb_select_pick(), hide_exec(), merge_2_nurb(), reveal_exec(), select_adjacent_cp(), select_bpoints(), select_linked_pick_invoke(), select_nth_bp(), select_row_exec(), selectend_nurb(), and swap_selection_bpoint().
| void SURFACE_OT_primitive_nurbs_surface_circle_add | ( | wmOperatorType * | ot | ) |
Definition at line 721 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_surface_circle_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void SURFACE_OT_primitive_nurbs_surface_curve_add | ( | wmOperatorType * | ot | ) |
Definition at line 698 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_surface_curve_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void SURFACE_OT_primitive_nurbs_surface_cylinder_add | ( | wmOperatorType * | ot | ) |
Definition at line 767 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_surface_cylinder_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void SURFACE_OT_primitive_nurbs_surface_sphere_add | ( | wmOperatorType * | ot | ) |
Definition at line 790 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_surface_sphere_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void SURFACE_OT_primitive_nurbs_surface_surface_add | ( | wmOperatorType * | ot | ) |
Definition at line 744 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_surface_surface_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().
| void SURFACE_OT_primitive_nurbs_surface_torus_add | ( | wmOperatorType * | ot | ) |
Definition at line 813 of file editcurve_add.cc.
References blender::ed::object::add_generic_props(), add_primitive_nurbs_surface_torus_exec(), blender::ed::object::add_unit_props_radius(), ED_operator_scene_editable(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by ED_operatortypes_curve().