|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | node_init (bNodeTree *, bNode *node) |
| static void | fill_rotation_attribute (const Span< float3 > tangents, const Span< float3 > normals, MutableSpan< math::Quaternion > rotations) |
| static void | copy_curve_domain_attributes (const AttributeAccessor curve_attributes, const AttributeFilter &attribute_filter, MutableAttributeAccessor point_attributes) |
| static PointCloud * | curves_to_points (const bke::CurvesGeometry &curves, const AttributeFilter &attribute_filter, const geometry::ResampleCurvesOutputAttributeIDs &resample_attributes, const std::optional< StringRef > &rotation_id) |
| static void | layer_pointclouds_to_instances (const Span< PointCloud * > pointcloud_by_layer, const AttributeFilter &attribute_filter, GeometrySet &geometry) |
| static void | node_geo_exec (GeoNodeExecParams params) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
|
static |
Definition at line 93 of file node_geo_curve_to_points.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::bke::AttributeFilter::allow_skip(), copy_curve_domain_attributes(), blender::bke::AttributeIter::data_type, blender::bke::AttributeIter::domain, blender::bke::AttributeAccessor::foreach_attribute(), blender::bke::AttributeIter::get(), blender::bke::AttributeIter::is_builtin, blender::bke::AttributeIter::name, and blender::bke::String.
Referenced by copy_curve_domain_attributes(), and curves_to_points().
|
static |
Definition at line 117 of file node_geo_curve_to_points.cc.
References blender::bke::AttributeFilter::allow_skip(), blender::bke::AttributeFilter::AllowSkip, blender::bke::copy_attributes(), copy_curve_domain_attributes(), curves_to_points(), ELEM, fill_rotation_attribute(), blender::bke::AttributeAccessor::is_builtin(), blender::bke::AttributeAccessor::lookup(), blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::geometry::ResampleCurvesOutputAttributeIDs::normal_id, blender::bke::Point, blender::bke::pointcloud_new_no_attributes(), blender::Points, blender::bke::AttributeFilter::Process, and blender::geometry::ResampleCurvesOutputAttributeIDs::tangent_id.
Referenced by curves_to_points(), and node_geo_exec().
|
static |
Definition at line 78 of file node_geo_curve_to_points.cc.
References fill_rotation_attribute(), blender::IndexRange::IndexRange(), blender::threading::parallel_for(), and blender::MutableSpan< T >::size().
Referenced by curves_to_points(), and fill_rotation_attribute().
|
static |
Definition at line 165 of file node_geo_curve_to_points.cc.
References blender::bke::copy_attributes(), blender::MutableSpan< T >::fill(), blender::nodes::GeometrySet::from_instances(), blender::nodes::GeometrySet::from_pointcloud(), blender::MatBase< float, 4, 4 >::identity(), blender::Span< T >::index_range(), blender::bke::Instance, blender::Span< T >::is_empty(), blender::geometry::join_geometries(), blender::bke::Layer, layer_pointclouds_to_instances(), blender::bke::InstancesComponent::release(), blender::bke::InstancesComponent::replace(), and blender::Span< T >::size().
Referenced by layer_pointclouds_to_instances(), and node_geo_exec().
|
static |
Definition at line 29 of file node_geo_curve_to_points.cc.
References b, blender::bke::GeometryComponent::Curve, blender::nodes::decl::Float::default_value, blender::nodes::decl::Int::default_value, blender::nodes::SocketDeclaration::description, blender::GEO_NODE_CURVE_RESAMPLE_COUNT, blender::GEO_NODE_CURVE_RESAMPLE_LENGTH, blender::bke::GeometryComponent::GreasePencil, length(), max, min, node, node_declare(), blender::PROP_DISTANCE, and storage.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 200 of file node_geo_curve_to_points.cc.
References curves_to_points(), blender::bke::GeometryComponent::Edit, blender::nodes::GeoNodeExecParams::extract_input(), blender::geometry::foreach_real_geometry(), blender::GEO_NODE_CURVE_RESAMPLE_COUNT, blender::GEO_NODE_CURVE_RESAMPLE_EVALUATED, blender::GEO_NODE_CURVE_RESAMPLE_LENGTH, blender::nodes::GeoNodeExecParams::get_attribute_filter(), blender::nodes::GeoNodeExecParams::get_output_anonymous_attribute_id_if_needed(), blender::bke::GeometryComponent::Instance, layer_pointclouds_to_instances(), length(), blender::nodes::GeoNodeExecParams::node(), node_geo_exec(), blender::geometry::ResampleCurvesOutputAttributeIDs::normal_id, blender::bke::GeometryComponent::PointCloud, blender::nodes::GeometryComponentEditData::remember_deformed_positions_if_necessary(), blender::geometry::resample_to_count(), blender::geometry::resample_to_evaluated(), blender::geometry::resample_to_length(), blender::nodes::GeoNodeExecParams::set_output(), storage, blender::bke::greasepencil::Drawing::strokes(), and blender::geometry::ResampleCurvesOutputAttributeIDs::tangent_id.
Referenced by node_geo_exec(), and node_register().
Definition at line 70 of file node_geo_curve_to_points.cc.
References blender::data, blender::GEO_NODE_CURVE_RESAMPLE_COUNT, node, and node_init().
Referenced by node_init(), and node_register().
|
static |
Definition at line 65 of file node_geo_curve_to_points.cc.
References node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 373 of file node_geo_curve_to_points.cc.
References blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, GEO_NODE_CURVE_TO_POINTS, blender::geo_node_type_base(), blender::bke::bNodeType::geometry_node_execute, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, NODE_CLASS_GEOMETRY, blender::node_copy_standard_storage(), node_declare(), blender::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, blender::ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 342 of file node_geo_curve_to_points.cc.
References blender::GEO_NODE_CURVE_RESAMPLE_COUNT, blender::GEO_NODE_CURVE_RESAMPLE_EVALUATED, blender::GEO_NODE_CURVE_RESAMPLE_LENGTH, NOD_storage_enum_accessors, node_rna(), and blender::nodes::RNA_def_node_enum().
Referenced by node_register(), and node_rna().