|
Blender V4.5
|
Classes | |
| class | PointsOfCurveInput |
| class | CurvePointCountInput |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static bool | use_start_point_special_case (const Field< int > &curve_index, const Field< int > &sort_index, const Field< float > &sort_weights) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 13 of file node_geo_curve_topology_points_of_curve.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, min, node_declare(), and NODE_DEFAULT_INPUT_INDEX_FIELD.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 199 of file node_geo_curve_topology_points_of_curve.cc.
References blender::nodes::GeoNodeExecParams::extract_input(), node_geo_exec(), blender::nodes::GeoNodeExecParams::output_is_required(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 218 of file node_geo_curve_topology_points_of_curve.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_CURVE_TOPOLOGY_POINTS_OF_CURVE, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::nclass, NODE_CLASS_INPUT, node_declare(), node_geo_exec(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
The node is often used to retrieve the root point of the curve. If the curve indices are in order, the sort weights have no effect, and the sort index is the first point, then we can just return the curve offsets as a span directly.
Definition at line 36 of file node_geo_curve_topology_points_of_curve.cc.
References blender::fn::FieldNode::depends_on_input(), blender::fn::evaluate_constant_field(), blender::fn::GFieldBase< NodePtr >::node(), and use_start_point_special_case().
Referenced by blender::nodes::node_geo_curve_topology_points_of_curve_cc::PointsOfCurveInput::get_varray_for_context(), and use_start_point_special_case().