|
Blender V5.0
|
#include <sculpt_flood_fill.hh>
Public Member Functions | |
| FillDataGrids (int size) | |
| FillDataGrids (int size, Span< int > fake_neighbors) | |
| void | add_initial (SubdivCCGCoord vertex) |
| void | add_initial (const CCGKey &key, Span< int > verts) |
| void | add_and_skip_initial (SubdivCCGCoord vertex, int index) |
| void | execute (Object &object, const SubdivCCG &subdiv_ccg, FunctionRef< bool(SubdivCCGCoord from_v, SubdivCCGCoord to_v, bool is_duplicate)> func) |
Public Attributes | |
| std::queue< SubdivCCGCoord > | queue |
| BitVector | visited_verts |
| Span< int > | fake_neighbors |
Definition at line 46 of file sculpt_flood_fill.hh.
|
inline |
Definition at line 51 of file sculpt_flood_fill.hh.
References size(), and visited_verts.
|
inline |
Definition at line 52 of file sculpt_flood_fill.hh.
References BLI_assert, fake_neighbors, size(), and visited_verts.
| void blender::ed::sculpt_paint::flood_fill::FillDataGrids::add_and_skip_initial | ( | SubdivCCGCoord | vertex, |
| int | index ) |
Definition at line 68 of file sculpt_flood_fill.cc.
References queue, and visited_verts.
Referenced by blender::ed::sculpt_paint::expand::calc_topology_falloff_from_verts().
| void blender::ed::sculpt_paint::flood_fill::FillDataGrids::add_initial | ( | const CCGKey & | key, |
| Span< int > | verts ) |
Definition at line 43 of file sculpt_flood_fill.cc.
References add_initial(), SubdivCCGCoord::from_index(), and verts.
| void blender::ed::sculpt_paint::flood_fill::FillDataGrids::add_initial | ( | SubdivCCGCoord | vertex | ) |
Definition at line 38 of file sculpt_flood_fill.cc.
References queue.
Referenced by add_initial(), blender::ed::sculpt_paint::pose::calc_pose_origin_and_factor_grids(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_grids(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_grids(), and blender::ed::sculpt_paint::expand::normals_falloff_create().
| void blender::ed::sculpt_paint::flood_fill::FillDataGrids::execute | ( | Object & | object, |
| const SubdivCCG & | subdiv_ccg, | ||
| FunctionRef< bool(SubdivCCGCoord from_v, SubdivCCGCoord to_v, bool is_duplicate)> | func ) |
Definition at line 119 of file sculpt_flood_fill.cc.
References BKE_subdiv_ccg_key_top_level(), BKE_subdiv_ccg_neighbor_coords_get(), SubdivCCGNeighbors::coords, FAKE_NEIGHBOR_NONE, fake_neighbors, SubdivCCGCoord::from_index(), CCGKey::grid_area, SubdivCCG::grid_hidden, SubdivCCGCoord::grid_index, CCGKey::grid_size, i, blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), blender::bits::BitGroupVector< InlineBufferCapacity, Allocator >::is_empty(), SubdivCCGNeighbors::num_duplicates, queue, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), SubdivCCGCoord::to_index(), visited_verts, SubdivCCGCoord::x, and SubdivCCGCoord::y.
Referenced by blender::ed::sculpt_paint::pose::calc_pose_origin_and_factor_grids(), blender::ed::sculpt_paint::expand::calc_topology_falloff_from_verts(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_grids(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_grids(), and blender::ed::sculpt_paint::expand::normals_falloff_create().
| Span<int> blender::ed::sculpt_paint::flood_fill::FillDataGrids::fake_neighbors |
Definition at line 49 of file sculpt_flood_fill.hh.
Referenced by execute(), and FillDataGrids().
| std::queue<SubdivCCGCoord> blender::ed::sculpt_paint::flood_fill::FillDataGrids::queue |
Definition at line 47 of file sculpt_flood_fill.hh.
Referenced by add_and_skip_initial(), add_initial(), and execute().
| BitVector blender::ed::sculpt_paint::flood_fill::FillDataGrids::visited_verts |
Definition at line 48 of file sculpt_flood_fill.hh.
Referenced by add_and_skip_initial(), execute(), FillDataGrids(), and FillDataGrids().