19 .
description(
N_(
"The parts of the geometry that go into the first output"));
21 .description(
N_(
"The parts of the geometry in the selection"));
23 .description(
N_(
"The parts of the geometry not in the selection"));
28 uiItemR(layout,
ptr,
"domain", 0,
"", ICON_NONE);
48 auto separate_geometry_maybe_recursively = [&](
GeometrySet &geometry_set,
65 if (
params.output_is_required(
"Selection")) {
66 separate_geometry_maybe_recursively(geometry_set, selection_field);
67 params.set_output(
"Selection", std::move(geometry_set));
69 if (
params.output_is_required(
"Inverted")) {
71 params.set_output(
"Inverted", std::move(second_set));
86 "NodeGeometrySeparateGeometry",
#define NODE_STORAGE_FUNCS(StorageT)
void node_type_init(struct bNodeType *ntype, void(*initfunc)(struct bNodeTree *ntree, struct bNode *node))
#define NODE_CLASS_GEOMETRY
void node_type_storage(struct bNodeType *ntype, const char *storagename, void(*freefunc)(struct bNode *node), void(*copyfunc)(struct bNodeTree *dest_ntree, struct bNode *dest_node, const struct bNode *src_node))
#define GEO_NODE_SEPARATE_GEOMETRY
void nodeRegisterType(struct bNodeType *ntype)
@ GEO_NODE_DELETE_GEOMETRY_MODE_ALL
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
StringRefNull description() const
Field< bool > invert_boolean_field(const Field< bool > &field)
static void node_declare(NodeDeclarationBuilder &b)
static void node_geo_exec(GeoNodeExecParams params)
static void node_init(bNodeTree *UNUSED(tree), bNode *node)
static void node_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
void separate_geometry(GeometrySet &geometry_set, eAttrDomain domain, GeometryNodeDeleteGeometryMode mode, const Field< bool > &selection_field, bool &r_is_error)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
static void node_init(const struct bContext *C, bNodeTree *ntree, bNode *node)
void register_node_type_geo_separate_geometry()
void geo_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
void node_copy_standard_storage(bNodeTree *UNUSED(dest_ntree), bNode *dest_node, const bNode *src_node)
void node_free_standard_storage(bNode *node)
void modify_geometry_sets(ForeachSubGeometryCallback callback)
NodeGeometryExecFunction geometry_node_execute
void(* draw_buttons)(struct uiLayout *, struct bContext *C, struct PointerRNA *ptr)
NodeDeclareFunction declare