|
Blender V5.0
|
Classes | |
| struct | IndexAttributes |
Functions | |
| NODE_STORAGE_FUNCS (NodeGeometryDuplicateElements) | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
Utility Functions | |
| static OffsetIndices< int > | accumulate_counts_to_offsets (const IndexMask &selection, const VArray< int > &counts, Array< int > &r_offset_data) |
| static void | copy_hashed_ids (const Span< int > src, const int hash, MutableSpan< int > dst) |
| static void | threaded_id_offset_copy (const OffsetIndices< int > offsets, const Span< int > src, MutableSpan< int > all_dst) |
| static void | create_duplicate_index_attribute (bke::MutableAttributeAccessor attributes, const AttrDomain output_domain, const IndexMask &selection, const IndexAttributes &attribute_outputs, const OffsetIndices< int > offsets) |
| static void | copy_stable_id_point (const OffsetIndices< int > offsets, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes) |
Duplicate Curves | |
| static void | copy_curve_attributes_without_id (const bke::CurvesGeometry &src_curves, const IndexMask &selection, const OffsetIndices< int > curve_offsets, const AttributeFilter &attribute_filter, bke::CurvesGeometry &dst_curves) |
| static void | copy_stable_id_curves (const bke::CurvesGeometry &src_curves, const IndexMask &selection, const OffsetIndices< int > offsets, bke::CurvesGeometry &dst_curves) |
| static bke::CurvesGeometry | duplicate_curves_CurveGeometry (const bke::CurvesGeometry &curves, const FieldContext &field_context, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
| static void | duplicate_curves (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Faces | |
| static void | copy_face_attributes_without_id (const Span< int > edge_mapping, const Span< int > vert_mapping, const Span< int > loop_mapping, const OffsetIndices< int > offsets, const IndexMask &selection, const AttributeFilter &attribute_filter, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes) |
| static void | copy_stable_id_faces (const Mesh &mesh, const IndexMask &selection, const OffsetIndices< int > face_offsets, const Span< int > vert_mapping, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes) |
| static void | duplicate_faces (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Edges | |
| static void | copy_edge_attributes_without_id (const Span< int > point_mapping, const OffsetIndices< int > offsets, const IndexMask &selection, const AttributeFilter &attribute_filter, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes) |
| static void | copy_stable_id_edges (const Mesh &mesh, const IndexMask &selection, const OffsetIndices< int > offsets, const bke::AttributeAccessor src_attributes, bke::MutableAttributeAccessor dst_attributes) |
| static void | duplicate_edges (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Points (Curves) | |
| static bke::CurvesGeometry | duplicate_points_CurvesGeometry (const bke::CurvesGeometry &src_curves, const FieldContext &field_context, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
| static void | duplicate_points_curve (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Points (Grease Pencil) | |
| static void | duplicate_points_grease_pencil (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Points (Mesh) | |
| static void | duplicate_points_mesh (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Points (Point Cloud) | |
| static void | duplicate_points_pointcloud (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Points | |
| static void | duplicate_points (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Layers | |
| static void | duplicate_layers (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Duplicate Instances | |
| static void | duplicate_instances (GeometrySet &geometry_set, const Field< int > &count_field, const Field< bool > &selection_field, const IndexAttributes &attribute_outputs, const AttributeFilter &attribute_filter) |
Entry Point | |
| static void | node_geo_exec (GeoNodeExecParams params) |
|
static |
Definition at line 74 of file node_geo_duplicate_elements.cc.
References blender::offset_indices::accumulate_counts_to_offsets(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), count, blender::offset_indices::fill_constant_group_size(), blender::array_utils::gather(), blender::VArrayCommon< T >::get_if_single(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), and blender::index_mask::IndexMask::size().
Referenced by duplicate_edges(), duplicate_instances(), duplicate_layers(), duplicate_points_CurvesGeometry(), duplicate_points_mesh(), and duplicate_points_pointcloud().
|
static |
Copies the attributes for curve duplicates. If copying the curve domain, the attributes are copied with an offset fill, otherwise a mapping is used.
Definition at line 173 of file node_geo_duplicate_elements.cc.
References ATTR_DOMAIN_MASK_ALL, blender::bke::attribute_filter_with_skip_ref(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), BLI_assert_unreachable, blender::bke::attribute_math::convert_to_static_type(), copy_curve_attributes_without_id(), blender::bke::attribute_math::gather_to_groups(), blender::bke::CurvesGeometry::points_by_curve(), and blender::bke::retrieve_attributes_for_transfer().
Referenced by copy_curve_attributes_without_id(), and duplicate_curves_CurveGeometry().
|
static |
Copies the attributes for edge duplicates. If copying the edge domain, the attributes are copied with an offset fill, for point domain a mapping is used.
Definition at line 600 of file node_geo_duplicate_elements.cc.
References ATTR_DOMAIN_MASK_EDGE, ATTR_DOMAIN_MASK_POINT, blender::bke::attribute_filter_with_skip_ref(), BLI_assert_unreachable, copy_edge_attributes_without_id(), blender::bke::attribute_math::gather(), blender::bke::attribute_math::gather_to_groups(), and blender::bke::retrieve_attributes_for_transfer().
Referenced by copy_edge_attributes_without_id().
|
static |
Copies the attributes for face duplicates. If copying the face domain, the attributes are copied with an offset fill, otherwise a mapping is used.
Definition at line 390 of file node_geo_duplicate_elements.cc.
References ATTR_DOMAIN_MASK_ALL, blender::bke::attribute_filter_with_skip_ref(), BLI_assert_unreachable, copy_face_attributes_without_id(), blender::bke::attribute_math::gather(), blender::bke::attribute_math::gather_to_groups(), and blender::bke::retrieve_attributes_for_transfer().
Referenced by copy_face_attributes_without_id(), and duplicate_faces().
|
static |
Definition at line 89 of file node_geo_duplicate_elements.cc.
References blender::noise::hash(), hash, i, and blender::Span< T >::index_range().
Referenced by copy_stable_id_curves().
|
static |
Copy the stable ids to the first duplicate and create new ids based on a hash of the original id and the duplicate number. In the curve case, copy the entire curve's points to the destination, then loop over the remaining ones point by point, hashing their ids to the new ids.
Definition at line 221 of file node_geo_duplicate_elements.cc.
References blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), copy_hashed_ids(), copy_stable_id_curves(), blender::bke::GAttributeReader::domain, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::CPPType::is(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::CurvesGeometry::points_by_curve(), size(), blender::MutableSpan< T >::slice(), blender::Span< T >::slice(), blender::bke::SpanAttributeWriter< T >::span, blender::GVArrayCommon::type(), blender::GVArray::typed(), and blender::bke::GAttributeReader::varray.
Referenced by copy_stable_id_curves(), and duplicate_curves_CurveGeometry().
|
static |
Copy the stable ids to the first duplicate and create new ids based on a hash of the original id and the duplicate number. This function is used for points when duplicating the edge domain.
Definition at line 633 of file node_geo_duplicate_elements.cc.
References copy_stable_id_edges(), blender::bke::GAttributeReader::domain, blender::bke::SpanAttributeWriter< T >::finish(), blender::index_mask::IndexMask::foreach_index(), blender::noise::hash(), blender::CPPType::is(), blender::IndexRange::is_empty(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::IndexRange::size(), blender::bke::SpanAttributeWriter< T >::span, blender::IndexRange::start(), blender::GVArrayCommon::type(), blender::GVArray::typed(), and blender::bke::GAttributeReader::varray.
Referenced by copy_stable_id_edges().
|
static |
Copy the stable ids to the first duplicate and create new ids based on a hash of the original id and the duplicate number. This function is used for points when duplicating the face domain.
This function could be threaded in the future, but since it is only 1 attribute and the face->edge->vert mapping would mean creating a 1/1 mapping to allow for it, is it worth it?
Definition at line 435 of file node_geo_duplicate_elements.cc.
References copy_stable_id_faces(), blender::bke::GAttributeReader::domain, faces, blender::bke::SpanAttributeWriter< T >::finish(), blender::noise::hash(), blender::index_mask::IndexMask::index_range(), blender::CPPType::is(), blender::IndexRange::is_empty(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::IndexRange::size(), blender::bke::SpanAttributeWriter< T >::span, blender::GVArrayCommon::type(), blender::GVArray::typed(), and blender::bke::GAttributeReader::varray.
Referenced by copy_stable_id_faces(), and duplicate_faces().
|
static |
Copy the stable ids to the first duplicate and create new ids based on a hash of the original id and the duplicate number. This function is used for the point domain elements.
Definition at line 137 of file node_geo_duplicate_elements.cc.
References copy_stable_id_point(), blender::bke::GAttributeReader::domain, ELEM, blender::bke::SpanAttributeWriter< T >::finish(), blender::CPPType::is(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::SpanAttributeWriter< T >::span, threaded_id_offset_copy(), blender::GVArrayCommon::type(), blender::GVArray::typed(), and blender::bke::GAttributeReader::varray.
Referenced by copy_stable_id_point(), duplicate_points_mesh(), and duplicate_points_pointcloud().
|
static |
Create the copy indices for the duplication domain.
Definition at line 116 of file node_geo_duplicate_elements.cc.
References create_duplicate_index_attribute(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, blender::bke::SpanAttributeWriter< T >::finish(), i, indices, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::index_mask::IndexMask::size(), and blender::bke::SpanAttributeWriter< T >::span.
Referenced by create_duplicate_index_attribute(), duplicate_curves_CurveGeometry(), duplicate_faces(), duplicate_instances(), duplicate_layers(), duplicate_points_mesh(), and duplicate_points_pointcloud().
|
static |
Definition at line 333 of file node_geo_duplicate_elements.cc.
References blender::bke::curves_copy_parameters(), blender::bke::curves_new_nomain(), duplicate_curves(), duplicate_curves_CurveGeometry(), blender::bke::GeometrySet::get_curves(), blender::bke::GeometrySet::get_grease_pencil_for_write(), blender::bke::GeometrySet::keep_only(), blender::threading::parallel_for(), blender::nodes::GeometryComponentEditData::remember_deformed_positions_if_necessary(), and blender::bke::GeometrySet::replace_curves().
Referenced by duplicate_curves(), and node_geo_exec().
|
static |
Definition at line 263 of file node_geo_duplicate_elements.cc.
References blender::fn::FieldEvaluator::add(), blender::bke::CurvesGeometry::attributes_for_write(), copy_curve_attributes_without_id(), copy_stable_id_curves(), count, create_duplicate_index_attribute(), blender::bke::CurvesGeometry::curves_num(), duplicate_curves_CurveGeometry(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, blender::fn::FieldEvaluator::evaluate(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::Array< T, InlineBufferCapacity, Allocator >::last(), blender::MutableSpan< T >::last(), blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::CurvesGeometry::points_by_curve(), blender::fn::FieldEvaluator::set_selection(), blender::IndexRange::size(), blender::offset_indices::OffsetIndices< T >::size(), blender::MutableSpan< T >::slice(), and blender::bke::CurvesGeometry::update_curve_types().
Referenced by duplicate_curves(), and duplicate_curves_CurveGeometry().
|
static |
Definition at line 677 of file node_geo_duplicate_elements.cc.
References accumulate_counts_to_offsets(), blender::fn::FieldEvaluator::add(), BKE_mesh_new_nomain(), blender::bke::GeometrySet::clear(), duplicate_edges(), blender::fn::FieldEvaluator::evaluate(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::has_mesh(), blender::threading::parallel_for(), blender::fn::FieldEvaluator::set_selection(), blender::IndexRange::size(), blender::Span< T >::size(), blender::IndexRange::start(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by duplicate_edges(), and node_geo_exec().
|
static |
Definition at line 485 of file node_geo_duplicate_elements.cc.
References blender::fn::FieldEvaluator::add(), Geometry::attributes, BKE_mesh_new_nomain(), blender::bke::GeometrySet::clear(), copy_face_attributes_without_id(), copy_stable_id_faces(), count, create_duplicate_index_attribute(), duplicate_faces(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, blender::fn::FieldEvaluator::evaluate(), faces, blender::array_utils::fill_index_range(), blender::index_mask::IndexMask::foreach_index_optimized(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::has_mesh(), blender::IndexRange::index_range(), blender::bke::GeometrySet::keep_only(), blender::bke::GeometrySet::replace_mesh(), blender::fn::FieldEvaluator::set_selection(), blender::index_mask::IndexMask::size(), blender::MutableSpan< T >::size(), and Mesh::verts_num.
Referenced by duplicate_faces(), and node_geo_exec().
|
static |
Definition at line 1119 of file node_geo_duplicate_elements.cc.
References accumulate_counts_to_offsets(), blender::fn::FieldEvaluator::add(), blender::bke::attribute_filter_with_skip_ref(), blender::bke::Instances::attributes(), blender::bke::GeometrySet::clear(), create_duplicate_index_attribute(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, duplicate_instances(), blender::fn::FieldEvaluator::evaluate(), blender::index_mask::IndexMask::foreach_index(), GeometrySet::from_instances(), blender::bke::gather_attributes_to_groups(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_instances(), blender::bke::GeometrySet::has_instances(), blender::bke::Instances::instances_num(), blender::IndexRange::is_empty(), blender::bke::Instances::reference_handles(), blender::bke::Instances::references(), blender::fn::FieldEvaluator::set_selection(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by duplicate_instances(), and node_geo_exec().
|
static |
Definition at line 1039 of file node_geo_duplicate_elements.cc.
References accumulate_counts_to_offsets(), blender::fn::FieldEvaluator::add(), BKE_grease_pencil_copy_layer_parameters(), BKE_grease_pencil_copy_parameters(), BKE_grease_pencil_new_nomain(), blender::bke::GeometrySet::clear(), create_duplicate_index_attribute(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, duplicate_layers(), blender::fn::FieldEvaluator::evaluate(), blender::index_mask::IndexMask::foreach_index(), blender::bke::gather_attributes_to_groups(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_grease_pencil(), blender::bke::GeometrySet::has_grease_pencil(), blender::IndexRange::is_empty(), blender::bke::GeometrySet::keep_only(), pos, blender::nodes::GeometryComponentEditData::remember_deformed_positions_if_necessary(), blender::bke::GeometrySet::replace_grease_pencil(), blender::fn::FieldEvaluator::set_selection(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by duplicate_layers(), and node_geo_exec().
|
static |
Definition at line 990 of file node_geo_duplicate_elements.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), duplicate_points(), duplicate_points_curve(), duplicate_points_grease_pencil(), duplicate_points_mesh(), duplicate_points_pointcloud(), blender::bke::GeometrySet::gather_component_types(), blender::bke::GeometrySet::has_curves(), blender::bke::GeometrySet::has_grease_pencil(), blender::bke::GeometrySet::has_mesh(), blender::bke::GeometrySet::has_pointcloud(), and blender::bke::GeometrySet::keep_only().
Referenced by duplicate_points(), and node_geo_exec().
|
static |
Definition at line 827 of file node_geo_duplicate_elements.cc.
References blender::bke::curves_copy_parameters(), blender::bke::curves_new_nomain(), duplicate_points_curve(), duplicate_points_CurvesGeometry(), Curves::geometry, blender::bke::GeometrySet::get_curves(), and blender::bke::GeometrySet::replace_curves().
Referenced by duplicate_points(), and duplicate_points_curve().
|
static |
Definition at line 759 of file node_geo_duplicate_elements.cc.
References accumulate_counts_to_offsets(), blender::fn::FieldEvaluator::add(), ATTR_DOMAIN_MASK_CURVE, blender::bke::attribute_filter_with_skip_ref(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), blender::bke::attribute_math::convert_to_static_type(), duplicate_points_CurvesGeometry(), blender::fn::FieldEvaluator::evaluate(), blender::offset_indices::fill_constant_group_size(), blender::bke::gather_attributes_to_groups(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::CurvesGeometry::is_empty(), blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::CurvesGeometry::point_to_curve_map(), blender::bke::CurvesGeometry::points_num(), blender::bke::retrieve_attributes_for_transfer(), blender::fn::FieldEvaluator::set_selection(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by duplicate_points_curve(), and duplicate_points_CurvesGeometry().
|
static |
Definition at line 855 of file node_geo_duplicate_elements.cc.
References duplicate_points_grease_pencil(), blender::bke::GeometrySet::get_grease_pencil_for_write(), and blender::threading::parallel_for().
Referenced by duplicate_points(), and duplicate_points_grease_pencil().
|
static |
Definition at line 891 of file node_geo_duplicate_elements.cc.
References accumulate_counts_to_offsets(), blender::fn::FieldEvaluator::add(), blender::bke::attribute_filter_with_skip_ref(), Geometry::attributes, BKE_mesh_new_nomain(), copy_stable_id_point(), create_duplicate_index_attribute(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, duplicate_points_mesh(), blender::fn::FieldEvaluator::evaluate(), blender::bke::gather_attributes_to_groups(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_mesh(), blender::bke::GeometrySet::replace_mesh(), blender::fn::FieldEvaluator::set_selection(), blender::offset_indices::OffsetIndices< T >::total_size(), and Mesh::verts_num.
Referenced by duplicate_points(), and duplicate_points_mesh().
|
static |
Definition at line 942 of file node_geo_duplicate_elements.cc.
References accumulate_counts_to_offsets(), blender::fn::FieldEvaluator::add(), blender::bke::attribute_filter_with_skip_ref(), Geometry::attributes, BKE_pointcloud_new_nomain(), copy_stable_id_point(), create_duplicate_index_attribute(), blender::nodes::node_geo_duplicate_elements_cc::IndexAttributes::duplicate_index, duplicate_points_pointcloud(), blender::fn::FieldEvaluator::evaluate(), blender::bke::gather_attributes_to_groups(), blender::fn::FieldEvaluator::get_evaluated(), blender::fn::FieldEvaluator::get_evaluated_selection_as_mask(), blender::bke::GeometrySet::get_pointcloud(), blender::bke::GeometrySet::replace_pointcloud(), blender::fn::FieldEvaluator::set_selection(), blender::offset_indices::OffsetIndices< T >::total_size(), and PointCloud::totpoint.
Referenced by duplicate_points(), and duplicate_points_pointcloud().
|
static |
Definition at line 35 of file node_geo_duplicate_elements.cc.
References b, BLT_I18NCONTEXT_COUNTABLE, blender::nodes::decl::Int::default_value, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, and min.
Referenced by node_register().
|
static |
Definition at line 1188 of file node_geo_duplicate_elements.cc.
References BLI_assert_unreachable, duplicate_curves(), duplicate_edges(), duplicate_faces(), duplicate_instances(), duplicate_layers(), duplicate_points(), blender::geometry::foreach_real_geometry(), blender::nodes::FieldOperation::from(), blender::bke::GeometrySet::is_empty(), node_geo_exec(), and params.
Referenced by node_geo_exec(), and node_register().
|
static |
Definition at line 54 of file node_geo_duplicate_elements.cc.
References data, MEM_callocN(), and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 61 of file node_geo_duplicate_elements.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 1276 of file node_geo_duplicate_elements.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_DUPLICATE_ELEMENTS, geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_geo_exec(), node_init(), node_layout(), node_register(), blender::bke::node_register_type(), node_rna(), blender::bke::node_type_storage(), 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 1253 of file node_geo_duplicate_elements.cc.
References NOD_storage_enum_accessors, node_rna(), and blender::nodes::RNA_def_node_enum().
Referenced by node_register(), and node_rna().
| blender::nodes::node_geo_duplicate_elements_cc::NODE_STORAGE_FUNCS | ( | NodeGeometryDuplicateElements | ) |
|
static |
Definition at line 96 of file node_geo_duplicate_elements.cc.
References BLI_assert, blender::offset_indices::OffsetIndices< T >::index_range(), blender::threading::parallel_for(), blender::MutableSpan< T >::size(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by copy_stable_id_point().