|
Blender V4.3
|
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 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, blender::MutableSpan< T >::index_range(), blender::MutableSpan< T >::last(), M_PI, mesh, 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::SocketDeclaration::description, PROP_DISTANCE, and blender::nodes::decl::Float::subtype.
Referenced by node_register().
|
static |
Definition at line 189 of file node_geo_mesh_primitive_circle.cc.
References create_circle_mesh(), NodeGeometryMeshCircle::fill_type, blender::bke::GeometrySet::from_mesh(), params, and TIP_.
Referenced by node_register().
|
static |
Definition at line 46 of file node_geo_mesh_primitive_circle.cc.
References NodeGeometryMeshCircle::fill_type, and GEO_NODE_MESH_CIRCLE_FILL_NONE.
Referenced by node_register().
|
static |
Definition at line 39 of file node_geo_mesh_primitive_circle.cc.
References ptr, UI_ITEM_NONE, uiItemR(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
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, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, 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, and ExtensionRNA::srna.
|
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().