Blender V5.3
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< float3 > bounds_ = {}
Bounds< float3 > bounds_orig_ = {}
int children_offset_ = 0
Flags flag_ = None
int debug_draw_gen_ = 0

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 , TopologyUpdated = 1 << 17
}

Detailed Description

Definition at line 174 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 668 of file BKE_paint_bvh.hh.

References prim_indices_.

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 176 of file BKE_paint_bvh.hh.

Referenced by grids().


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