Blender V5.0
blender::bke::pbvh::GridsNode Struct Reference

#include <BKE_paint_bvh.hh>

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

Public Member Functions

Span< int > grids () const
Public Member Functions inherited from blender::bke::pbvh::Node
std::optional< int > parent () const
const Bounds< float3 > & bounds () const
const Bounds< float3 > & bounds_orig () const

Public Attributes

Span< int > prim_indices_
Public Attributes inherited from blender::bke::pbvh::Node
int parent_ = -1
Bounds< float3bounds_ = {}
Bounds< float3bounds_orig_ = {}
int children_offset_ = 0
Flags flag_ = None
float tmin_ = 0.0f
int debug_draw_gen_ = 0
pixels::NodeDatapixels_ = nullptr

Additional Inherited Members

Public Types inherited from blender::bke::pbvh::Node
enum  Flags : uint32_t {
  None = 0 , Leaf = 1 << 0 , FullyHidden = 1 << 10 , FullyMasked = 1 << 11 ,
  FullyUnmasked = 1 << 12 , UpdateTopology = 1 << 13 , RebuildPixels = 1 << 15 , TexLeaf = 1 << 16 ,
  TopologyUpdated = 1 << 17
}

Detailed Description

Definition at line 181 of file BKE_paint_bvh.hh.

Member Function Documentation

◆ grids()

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

Return grid indices contained by the node.

Definition at line 672 of file BKE_paint_bvh.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::brushes::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::brushes::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 183 of file BKE_paint_bvh.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: