Blender V5.3
editmesh_path.cc File Reference
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_windowmanager_types.h"
#include "BLI_linklist.hh"
#include "BLI_math_vector_c.hh"
#include "BKE_context.hh"
#include "BKE_customdata.hh"
#include "BKE_editmesh.hh"
#include "BKE_layer.hh"
#include "BKE_mesh_types.hh"
#include "BKE_report.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "ED_select_utils.hh"
#include "ED_uvedit.hh"
#include "ED_view3d.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "bmesh.hh"
#include "bmesh_tools.hh"
#include "DEG_depsgraph.hh"
#include "mesh_intern.hh"

Go to the source code of this file.

Classes

struct  blender::PathSelectParams
struct  blender::UserData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Vert Path
static bool blender::verttag_filter_cb (BMVert *v, void *)
static bool blender::verttag_test_cb (BMVert *v, void *)
static void blender::verttag_set_cb (BMVert *v, bool val, void *user_data_v)
static void blender::mouse_mesh_shortest_path_vert (Scene *, Object *obedit, const PathSelectParams *op_params, BMVert *v_act, BMVert *v_dst)
Edge Path
static bool blender::edgetag_filter_cb (BMEdge *e, void *)
static bool blender::edgetag_test_cb (BMEdge *e, void *user_data_v)
static void blender::edgetag_set_cb (BMEdge *e, bool val, void *user_data_v)
static void blender::edgetag_ensure_cd_flag (Mesh *mesh, const char edge_mode)
static void blender::mouse_mesh_shortest_path_edge (Scene *scene, Object *obedit, const PathSelectParams *op_params, BMEdge *e_act, BMEdge *e_dst)
Face Path
static bool blender::facetag_filter_cb (BMFace *f, void *)
static bool blender::facetag_test_cb (BMFace *f, void *)
static void blender::facetag_set_cb (BMFace *f, bool val, void *user_data_v)
static void blender::mouse_mesh_shortest_path_face (Scene *, Object *obedit, const PathSelectParams *op_params, BMFace *f_act, BMFace *f_dst)
Main Operator for vert/edge/face tag
static bool blender::edbm_shortest_path_pick_ex (Scene *scene, Object *obedit, const PathSelectParams *op_params, BMElem *ele_src, BMElem *ele_dst)
static wmOperatorStatus blender::edbm_shortest_path_pick_exec (bContext *C, wmOperator *op)
static BMElem * blender::edbm_elem_find_nearest (ViewContext *vc, const char htype)
static BMElem * blender::edbm_elem_active_elem_or_face_get (BMesh *bm)
static wmOperatorStatus blender::edbm_shortest_path_pick_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::MESH_OT_shortest_path_pick (wmOperatorType *ot)
Select Path Between Existing Selection
static wmOperatorStatus blender::edbm_shortest_path_select_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_shortest_path_select (wmOperatorType *ot)

Path Select Struct & Properties

enum  {
  blender::EDGE_MODE_SELECT = 0 , blender::EDGE_MODE_TAG_SEAM = 1 , blender::EDGE_MODE_TAG_SHARP = 2 , blender::EDGE_MODE_TAG_CREASE = 3 ,
  blender::EDGE_MODE_TAG_BEVEL = 4 , blender::EDGE_MODE_TAG_FREESTYLE = 5
}
static void blender::path_select_properties (wmOperatorType *ot)
static void blender::path_select_params_from_op (wmOperator *op, ToolSettings *ts, PathSelectParams *op_params)
static bool blender::path_select_poll_property (const bContext *C, wmOperator *, const PropertyRNA *prop)