|
Blender V4.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static GreasePencil * | curves_to_grease_pencil_with_one_layer (const Curves &curves_id, const Field< bool > &selection_field, const StringRefNull layer_name, const AttributeFilter &attribute_filter) |
| static GreasePencil * | curve_instances_to_grease_pencil_layers (const bke::Instances &instances, const Field< bool > &selection_field, const AttributeFilter &attribute_filter) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_register () |
|
static |
Definition at line 60 of file node_geo_curves_to_grease_pencil.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::bke::AttributeFilter::allow_skip(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::CurvesGeometry::attributes_for_write(), BKE_grease_pencil_new_nomain(), CD_PROP_STRING, blender::bke::Curve, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::data(), blender::bke::AttributeIter::data_type, ELEM, blender::bke::GSpanAttributeWriter::finish(), blender::bke::SpanAttributeWriter< T >::finish(), blender::bke::AttributeAccessor::foreach_attribute(), blender::index_mask::IndexMask::foreach_index(), blender::array_utils::gather(), Curves::geometry, blender::bke::AttributeIter::get(), blender::bke::GeometrySet::get_curves(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_or_add(), blender::initialized_copy_n(), blender::bke::AttributeAccessor::is_builtin(), blender::bke::AttributeIter::is_builtin, blender::bke::MutableAttributeAccessor::lookup_for_write_span(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::bke::AttributeAccessor::lookup_or_default(), Curves::mat, GreasePencil::material_array, GreasePencil::material_array_num, blender::bke::AttributeIter::name, blender::fn::FieldEvaluator::set_selection(), blender::index_mask::IndexMask::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size(), blender::bke::GSpanAttributeWriter::span, blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), and Curves::totcol.
Referenced by node_geo_exec().
|
static |
Definition at line 27 of file node_geo_curves_to_grease_pencil.cc.
References BKE_grease_pencil_new_nomain(), blender::index_mask::IndexMask::complement(), Curves::geometry, blender::initialized_copy_n(), Curves::mat, GreasePencil::material_array, GreasePencil::material_array_num, blender::fn::FieldEvaluator::set_selection(), blender::bke::greasepencil::Drawing::strokes_for_write(), and Curves::totcol.
Referenced by node_geo_exec().
|
static |
Definition at line 13 of file node_geo_curves_to_grease_pencil.cc.
References b, blender::nodes::SocketDeclaration::description, and blender::nodes::SocketDeclaration::hide_value.
Referenced by node_register().
|
static |
Definition at line 180 of file node_geo_curves_to_grease_pencil.cc.
References curve_instances_to_grease_pencil_layers(), curves_to_grease_pencil_with_one_layer(), blender::bke::GeometrySet::from_grease_pencil(), blender::bke::GeometrySet::get_curves(), blender::bke::GeometrySet::get_instances(), blender::bke::GeometrySet::has_curves(), blender::bke::GeometrySet::has_instances(), blender::bke::GeometrySet::name, params, and TIP_.
Referenced by node_register().
|
static |
Definition at line 218 of file node_geo_curves_to_grease_pencil.cc.
References blender::bke::bNodeType::declare, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, NODE_CLASS_GEOMETRY, node_declare(), node_geo_exec(), blender::bke::node_register_type(), and blender::bke::node_type_size().