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(tree), bNode *node) |
static void | node_update (bNodeTree *ntree, 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 |
Definition at line 150 of file node_geo_curve_primitive_arc.cc.
References Freestyle::a, usdtokens::b(), ELEM, and blender::math::normalize().
Referenced by create_arc_curve_from_points().
|
static |
Definition at line 157 of file node_geo_curve_primitive_arc.cc.
References Freestyle::a, angle(), angle_signed_on_axis_v3v3_v3(), usdtokens::b(), Freestyle::c, center, colinear_f3_f3_f3(), blender::math::cross(), CURVE_TYPE_POLY, curves, 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, normal_tri_v3(), blender::math::normalize(), usdtokens::out(), plane_from_point_normal_v3(), positions, rotate_vector_around_axis(), size(), and blender::bke::CurvesGeometry::wrap().
Referenced by node_geo_exec().
|
static |
Definition at line 279 of file node_geo_curve_primitive_arc.cc.
References KDL::cos(), CURVE_TYPE_POLY, curves, blender::bke::curves_new_nomain_single(), float(), Curves::geometry, M_PI, positions, KDL::sin(), size(), blender::bke::CurvesGeometry::wrap(), x, and y.
Referenced by node_geo_exec().
|
static |
Definition at line 18 of file node_geo_curve_primitive_arc.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::description(), GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, M_PI, N_, node, PROP_ANGLE, PROP_DISTANCE, PROP_TRANSLATION, and PROP_UNSIGNED.
Referenced by register_node_type_geo_curve_primitive_arc().
|
static |
Definition at line 312 of file node_geo_curve_primitive_arc.cc.
References create_arc_curve_from_points(), create_arc_curve_from_radius(), GeometrySet::create_with_curves(), curves, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, max, NodeGeometryCurvePrimitiveArc::mode, and params.
Referenced by register_node_type_geo_curve_primitive_arc().
|
static |
Definition at line 96 of file node_geo_curve_primitive_arc.cc.
References data, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, and node.
|
static |
Definition at line 91 of file node_geo_curve_primitive_arc.cc.
References ptr, UI_ITEM_R_EXPAND, and uiItemR().
Referenced by register_node_type_geo_curve_primitive_arc().
|
static |
Definition at line 104 of file node_geo_curve_primitive_arc.cc.
References GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_POINTS, GEO_NODE_CURVE_PRIMITIVE_ARC_TYPE_RADIUS, NodeGeometryCurvePrimitiveArc::mode, bNodeSocket::next, next, node, nodeSetSocketAvailability(), and ntree.
Referenced by register_node_type_geo_curve_primitive_arc().
|
static |
Definition at line 141 of file node_geo_curve_primitive_arc.cc.
References angle(), axis_angle_to_mat3(), mul_m3_v3(), result, and vector.
Referenced by create_arc_curve_from_points().