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

Member Data Documentation

◆ bm_faces_

Set<BMFace *, 0> blender::bke::pbvh::BMeshNode::bm_faces_

Set of pointers to the faces used by this node. Faces are always triangles (dynamic topology forcibly triangulates the mesh).

Definition at line 193 of file BKE_paint_bvh.hh.

Referenced by blender::bke::pbvh::pbvh_bmesh_face_remove(), blender::bke::pbvh::pbvh_bmesh_node_finalize(), and blender::bke::pbvh::pbvh_bmesh_node_split().

◆ bm_other_verts_

◆ bm_unique_verts_

◆ orig_positions_

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

Stores original coordinates of triangles, typically before some brush stroke operation.

Definition at line 200 of file BKE_paint_bvh.hh.

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

◆ orig_verts_

Array<BMVert *, 0> blender::bke::pbvh::BMeshNode::orig_verts_

Definition at line 206 of file BKE_paint_bvh.hh.


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