|
Blender
V2.93
|
Go to the source code of this file.
Namespaces | |
| blender | |
| blender::nodes | |
Functions | |
| Mesh * | triangulate_mesh (Mesh *mesh, const int quad_method, const int ngon_method, const int min_vertices, const int flag) |
| static void | geo_node_triangulate_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
| static void | geo_triangulate_init (bNodeTree *UNUSED(ntree), bNode *node) |
| static void | blender::nodes::geo_node_triangulate_exec (GeoNodeExecParams params) |
| void | register_node_type_geo_triangulate () |
Variables | |
| static bNodeSocketTemplate | geo_node_triangulate_in [] |
| static bNodeSocketTemplate | geo_node_triangulate_out [] |
|
static |
Definition at line 41 of file node_geo_triangulate.cc.
References ptr, and uiItemR().
Referenced by register_node_type_geo_triangulate().
Definition at line 47 of file node_geo_triangulate.cc.
References GEO_NODE_TRIANGULATE_NGON_BEAUTY, GEO_NODE_TRIANGULATE_QUAD_SHORTEDGE, and node.
Referenced by register_node_type_geo_triangulate().
| void register_node_type_geo_triangulate | ( | void | ) |
Definition at line 77 of file node_geo_triangulate.cc.
References bNodeType::draw_buttons, GEO_NODE_TRIANGULATE, blender::nodes::geo_node_triangulate_exec(), geo_node_triangulate_in, geo_node_triangulate_layout(), geo_node_triangulate_out, geo_node_type_base(), geo_triangulate_init(), bNodeType::geometry_node_execute, NODE_CLASS_GEOMETRY, node_type_init(), node_type_socket_templates(), and nodeRegisterType().
Referenced by registerGeometryNodes().
| Mesh* triangulate_mesh | ( | Mesh * | mesh, |
| const int | quad_method, | ||
| const int | ngon_method, | ||
| const int | min_vertices, | ||
| const int | flag | ||
| ) |
Definition at line 57 of file MOD_triangulate.c.
References BKE_mesh_calc_normals_split(), BKE_mesh_from_bmesh_for_eval_nomain(), BKE_mesh_set_custom_normals(), BKE_mesh_to_bmesh_ex(), BLI_assert, bm, BM_mesh_free(), BM_mesh_triangulate(), CD_FLAG_TEMPORARY, CD_MASK_NORMAL, CD_MASK_ORIGINDEX, CD_NORMAL, CustomData_clear_layer_flag(), CustomData_get_layer(), CustomData_set_layer_flag(), MEdge::flag, float(), Mesh::ldata, CustomData_MeshMasks::lmask, ME_EDGEDRAW, ME_EDGERENDER, mesh, MOD_TRIANGULATE_KEEP_CUSTOMLOOP_NORMALS, NULL, result, and CustomData_MeshMasks::vmask.
Referenced by blender::nodes::geo_node_triangulate_exec(), and modifyMesh().
|
static |
Definition at line 30 of file node_geo_triangulate.cc.
Referenced by register_node_type_geo_triangulate().
|
static |
Definition at line 36 of file node_geo_triangulate.cc.
Referenced by register_node_type_geo_triangulate().