Blender
V3.3
|
Functions | |
static void | node_declare (NodeDeclarationBuilder &b) |
static void | node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | node_init (bNodeTree *UNUSED(ntree), bNode *node) |
static int | circle_vert_total (const GeometryNodeMeshCircleFillType fill_type, const int verts_num) |
static int | circle_edge_total (const GeometryNodeMeshCircleFillType fill_type, const int verts_num) |
static int | circle_corner_total (const GeometryNodeMeshCircleFillType fill_type, const int verts_num) |
static int | circle_face_total (const GeometryNodeMeshCircleFillType fill_type, const int verts_num) |
static Mesh * | create_circle_mesh (const float radius, const int verts_num, const GeometryNodeMeshCircleFillType fill_type) |
static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 74 of file node_geo_mesh_primitive_circle.cc.
References BLI_assert_unreachable, GEO_NODE_MESH_CIRCLE_FILL_NGON, GEO_NODE_MESH_CIRCLE_FILL_NONE, and GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN.
Referenced by create_circle_mesh().
|
static |
Definition at line 61 of file node_geo_mesh_primitive_circle.cc.
References BLI_assert_unreachable, GEO_NODE_MESH_CIRCLE_FILL_NGON, GEO_NODE_MESH_CIRCLE_FILL_NONE, and GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN.
Referenced by create_circle_mesh().
|
static |
Definition at line 88 of file node_geo_mesh_primitive_circle.cc.
References BLI_assert_unreachable, GEO_NODE_MESH_CIRCLE_FILL_NGON, GEO_NODE_MESH_CIRCLE_FILL_NONE, and GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN.
Referenced by create_circle_mesh().
|
static |
Definition at line 48 of file node_geo_mesh_primitive_circle.cc.
References BLI_assert_unreachable, GEO_NODE_MESH_CIRCLE_FILL_NGON, GEO_NODE_MESH_CIRCLE_FILL_NONE, and GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN.
Referenced by create_circle_mesh().
|
static |
Definition at line 102 of file node_geo_mesh_primitive_circle.cc.
References angle(), BKE_id_material_eval_ensure_default_slot(), BKE_mesh_new_nomain(), circle_corner_total(), circle_edge_total(), circle_face_total(), circle_vert_total(), copy_v3_v3(), KDL::cos(), MLoop::e, GEO_NODE_MESH_CIRCLE_FILL_NGON, GEO_NODE_MESH_CIRCLE_FILL_NONE, GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN, Mesh::id, MPoly::loopstart, M_PI, ME_EDGEDRAW, ME_EDGERENDER, ME_LOOSEEDGE, Mesh::medge, mesh, Mesh::mloop, Mesh::mpoly, Mesh::mvert, KDL::sin(), Mesh::totedge, Mesh::totloop, MPoly::totloop, Mesh::totpoly, Mesh::totvert, MLoop::v, and verts.
Referenced by node_geo_exec().
|
static |
Definition at line 18 of file node_geo_mesh_primitive_circle.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), N_, and PROP_DISTANCE.
Referenced by register_node_type_geo_mesh_primitive_circle().
|
static |
Definition at line 181 of file node_geo_mesh_primitive_circle.cc.
References create_circle_mesh(), GeometrySet::create_with_mesh(), NodeGeometryMeshCircle::fill_type, Info, mesh, params, and TIP_.
Referenced by register_node_type_geo_mesh_primitive_circle().
|
static |
Definition at line 39 of file node_geo_mesh_primitive_circle.cc.
References NodeGeometryMeshCircle::fill_type, GEO_NODE_MESH_CIRCLE_FILL_NONE, and node.
|
static |
Definition at line 32 of file node_geo_mesh_primitive_circle.cc.
References ptr, uiItemR(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by register_node_type_geo_mesh_primitive_circle().