Blender V4.3
blender::bke::pbvh::GridsNode Struct Reference

#include <BKE_pbvh_api.hh>

Inherits blender::bke::pbvh::Node.

Public Member Functions

Span< intgrids () const

Public Attributes

Span< intprim_indices_
Public Attributes inherited from blender::bke::pbvh::Node
Bounds< float3bounds_ = {}
Bounds< float3bounds_orig_ = {}
int children_offset_ = 0
PBVHNodeFlags flag_ = PBVH_UpdateRedraw
float tmin_ = 0.0f
int debug_draw_gen_ = 0
pixels::NodeDatapixels_ = nullptr

Detailed Description

Definition at line 169 of file BKE_pbvh_api.hh.

Member Function Documentation

◆ grids()

Span< int > blender::bke::pbvh::GridsNode::grids ( ) const
inline

Return grid indices contained by the node.

Definition at line 635 of file BKE_pbvh_api.hh.

References prim_indices_.

Referenced by blender::ed::sculpt_paint::cloth::apply_filter_forces_grids(), blender::ed::sculpt_paint::mask::apply_mask_grids(), blender::ed::sculpt_paint::project::apply_projection_grids(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_grids(), blender::ed::sculpt_paint::boundary::calc_bend_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::boundary::calc_grab_grids(), blender::ed::sculpt_paint::calc_grids(), blender::ed::sculpt_paint::pose::calc_grids(), blender::ed::sculpt_paint::boundary::calc_inflate_grids(), blender::ed::sculpt_paint::boundary::calc_slide_grids(), blender::ed::sculpt_paint::boundary::calc_smooth_grids(), blender::ed::sculpt_paint::boundary::calc_twist_grids(), blender::ed::sculpt_paint::mask::decrease_contrast_mask_grids(), blender::ed::sculpt_paint::elastic_transform_node_grids(), blender::ed::sculpt_paint::fake_neighbor_search_grids(), blender::ed::sculpt_paint::undo::fill_node_data_grids(), blender::ed::sculpt_paint::mask::gesture_apply_for_symmetry_pass(), blender::ed::sculpt_paint::pose::grow_factors_grids(), blender::ed::sculpt_paint::mask::grow_mask_grids(), blender::ed::sculpt_paint::mask::increase_contrast_mask_grids(), blender::bke::pbvh::node_face_indices_calc_grids(), blender::bke::pbvh::node_raycast_grids(), blender::bke::pbvh::node_update_mask_grids(), blender::bke::pbvh::pbvh_grids_node_nearest_to_ray(), blender::ed::sculpt_paint::sample_node_surface_grids(), blender::ed::sculpt_paint::mask::sharpen_mask_grids(), blender::ed::sculpt_paint::mask::shrink_mask_grids(), blender::ed::sculpt_paint::mask::smooth_mask_grids(), blender::ed::sculpt_paint::undo::store_vert_visibility_grids(), blender::ed::sculpt_paint::transform_node_grids(), blender::ed::sculpt_paint::expand::update_mask_grids(), and blender::bke::pbvh::update_node_bounds_grids().

Member Data Documentation

◆ prim_indices_

Span<int> blender::bke::pbvh::GridsNode::prim_indices_

Multires grid indices for this node. Refers to a subset of Tree::prim_indices_.

Definition at line 171 of file BKE_pbvh_api.hh.

Referenced by blender::bke::pbvh::build_nodes_recursive_grids(), grids(), and blender::bke::pbvh::node_update_visibility_grids().


The documentation for this struct was generated from the following file: