|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, 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 Bounds< float3 > | calculate_bounds_circle (const float radius, 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 void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 109 of file node_geo_mesh_primitive_circle.cc.
References blender::geometry::calculate_bounds_radial_primitive().
Referenced by create_circle_mesh().
|
static |
Definition at line 81 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 68 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 95 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 55 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 114 of file node_geo_mesh_primitive_circle.cc.
References angle(), BKE_id_material_eval_ensure_default_slot(), BKE_mesh_new_nomain(), calculate_bounds_circle(), circle_corner_total(), circle_edge_total(), circle_face_total(), circle_vert_total(), blender::array_utils::fill_index_range(), blender::MutableSpan< T >::first(), float, GEO_NODE_MESH_CIRCLE_FILL_NGON, GEO_NODE_MESH_CIRCLE_FILL_TRIANGLE_FAN, i, Mesh::id, blender::MutableSpan< T >::index_range(), blender::MutableSpan< T >::last(), M_PI, blender::bke::mesh_smooth_set(), and blender::MutableSpan< T >::size().
Referenced by node_geo_exec().
|
static |
Definition at line 25 of file node_geo_mesh_primitive_circle.cc.
References b, blender::nodes::decl::Float::default_value, blender::nodes::decl::Int::default_value, min, node_declare(), and PROP_DISTANCE.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 189 of file node_geo_mesh_primitive_circle.cc.
References create_circle_mesh(), NodeGeometryMeshCircle::fill_type, blender::nodes::GeometrySet::from_mesh(), blender::nodes::Info, params, and TIP_.
Referenced by node_register().
|
static |
Definition at line 46 of file node_geo_mesh_primitive_circle.cc.
References NodeGeometryMeshCircle::fill_type, GEO_NODE_MESH_CIRCLE_FILL_NONE, MEM_callocN(), and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 39 of file node_geo_mesh_primitive_circle.cc.
References uiLayout::prop(), ptr, UI_ITEM_NONE, uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by node_register().
|
static |
Definition at line 220 of file node_geo_mesh_primitive_circle.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_MESH_PRIMITIVE_CIRCLE, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_geo_exec(), node_init(), node_layout(), blender::bke::node_register_type(), node_rna(), blender::bke::node_type_storage(), blender::bke::bNodeType::rna_ext, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 207 of file node_geo_mesh_primitive_circle.cc.
References GEO_NODE_MESH_CIRCLE_FILL_NONE, NOD_storage_enum_accessors, blender::nodes::RNA_def_node_enum(), and rna_enum_node_geometry_mesh_circle_fill_type_items.
Referenced by node_register().