Blender V5.0
blender::ed::sculpt_paint::flood_fill::FillDataMesh Struct Reference

#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

Detailed Description

Definition at line 26 of file sculpt_flood_fill.hh.

Constructor & Destructor Documentation

◆ FillDataMesh() [1/2]

blender::ed::sculpt_paint::flood_fill::FillDataMesh::FillDataMesh ( int size)
inline

Definition at line 31 of file sculpt_flood_fill.hh.

References size(), and visited_verts.

◆ FillDataMesh() [2/2]

blender::ed::sculpt_paint::flood_fill::FillDataMesh::FillDataMesh ( int size,
Span< int > fake_neighbors )
inline

Definition at line 32 of file sculpt_flood_fill.hh.

References BLI_assert, fake_neighbors, size(), and visited_verts.

Member Function Documentation

◆ add_and_skip_initial()

void blender::ed::sculpt_paint::flood_fill::FillDataMesh::add_and_skip_initial ( int vertex)

◆ add_initial() [1/2]

◆ add_initial() [2/2]

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.

◆ execute()

Member Data Documentation

◆ fake_neighbors

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().

◆ queue

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().

◆ visited_verts

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().


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