|
Blender V5.3
|
#include <BKE_paint_bvh.hh>
Inherits blender::blender::NonCopyable.
Inherited by blender::bke::pbvh::BMeshNode, blender::bke::pbvh::GridsNode, and blender::bke::pbvh::MeshNode.
Public Types | |
| enum | Flags : uint32_t { None = 0 , Leaf = 1 << 0 , FullyHidden = 1 << 10 , FullyMasked = 1 << 11 , FullyUnmasked = 1 << 12 , UpdateTopology = 1 << 13 , TopologyUpdated = 1 << 17 } |
Public Member Functions | |
| std::optional< int > | parent () const |
| const Bounds< float3 > & | bounds () const |
| const Bounds< float3 > & | bounds_orig () const |
Public Attributes | |
| int | parent_ = -1 |
| Bounds< float3 > | bounds_ = {} |
| Bounds< float3 > | bounds_orig_ = {} |
| int | children_offset_ = 0 |
| Flags | flag_ = None |
| int | debug_draw_gen_ = 0 |
Definition at line 64 of file BKE_paint_bvh.hh.
| Enumerator | |
|---|---|
| None | |
| Leaf | |
| FullyHidden | |
| FullyMasked | |
| FullyUnmasked | |
| UpdateTopology | |
| TopologyUpdated | Used internally by pbvh_bmesh.cc. |
Definition at line 68 of file BKE_paint_bvh.hh.
Definition at line 637 of file BKE_paint_bvh.hh.
References bounds_.
Referenced by blender::bke::pbvh::clip_ray_ortho().
Definition at line 642 of file BKE_paint_bvh.hh.
References bounds_orig_.
Referenced by blender::bke::pbvh::clip_ray_ortho().
|
inline |
Definition at line 628 of file BKE_paint_bvh.hh.
References parent_.
Axis aligned min and max of all vertex positions in the node.
Definition at line 85 of file BKE_paint_bvh.hh.
Referenced by bounds(), and blender::bke::pbvh::pbvh_bmesh_node_finalize().
Bounds from the start of current brush stroke.
Definition at line 87 of file BKE_paint_bvh.hh.
Referenced by bounds_orig(), and blender::bke::pbvh::pbvh_bmesh_node_finalize().
| int blender::bke::pbvh::Node::children_offset_ = 0 |
Definition at line 91 of file BKE_paint_bvh.hh.
| int blender::bke::pbvh::Node::debug_draw_gen_ = 0 |
Used to flash colors of updated node bounding boxes in debug draw mode (when G.debug_value / bpy.app.debug_value is 889).
Definition at line 102 of file BKE_paint_bvh.hh.
Definition at line 95 of file BKE_paint_bvh.hh.
Referenced by blender::BKE_pbvh_bmesh_after_stroke(), blender::bke::pbvh::pbvh_bmesh_face_remove(), blender::bke::pbvh::pbvh_bmesh_node_split(), blender::bke::pbvh::pbvh_bmesh_vert_ownership_transfer(), and blender::bke::pbvh::pbvh_bmesh_vert_remove().
| int blender::bke::pbvh::Node::parent_ = -1 |
Definition at line 82 of file BKE_paint_bvh.hh.
Referenced by parent(), and blender::bke::pbvh::pbvh_bmesh_node_split().