Blender
V3.3
|
Classes | |
class | NearestInterpolatedTransferFunction |
class | NearestTransferFunction |
class | IndexTransferFunction |
|
static |
Definition at line 357 of file node_geo_transfer_attribute.cc.
References component(), GeometrySet::get_component_for_read(), GeometrySet::has(), and type.
Referenced by find_source_component(), and blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::NearestTransferFunction().
void blender::nodes::node_geo_transfer_attribute_cc::copy_with_indices | ( | const VArray< T > & | src, |
const IndexMask | mask, | ||
const Span< int > | indices, | ||
const MutableSpan< T > | dst | ||
) |
Definition at line 303 of file node_geo_transfer_attribute.cc.
References indices, mask(), and src.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call().
void blender::nodes::node_geo_transfer_attribute_cc::copy_with_indices_and_comparison | ( | const VArray< T > & | src_1, |
const VArray< T > & | src_2, | ||
const Span< float > | distances_1, | ||
const Span< float > | distances_2, | ||
const IndexMask | mask, | ||
const Span< int > | indices_1, | ||
const Span< int > | indices_2, | ||
const MutableSpan< T > | dst | ||
) |
Definition at line 335 of file node_geo_transfer_attribute.cc.
References blender::VArrayCommon< T >::is_empty(), and mask().
void blender::nodes::node_geo_transfer_attribute_cc::copy_with_indices_clamped | ( | const VArray< T > & | src, |
const IndexMask | mask, | ||
const VArray< int > & | indices, | ||
const MutableSpan< T > | dst | ||
) |
Definition at line 317 of file node_geo_transfer_attribute.cc.
References mask(), blender::threading::parallel_for(), and src.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::IndexTransferFunction::call().
|
static |
Definition at line 601 of file node_geo_transfer_attribute.cc.
References component_is_available(), GEO_COMPONENT_TYPE_CURVE, GEO_COMPONENT_TYPE_INSTANCES, GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_POINT_CLOUD, and GeometrySet::get_component_for_read().
Referenced by blender::nodes::node_geo_transfer_attribute_cc::IndexTransferFunction::evaluate_field().
|
static |
Definition at line 138 of file node_geo_transfer_attribute.cc.
References BLI_assert, BLI_bvhtree_find_nearest(), BVHTreeNearest::co, BVHTreeNearest::dist_sq, BVHTreeNearest::index, blender::MutableSpan< T >::is_empty(), mask(), BVHTreeFromMesh::nearest_callback, positions, blender::MutableSpan< T >::size(), and BVHTreeFromMesh::tree.
Referenced by get_closest_mesh_edges(), get_closest_mesh_looptris(), and get_closest_mesh_points().
|
static |
Definition at line 259 of file node_geo_transfer_attribute.cc.
References BLI_assert, MVert::co, blender::math::distance_squared(), get_closest_mesh_polygons(), blender::MutableSpan< T >::is_empty(), MPoly::loopstart, mask(), mesh, Mesh::mloop, Mesh::mpoly, Mesh::mvert, positions, Mesh::totloop, MPoly::totloop, and MLoop::v.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call().
|
static |
Definition at line 208 of file node_geo_transfer_attribute.cc.
References BKE_bvhtree_from_mesh_get(), BLI_assert, BVHTREE_FROM_EDGES, free_bvhtree_from_mesh(), get_closest_in_bvhtree(), mask(), mesh, positions, and Mesh::totedge.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call().
|
static |
Definition at line 222 of file node_geo_transfer_attribute.cc.
References BKE_bvhtree_from_mesh_get(), BLI_assert, BVHTREE_FROM_LOOPTRI, free_bvhtree_from_mesh(), get_closest_in_bvhtree(), mask(), mesh, positions, and Mesh::totpoly.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestInterpolatedTransferFunction::call(), and get_closest_mesh_polygons().
|
static |
Definition at line 194 of file node_geo_transfer_attribute.cc.
References BKE_bvhtree_from_mesh_get(), BLI_assert, BVHTREE_FROM_VERTS, free_bvhtree_from_mesh(), get_closest_in_bvhtree(), mask(), mesh, positions, and Mesh::totvert.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call().
|
static |
Definition at line 237 of file node_geo_transfer_attribute.cc.
References BKE_mesh_runtime_looptri_ensure(), BKE_mesh_runtime_looptri_len(), BLI_assert, get_closest_mesh_looptris(), mask(), mesh, MLoopTri::poly, positions, and Mesh::totpoly.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call(), and get_closest_mesh_corners().
|
static |
Definition at line 167 of file node_geo_transfer_attribute.cc.
References BKE_bvhtree_from_pointcloud_get(), BLI_assert, BLI_bvhtree_find_nearest(), BVHTreeNearest::dist_sq, free_bvhtree_from_pointcloud(), BVHTreeNearest::index, blender::MutableSpan< T >::is_empty(), mask(), BVHTreeFromPointCloud::nearest_callback, positions, blender::MutableSpan< T >::size(), PointCloud::totpoint, and BVHTreeFromPointCloud::tree.
Referenced by blender::nodes::node_geo_transfer_attribute_cc::NearestTransferFunction::call().
|
static |
Definition at line 687 of file node_geo_transfer_attribute.cc.
References BLI_assert_unreachable, CD_PROP_BOOL, CD_PROP_COLOR, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, and params.
Referenced by node_geo_exec().
|
static |
Definition at line 29 of file node_geo_transfer_attribute.cc.
References usdtokens::b(), GEO_COMPONENT_TYPE_CURVE, GEO_COMPONENT_TYPE_INSTANCES, GEO_COMPONENT_TYPE_MESH, GEO_COMPONENT_TYPE_POINT_CLOUD, GEO_NODE_ATTRIBUTE_TRANSFER_INDEX, GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST_FACE_INTERPOLATED, blender::nodes::SocketDeclaration::make_available(), N_, and node.
Referenced by register_node_type_geo_transfer_attribute().
|
static |
Definition at line 120 of file node_geo_transfer_attribute.cc.
References CD_PROP_STRING, IFACE_, blender::nodes::NodeDeclaration::inputs(), node, blender::nodes::node_data_type_to_custom_data_type(), params, blender::nodes::search_link_ops_for_declarations(), and type.
Referenced by register_node_type_geo_transfer_attribute().
|
static |
Definition at line 734 of file node_geo_transfer_attribute.cc.
References blender::attribute_math::convert_to_static_type(), GEO_NODE_ATTRIBUTE_TRANSFER_INDEX, GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST, GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST_FACE_INTERPOLATED, get_input_attribute_field(), GeometrySet::get_mesh_for_read(), GeometrySet::has_curves(), GeometrySet::has_mesh(), GeometrySet::has_pointcloud(), indices, GeometrySet::is_empty(), mesh, output_attribute_field(), params, T, TIP_, Mesh::totpoly, and Mesh::totvert.
Referenced by register_node_type_geo_transfer_attribute().
|
static |
Definition at line 73 of file node_geo_transfer_attribute.cc.
References CD_PROP_FLOAT, data, GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST_FACE_INTERPOLATED, and node.
|
static |
Definition at line 59 of file node_geo_transfer_attribute.cc.
References PointerRNA::data, GEO_NODE_ATTRIBUTE_TRANSFER_NEAREST_FACE_INTERPOLATED, NodeGeometryTransferAttribute::mode, node, ptr, and uiItemR().
Referenced by register_node_type_geo_transfer_attribute().
|
static |
Definition at line 81 of file node_geo_transfer_attribute.cc.
References CD_PROP_BOOL, CD_PROP_COLOR, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, NodeGeometryTransferAttribute::data_type, GEO_NODE_ATTRIBUTE_TRANSFER_INDEX, NodeGeometryTransferAttribute::mode, bNodeSocket::next, node, nodeSetSocketAvailability(), and ntree.
Referenced by register_node_type_geo_transfer_attribute().
|
static |
Definition at line 706 of file node_geo_transfer_attribute.cc.
References CD_PROP_BOOL, CD_PROP_COLOR, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, blender::fn::GFieldBase< NodePtr >::cpp_type(), blender::bke::cpp_type_to_custom_data_type(), and params.
Referenced by node_geo_exec().