|
Blender V4.5
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | set_curve_normal (bke::CurvesGeometry &curves, const NormalMode mode, const fn::FieldContext &curve_context, const fn::FieldContext &point_context, const Field< bool > &selection_field, const Field< float3 > &custom_normal) |
| static void | set_grease_pencil_normal (GreasePencil &grease_pencil, const NormalMode mode, const Field< bool > &selection_field, const Field< float3 > &custom_normal) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 19 of file node_geo_set_curve_normal.cc.
References b, bNode::custom1, blender::nodes::SocketDeclaration::hide_value, node_declare(), NORMAL_MODE_FREE, and PROP_XYZ.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 100 of file node_geo_set_curve_normal.cc.
References blender::bke::Curve, blender::nodes::GeoNodeExecParams::extract_input(), blender::bke::GeometrySet::get_curves_for_write(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::modify_geometry_sets(), blender::nodes::GeoNodeExecParams::node(), node_geo_exec(), NORMAL_MODE_FREE, blender::bke::Point, set_curve_normal(), set_grease_pencil_normal(), and blender::nodes::GeoNodeExecParams::set_output().
Referenced by node_geo_exec(), and node_register().
Definition at line 45 of file node_geo_set_curve_normal.cc.
References bNode::custom1, node_init(), and NORMAL_MODE_MINIMUM_TWIST.
Referenced by node_init(), and node_register().
|
static |
Definition at line 40 of file node_geo_set_curve_normal.cc.
References node_layout(), uiLayout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 139 of file node_geo_set_curve_normal.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_SET_CURVE_NORMAL, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), node_rna(), blender::bke::bNodeType::rna_ext, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 129 of file node_geo_set_curve_normal.cc.
References NOD_inline_enum_accessors, node_rna(), blender::nodes::RNA_def_node_enum(), and rna_enum_curve_normal_mode_items.
Referenced by node_register(), and node_rna().
|
static |
Definition at line 50 of file node_geo_set_curve_normal.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::CurvesGeometry::curves_num(), blender::fn::FieldEvaluator::evaluate(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::index_mask::masked_fill(), blender::bke::CurvesGeometry::normal_mode_for_write(), NORMAL_MODE_FREE, set_curve_normal(), blender::fn::FieldEvaluator::set_selection(), blender::bke::CurvesGeometry::tag_normals_changed(), and blender::bke::try_capture_field_on_geometry().
Referenced by node_geo_exec(), set_curve_normal(), and set_grease_pencil_normal().
|
static |
Definition at line 79 of file node_geo_set_curve_normal.cc.
References blender::bke::Curve, blender::bke::Point, set_curve_normal(), set_grease_pencil_normal(), and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by node_geo_exec(), and set_grease_pencil_normal().