Blender V4.5
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 180 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 650 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 182 of file BKE_paint_bvh.hh.

Referenced by grids().


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