Blender V5.0
blender::nodes::node_geo_curve_fill_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
static void node_init (bNodeTree *, bNode *node)
static void fill_curve_vert_indices (const OffsetIndices< int > offsets, MutableSpan< Vector< int > > faces)
static meshintersect::CDT_result< double > do_cdt (const bke::CurvesGeometry &curves, const CDT_output_type output_type)
static meshintersect::CDT_result< double > do_cdt_with_mask (const bke::CurvesGeometry &curves, const CDT_output_type output_type, const IndexMask &mask)
static Array< meshintersect::CDT_result< double > > do_group_aware_cdt (const bke::CurvesGeometry &curves, const CDT_output_type output_type, const Field< int > &group_index_field)
static Meshcdts_to_mesh (const Span< meshintersect::CDT_result< double > > results)
static void curve_fill_calculate (GeometrySet &geometry_set, const GeometryNodeCurveFillMode mode, const Field< int > &group_index)
static void node_geo_exec (GeoNodeExecParams params)
static void node_register ()

Variables

static const EnumPropertyItem mode_items []

Function Documentation

◆ cdts_to_mesh()

Mesh * blender::nodes::node_geo_curve_fill_cc::cdts_to_mesh ( const Span< meshintersect::CDT_result< double > > results)
static

◆ curve_fill_calculate()

◆ do_cdt()

◆ do_cdt_with_mask()

◆ do_group_aware_cdt()

◆ fill_curve_vert_indices()

void blender::nodes::node_geo_curve_fill_cc::fill_curve_vert_indices ( const OffsetIndices< int > offsets,
MutableSpan< Vector< int > > faces )
static

Definition at line 55 of file node_geo_curve_fill.cc.

References faces, and blender::threading::parallel_for().

Referenced by do_cdt_with_mask().

◆ node_declare()

void blender::nodes::node_geo_curve_fill_cc::node_declare ( NodeDeclarationBuilder & b)
static

◆ node_geo_exec()

void blender::nodes::node_geo_curve_fill_cc::node_geo_exec ( GeoNodeExecParams params)
static

◆ node_init()

void blender::nodes::node_geo_curve_fill_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 49 of file node_geo_curve_fill.cc.

References MEM_callocN(), and bNode::storage.

Referenced by node_register().

◆ node_register()

Variable Documentation

◆ mode_items

const EnumPropertyItem blender::nodes::node_geo_curve_fill_cc::mode_items[]
static
Initial value:
= {
{GEO_NODE_CURVE_FILL_MODE_TRIANGULATED, "TRIANGLES", 0, N_("Triangles"), ""},
{GEO_NODE_CURVE_FILL_MODE_NGONS, "NGONS", 0, N_("N-gons"), ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ GEO_NODE_CURVE_FILL_MODE_TRIANGULATED
@ GEO_NODE_CURVE_FILL_MODE_NGONS
#define N_(msgid)

Definition at line 25 of file node_geo_curve_fill.cc.

Referenced by node_declare().