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

#include <BKE_paint_bvh.hh>

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

Public Attributes

Set< BMFace *, 0 > bm_faces_
Set< BMVert *, 0 > bm_unique_verts_
Set< BMVert *, 0 > bm_other_verts_
Array< float3, 0 > orig_positions_
Array< int3, 0 > orig_tris_
Array< BMVert *, 0 > orig_verts_
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
}
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

Detailed Description

Definition at line 189 of file BKE_paint_bvh.hh.

Member Data Documentation

◆ bm_faces_

◆ bm_other_verts_

◆ bm_unique_verts_

◆ orig_positions_

Array<float3, 0> blender::bke::pbvh::BMeshNode::orig_positions_

◆ orig_tris_

Array<int3, 0> blender::bke::pbvh::BMeshNode::orig_tris_

Original triangulation, referencing orig_positions_ and orig_verts_ elements. Storing this allows topology changes during strokes.

Definition at line 206 of file BKE_paint_bvh.hh.

Referenced by BKE_pbvh_bmesh_node_save_orig(), BKE_pbvh_node_get_bm_orco_data(), blender::bke::pbvh::bmesh_node_nearest_to_ray(), blender::bke::pbvh::node_raycast_bmesh(), and blender::bke::pbvh::pbvh_bmesh_node_drop_orig().

◆ orig_verts_


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