|
Blender V5.0
|
#include <sculpt_flood_fill.hh>
Public Member Functions | |
| FillDataMesh (int size) | |
| FillDataMesh (int size, Span< int > fake_neighbors) | |
| void | add_initial (int vertex) |
| void | add_initial (Span< int > verts) |
| void | add_and_skip_initial (int vertex) |
| void | execute (Object &object, GroupedSpan< int > vert_to_face_map, FunctionRef< bool(int from_v, int to_v)> func) |
Public Attributes | |
| std::queue< int > | queue |
| BitVector | visited_verts |
| Span< int > | fake_neighbors |
Definition at line 26 of file sculpt_flood_fill.hh.
|
inline |
Definition at line 31 of file sculpt_flood_fill.hh.
References size(), and visited_verts.
|
inline |
Definition at line 32 of file sculpt_flood_fill.hh.
References BLI_assert, fake_neighbors, size(), and visited_verts.
| void blender::ed::sculpt_paint::flood_fill::FillDataMesh::add_and_skip_initial | ( | int | vertex | ) |
Definition at line 62 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::FillDataMesh::add_initial | ( | int | vertex | ) |
Definition at line 26 of file sculpt_flood_fill.cc.
References queue.
Referenced by add_initial(), blender::ed::sculpt_paint::pose::calc_pose_origin_and_factor_mesh(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_mesh(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_mesh(), blender::ed::sculpt_paint::mask::mask_by_color_contiguous_mesh(), and blender::ed::sculpt_paint::expand::normals_falloff_create().
| void blender::ed::sculpt_paint::flood_fill::FillDataMesh::add_initial | ( | Span< int > | verts | ) |
Definition at line 31 of file sculpt_flood_fill.cc.
References add_initial(), and verts.
| void blender::ed::sculpt_paint::flood_fill::FillDataMesh::execute | ( | Object & | object, |
| GroupedSpan< int > | vert_to_face_map, | ||
| FunctionRef< bool(int from_v, int to_v)> | func ) |
Definition at line 80 of file sculpt_flood_fill.cc.
References blender::bke::Face, faces, FAKE_NEIGHBOR_NONE, fake_neighbors, blender::bke::AttributeAccessor::lookup(), blender::bke::AttributeAccessor::lookup_or_default(), blender::bke::Point, queue, blender::ed::sculpt_paint::vert_neighbors_get_mesh(), and visited_verts.
Referenced by blender::ed::sculpt_paint::pose::calc_pose_origin_and_factor_mesh(), blender::ed::sculpt_paint::expand::calc_topology_falloff_from_verts(), blender::ed::sculpt_paint::auto_mask::fill_topology_automasking_factors_mesh(), blender::ed::sculpt_paint::pose::ik_chain_init_face_sets_fk_mesh(), blender::ed::sculpt_paint::mask::mask_by_color_contiguous_mesh(), and blender::ed::sculpt_paint::expand::normals_falloff_create().
| Span<int> blender::ed::sculpt_paint::flood_fill::FillDataMesh::fake_neighbors |
Definition at line 29 of file sculpt_flood_fill.hh.
Referenced by execute(), and FillDataMesh().
| std::queue<int> blender::ed::sculpt_paint::flood_fill::FillDataMesh::queue |
Definition at line 27 of file sculpt_flood_fill.hh.
Referenced by add_and_skip_initial(), add_initial(), and execute().
| BitVector blender::ed::sculpt_paint::flood_fill::FillDataMesh::visited_verts |
Definition at line 28 of file sculpt_flood_fill.hh.
Referenced by add_and_skip_initial(), execute(), FillDataMesh(), and FillDataMesh().