|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "DNA_object_types.h"#include "BKE_context.hh"#include "BKE_editmesh.hh"#include "BKE_layer.hh"#include "BKE_report.hh"#include "BLI_math_matrix.h"#include "BLI_math_rotation.h"#include "BLI_math_vector.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "WM_types.hh"#include "ED_mesh.hh"#include "ED_screen.hh"#include "ED_view3d.hh"#include "mesh_intern.hh"Go to the source code of this file.
Functions | |
Screw Operator | |
| static int | edbm_screw_exec (bContext *C, wmOperator *op) |
| static int | edbm_screw_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| void | MESH_OT_screw (wmOperatorType *ot) |
|
static |
Definition at line 39 of file editmesh_extrude_screw.cc.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), bm, BMEditMesh::bm, BM_ALL_NOLOOP, BM_EDGES_OF_VERT, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_ELEM, BM_ITER_MESH, BM_VERTS_OF_MESH, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), BMVert::co, copy_v3_v3(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), DEG2RADF, dot_v3v3(), EDBM_flag_disable_all(), EDBM_op_finish(), EDBM_op_init(), EDBM_update(), is_zero_v3(), mul_v3_fl(), mul_v3_m4v3(), negate_v3(), nor, OPERATOR_FINISHED, params, wmOperator::ptr, wmOperator::reports, RNA_float_get_array(), RNA_int_get(), RPT_ERROR, BMOperator::slots_out, steps, sub_v3_v3v3(), BMesh::totvertsel, and v2.
Referenced by edbm_screw_invoke(), and MESH_OT_screw().
|
static |
Definition at line 165 of file editmesh_extrude_screw.cc.
References CTX_data_scene(), ED_view3d_context_rv3d(), edbm_screw_exec(), wmOperator::ptr, RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), and RegionView3D::viewinv.
Referenced by MESH_OT_screw().
| void MESH_OT_screw | ( | wmOperatorType * | ot | ) |
Definition at line 185 of file editmesh_extrude_screw.cc.
References wmOperatorType::description, ED_operator_editmesh(), edbm_screw_exec(), edbm_screw_invoke(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_vector(), RNA_def_float_vector_xyz(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().