|
Blender V4.3
|
#include "DNA_curve_types.h"#include "DNA_object_types.h"#include "BLI_linklist.h"#include "BLI_listbase.h"#include "BLI_math_vector.h"#include "BKE_context.hh"#include "BKE_curve.hh"#include "BKE_customdata.hh"#include "BKE_editmesh.hh"#include "BKE_layer.hh"#include "BKE_lib_id.hh"#include "BKE_mesh.hh"#include "BKE_object.hh"#include "BKE_object_types.hh"#include "BKE_report.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "MEM_guardedalloc.h"#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 | |
| static LinkNode * | knifeproject_poly_from_object (const bContext *C, Object *ob, LinkNode *polys) |
| static int | knifeproject_exec (bContext *C, wmOperator *op) |
| void | MESH_OT_knife_project (wmOperatorType *ot) |
|
static |
Definition at line 106 of file editmesh_knife_project.cc.
References BKE_editmesh_from_object(), BKE_object_is_in_editmode(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BLI_linklist_freeN(), BMEditMesh::bm, BM_EDGE, BM_ELEM_SELECT, BM_ELEM_TAG, BM_FACE, BM_mesh_elem_hflag_disable_all(), BM_mesh_elem_hflag_enable_test(), BM_mesh_select_mode_flush(), BM_VERT, CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), ED_view3d_viewcontext_init_object(), EDBM_mesh_knife(), EDBM_selectmode_disable(), em_setup_viewcontext(), knifeproject_poly_from_object(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, SCE_SELECT_EDGE, SCE_SELECT_VERTEX, ViewContext::scene, ViewContext::v3d, and ViewContext::view_layer.
Referenced by MESH_OT_knife_project().
|
static |
Definition at line 45 of file editmesh_knife_project.cc.
References BKE_id_free(), BKE_mesh_new_nomain_from_curve(), BKE_mesh_to_curve_nurblist(), BKE_nurbList_free(), BKE_object_get_evaluated_mesh(), BLI_linklist_prepend(), copy_v2_v2(), CTX_data_ensure_evaluated_depsgraph(), CTX_wm_region(), CU_NURB_CYCLIC, DEG_get_evaluated_object(), depsgraph, ED_view3d_ob_project_mat_get(), ED_view3d_project_float_v2_m4(), ELEM, ListBase::first, float, is_cyclic(), LISTBASE_FOREACH, MEM_mallocN, OB_CURVES_LEGACY, OB_FONT, OB_MESH, OB_SURF, Object::runtime, Object::type, and BPoint::vec.
Referenced by knifeproject_exec().
| void MESH_OT_knife_project | ( | wmOperatorType * | ot | ) |
Definition at line 154 of file editmesh_knife_project.cc.
References wmOperatorType::description, ED_operator_editmesh_region_view3d(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, knifeproject_exec(), wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mesh().