|
Blender V4.5
|
#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< float3 > | bounds_ = {} |
| Bounds< float3 > | bounds_orig_ = {} |
| int | children_offset_ = 0 |
| Flags | flag_ = None |
| float | tmin_ = 0.0f |
| int | debug_draw_gen_ = 0 |
| pixels::NodeData * | pixels_ = 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 |
Definition at line 188 of file BKE_paint_bvh.hh.
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().
See description of MeshNode::vert_indices_.
Definition at line 197 of file BKE_paint_bvh.hh.
Referenced by blender::bke::pbvh::pbvh_bmesh_collapse_edge(), blender::bke::pbvh::pbvh_bmesh_face_remove(), blender::bke::pbvh::pbvh_bmesh_node_finalize(), blender::bke::pbvh::pbvh_bmesh_vert_ownership_transfer(), and blender::bke::pbvh::pbvh_bmesh_vert_remove().
See description of MeshNode::vert_indices_.
Definition at line 195 of file BKE_paint_bvh.hh.
Referenced by blender::bke::pbvh::pbvh_bmesh_collapse_edge(), blender::bke::pbvh::pbvh_bmesh_face_remove(), blender::bke::pbvh::pbvh_bmesh_node_finalize(), blender::bke::pbvh::pbvh_bmesh_vert_ownership_transfer(), and blender::bke::pbvh::pbvh_bmesh_vert_remove().
Stores original coordinates of triangles, typically before some brush stroke operation.
Definition at line 200 of file BKE_paint_bvh.hh.
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.
Definition at line 206 of file BKE_paint_bvh.hh.