Blender V4.5
blender::ed::sculpt_paint::flood_fill::FillDataGrids Struct Reference

#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< SubdivCCGCoordqueue
 
BitVector visited_verts
 
Span< int > fake_neighbors
 

Detailed Description

Definition at line 46 of file sculpt_flood_fill.hh.

Constructor & Destructor Documentation

◆ FillDataGrids() [1/2]

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

Definition at line 51 of file sculpt_flood_fill.hh.

◆ FillDataGrids() [2/2]

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

Member Function Documentation

◆ add_and_skip_initial()

void blender::ed::sculpt_paint::flood_fill::FillDataGrids::add_and_skip_initial ( SubdivCCGCoord vertex,
int index )

◆ add_initial() [1/2]

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.

◆ add_initial() [2/2]

◆ execute()

Member Data Documentation

◆ fake_neighbors

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

◆ queue

std::queue<SubdivCCGCoord> blender::ed::sculpt_paint::flood_fill::FillDataGrids::queue

Definition at line 47 of file sculpt_flood_fill.hh.

◆ visited_verts

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(), and execute().


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