Blender  V3.3
Classes | Functions
blender::nodes::node_geo_transfer_attribute_cc Namespace Reference

Classes

class  NearestInterpolatedTransferFunction
 
class  NearestTransferFunction
 
class  IndexTransferFunction
 

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_init (bNodeTree *UNUSED(tree), bNode *node)
 
static void node_update (bNodeTree *ntree, bNode *node)
 
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
 
static void get_closest_in_bvhtree (BVHTreeFromMesh &tree_data, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void get_closest_pointcloud_points (const PointCloud &pointcloud, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_indices, const MutableSpan< float > r_distances_sq)
 
static void get_closest_mesh_points (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_point_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void get_closest_mesh_edges (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_edge_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void get_closest_mesh_looptris (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_looptri_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void get_closest_mesh_polygons (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_poly_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
static void get_closest_mesh_corners (const Mesh &mesh, const VArray< float3 > &positions, const IndexMask mask, const MutableSpan< int > r_corner_indices, const MutableSpan< float > r_distances_sq, const MutableSpan< float3 > r_positions)
 
template<typename T >
void copy_with_indices (const VArray< T > &src, const IndexMask mask, const Span< int > indices, const MutableSpan< T > dst)
 
template<typename T >
void copy_with_indices_clamped (const VArray< T > &src, const IndexMask mask, const VArray< int > &indices, const MutableSpan< T > dst)
 
template<typename T >
void 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)
 
static bool component_is_available (const GeometrySet &geometry, const GeometryComponentType type, const eAttrDomain domain)
 
static const GeometryComponentfind_source_component (const GeometrySet &geometry, const eAttrDomain domain)
 
static GField get_input_attribute_field (GeoNodeExecParams &params, const eCustomDataType data_type)
 
static void output_attribute_field (GeoNodeExecParams &params, GField field)
 
static void node_geo_exec (GeoNodeExecParams params)
 

Function Documentation

◆ component_is_available()

static bool blender::nodes::node_geo_transfer_attribute_cc::component_is_available ( const GeometrySet geometry,
const GeometryComponentType  type,
const eAttrDomain  domain 
)
static

◆ copy_with_indices()

template<typename T >
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 
)

◆ copy_with_indices_and_comparison()

template<typename T >
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 
)

◆ copy_with_indices_clamped()

template<typename T >
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 
)

◆ find_source_component()

static const GeometryComponent* blender::nodes::node_geo_transfer_attribute_cc::find_source_component ( const GeometrySet geometry,
const eAttrDomain  domain 
)
static

◆ get_closest_in_bvhtree()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_in_bvhtree ( BVHTreeFromMesh tree_data,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_indices,
const MutableSpan< float r_distances_sq,
const MutableSpan< float3 r_positions 
)
static

◆ get_closest_mesh_corners()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_corners ( const Mesh mesh,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_corner_indices,
const MutableSpan< float r_distances_sq,
const MutableSpan< float3 r_positions 
)
static

◆ get_closest_mesh_edges()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_edges ( const Mesh mesh,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_edge_indices,
const MutableSpan< float r_distances_sq,
const MutableSpan< float3 r_positions 
)
static

◆ get_closest_mesh_looptris()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_looptris ( const Mesh mesh,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_looptri_indices,
const MutableSpan< float r_distances_sq,
const MutableSpan< float3 r_positions 
)
static

◆ get_closest_mesh_points()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_points ( const Mesh mesh,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_point_indices,
const MutableSpan< float r_distances_sq,
const MutableSpan< float3 r_positions 
)
static

◆ get_closest_mesh_polygons()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_mesh_polygons ( const Mesh mesh,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_poly_indices,
const MutableSpan< float r_distances_sq,
const MutableSpan< float3 r_positions 
)
static

◆ get_closest_pointcloud_points()

static void blender::nodes::node_geo_transfer_attribute_cc::get_closest_pointcloud_points ( const PointCloud pointcloud,
const VArray< float3 > &  positions,
const IndexMask  mask,
const MutableSpan< int >  r_indices,
const MutableSpan< float r_distances_sq 
)
static

◆ get_input_attribute_field()

static GField blender::nodes::node_geo_transfer_attribute_cc::get_input_attribute_field ( GeoNodeExecParams params,
const eCustomDataType  data_type 
)
static

◆ node_declare()

static void blender::nodes::node_geo_transfer_attribute_cc::node_declare ( NodeDeclarationBuilder b)
static

◆ node_gather_link_searches()

static void blender::nodes::node_geo_transfer_attribute_cc::node_gather_link_searches ( GatherLinkSearchOpParams params)
static

◆ node_geo_exec()

static void blender::nodes::node_geo_transfer_attribute_cc::node_geo_exec ( GeoNodeExecParams  params)
static

◆ node_init()

static void blender::nodes::node_geo_transfer_attribute_cc::node_init ( bNodeTree UNUSEDtree,
bNode node 
)
static

◆ node_layout()

static void blender::nodes::node_geo_transfer_attribute_cc::node_layout ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

◆ node_update()

static void blender::nodes::node_geo_transfer_attribute_cc::node_update ( bNodeTree ntree,
bNode node 
)
static

◆ output_attribute_field()

static void blender::nodes::node_geo_transfer_attribute_cc::output_attribute_field ( GeoNodeExecParams params,
GField  field 
)
static