|
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 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 143 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 150 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::math::distance(), blender::math::distance_squared(), blender::math::dot(), Curves::geometry, blender::math::interpolate(), isect_plane_plane_plane_v3(), M_PI, blender::math::midpoint(), normal_tri_v3(), blender::math::normalize(), plane_from_point_normal_v3(), and rotate_vector_around_axis().
Referenced by node_geo_exec().
|
static |
Definition at line 272 of file node_geo_curve_primitive_arc.cc.
References cos(), CURVE_TYPE_POLY, blender::bke::curves_new_nomain_single(), float, Curves::geometry, and M_PI.
Referenced by node_geo_exec().
|
static |
Definition at line 24 of file node_geo_curve_primitive_arc.cc.
References b, blender::nodes::SocketDeclaration::description, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, M_PI, blender::nodes::SocketDeclaration::make_available(), NodeGeometryCurvePrimitiveArc::mode, node, PROP_ANGLE, PROP_DISTANCE, PROP_TRANSLATION, PROP_UNSIGNED, blender::nodes::decl::Float::subtype, and blender::nodes::decl::Int::subtype.
Referenced by node_register().
|
static |
Definition at line 305 of file node_geo_curve_primitive_arc.cc.
References create_arc_curve_from_points(), create_arc_curve_from_radius(), blender::bke::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 126 of file node_geo_curve_primitive_arc.cc.
References data, and GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS.
Referenced by node_register().
|
static |
Definition at line 121 of file node_geo_curve_primitive_arc.cc.
References ptr, UI_ITEM_R_EXPAND, and uiItemR().
Referenced by node_register().
|
static |
Definition at line 372 of file node_geo_curve_primitive_arc.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 347 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 134 of file node_geo_curve_primitive_arc.cc.
References axis_angle_to_mat3(), mul_m3_v3(), result, and vector.
Referenced by create_arc_curve_from_points().