|
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 float3 | rotate_vector_around_axis (const float3 vector, const float3 axis, const float angle) |
| static bool | colinear_f3_f3_f3 (const float3 p1, const float3 p2, const float3 p3) |
| static Curves * | create_arc_curve_from_points (const int resolution, const float3 a, const float3 b, const float3 c, float angle_offset, const bool connect_center, const bool invert_arc, float3 &r_center, float3 &r_normal, float &r_radius) |
| static Curves * | create_arc_curve_from_radius (const int resolution, const float radius, const float start_angle, const float sweep_angle, const bool connect_center, const bool invert_arc) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 141 of file node_geo_curve_primitive_arc.cc.
References b, ELEM, and blender::math::normalize().
Referenced by create_arc_curve_from_points().
|
static |
Definition at line 148 of file node_geo_curve_primitive_arc.cc.
References angle(), angle_signed_on_axis_v3v3_v3(), b, colinear_f3_f3_f3(), blender::math::cross(), CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), blender::bke::CurvesGeometry::cyclic_for_write(), blender::math::distance(), blender::math::distance_squared(), blender::math::dot(), MutableSpan< T >::first(), Curves::geometry, i, blender::math::interpolate(), isect_plane_plane_plane_v3(), M_PI, blender::math::midpoint(), normal_tri_v3(), blender::math::normalize(), out, plane_from_point_normal_v3(), blender::bke::CurvesGeometry::positions_for_write(), rotate_vector_around_axis(), size(), and step.
Referenced by node_geo_exec().
|
static |
Definition at line 270 of file node_geo_curve_primitive_arc.cc.
References cos, CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), blender::bke::CurvesGeometry::cyclic_for_write(), MutableSpan< T >::first(), float, Curves::geometry, i, M_PI, blender::bke::CurvesGeometry::positions_for_write(), sin, size(), x, and y.
Referenced by node_geo_exec().
|
static |
Definition at line 22 of file node_geo_curve_primitive_arc.cc.
References b, blender::nodes::decl::Bool::default_value, blender::nodes::decl::Float::default_value, blender::nodes::decl::Int::default_value, blender::nodes::decl::Vector::default_value, blender::nodes::SocketDeclaration::description, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, M_PI, max, min, NodeGeometryCurvePrimitiveArc::mode, node_declare(), PROP_ANGLE, PROP_DISTANCE, PROP_TRANSLATION, and PROP_UNSIGNED.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 303 of file node_geo_curve_primitive_arc.cc.
References create_arc_curve_from_points(), create_arc_curve_from_radius(), blender::nodes::GeometrySet::from_curves(), GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, NodeGeometryCurvePrimitiveArc::mode, and params.
Referenced by node_register().
|
static |
Definition at line 124 of file node_geo_curve_primitive_arc.cc.
References data, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, MEM_callocN(), and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 119 of file node_geo_curve_primitive_arc.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_EXPAND.
Referenced by node_register().
|
static |
Definition at line 370 of file node_geo_curve_primitive_arc.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_CURVE_PRIMITIVE_ARC, 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 345 of file node_geo_curve_primitive_arc.cc.
References GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, NOD_storage_enum_accessors, and blender::nodes::RNA_def_node_enum().
Referenced by node_register().
|
static |
Definition at line 132 of file node_geo_curve_primitive_arc.cc.
References angle(), axis_angle_to_mat3(), mul_m3_v3(), and result.
Referenced by create_arc_curve_from_points().