|
Blender V4.3
|
Classes | |
| class | SocketSearchOp |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_update (bNodeTree *ntree, bNode *node) |
| static void | node_init (bNodeTree *, bNode *node) |
| static std::optional< eNodeSocketDatatype > | get_compare_type_for_operation (const eNodeSocketDatatype type, const NodeCompareOperation operation) |
| static void | node_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
| static void | node_label (const bNodeTree *, const bNode *node, char *label, int label_maxncpy) |
| static float | component_average (float3 a) |
| static const mf::MultiFunction * | get_multi_function (const bNode &node) |
| static void | node_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static void | data_type_update (Main *bmain, Scene *scene, PointerRNA *ptr) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
Definition at line 204 of file node_fn_compare.cc.
Referenced by get_multi_function().
|
static |
Definition at line 614 of file node_fn_compare.cc.
References PointerRNA::data, NodeFunctionCompare::data_type, ELEM, NODE_COMPARE_COLOR_BRIGHTER, NODE_COMPARE_COLOR_DARKER, NODE_COMPARE_EQUAL, NODE_COMPARE_NOT_EQUAL, NodeFunctionCompare::operation, ptr, rna_Node_socket_update(), SOCK_RGBA, and SOCK_STRING.
Referenced by node_rna().
|
static |
Definition at line 124 of file node_fn_compare.cc.
References BLI_assert_unreachable, ELEM, NODE_COMPARE_COLOR_BRIGHTER, NODE_COMPARE_COLOR_DARKER, NODE_COMPARE_EQUAL, NODE_COMPARE_NOT_EQUAL, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_STRING, and SOCK_VECTOR.
Referenced by node_gather_link_searches().
|
static |
Definition at line 209 of file node_fn_compare.cc.
References abs(), angle(), angle_v3v3(), b, component_average(), blender::math::dot(), blender::math::length(), NODE_COMPARE_COLOR_BRIGHTER, NODE_COMPARE_COLOR_DARKER, NODE_COMPARE_EQUAL, NODE_COMPARE_GREATER_EQUAL, NODE_COMPARE_GREATER_THAN, NODE_COMPARE_LESS_EQUAL, NODE_COMPARE_LESS_THAN, NODE_COMPARE_MODE_AVERAGE, NODE_COMPARE_MODE_DIRECTION, NODE_COMPARE_MODE_DOT_PRODUCT, NODE_COMPARE_MODE_ELEMENT, NODE_COMPARE_MODE_LENGTH, NODE_COMPARE_NOT_EQUAL, rgb_to_grayscale(), SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_STRING, and SOCK_VECTOR.
Referenced by node_build_multi_function().
|
static |
Definition at line 608 of file node_fn_compare.cc.
References get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), and blender::nodes::NodeMultiFunctionBuilder::set_matching_fn().
Referenced by node_register().
|
static |
Definition at line 28 of file node_fn_compare.cc.
References b, BLT_I18NCONTEXT_ID_NODETREE, blender::nodes::SocketDeclaration::hide_label, min, PROP_ANGLE, blender::nodes::decl::Float::subtype, and blender::nodes::SocketDeclaration::translation_context.
Referenced by node_register().
|
static |
Definition at line 161 of file node_fn_compare.cc.
References ELEM, get_compare_type_for_operation(), EnumPropertyItem::identifier, IFACE_, NODE_COMPARE_GREATER_THAN, NODE_COMPARE_MODE_DIRECTION, params, rna_enum_node_compare_operation_items, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_IN, SOCK_INT, SOCK_RGBA, SOCK_STRING, and SOCK_VECTOR.
Referenced by node_register().
Definition at line 99 of file node_fn_compare.cc.
References data, NODE_COMPARE_GREATER_THAN, NODE_COMPARE_MODE_ELEMENT, and SOCK_FLOAT.
Referenced by node_register().
|
static |
Definition at line 190 of file node_fn_compare.cc.
References BLI_strncpy_utf8(), IFACE_, label, RNA_enum_name(), and rna_enum_node_compare_operation_items.
Referenced by node_register().
|
static |
Definition at line 59 of file node_fn_compare.cc.
References PointerRNA::data, ptr, SOCK_VECTOR, UI_ITEM_NONE, and uiItemR().
Referenced by node_register().
|
static |
Definition at line 737 of file node_fn_compare.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, fn_node_type_base(), blender::bke::bNodeType::gather_link_search_ops, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::labelfunc, node_build_multi_function(), NODE_CLASS_CONVERTER, node_copy_standard_storage(), node_declare(), node_free_standard_storage(), node_gather_link_searches(), node_init(), node_label(), node_layout(), blender::bke::node_register_type(), node_rna(), blender::bke::node_type_storage(), node_update(), blender::bke::bNodeType::rna_ext, ExtensionRNA::srna, and blender::bke::bNodeType::updatefunc.
|
static |
Definition at line 641 of file node_fn_compare.cc.
References PointerRNA::data, data_type_update(), ELEM, blender::nodes::enum_items_filter(), NOD_storage_enum_accessors, NODE_COMPARE_COLOR_BRIGHTER, NODE_COMPARE_COLOR_DARKER, NODE_COMPARE_EQUAL, NODE_COMPARE_MODE_AVERAGE, NODE_COMPARE_MODE_DIRECTION, NODE_COMPARE_MODE_DOT_PRODUCT, NODE_COMPARE_MODE_ELEMENT, NODE_COMPARE_MODE_LENGTH, NODE_COMPARE_NOT_EQUAL, ptr, blender::nodes::RNA_def_node_enum(), RNA_def_property_update_runtime(), rna_enum_node_compare_operation_items, rna_enum_node_socket_data_type_items, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, and EnumPropertyItem::value.
Referenced by node_register().
|
static |
Definition at line 69 of file node_fn_compare.cc.
References BLI_findlink(), ELEM, LISTBASE_FOREACH, NODE_COMPARE_EQUAL, NODE_COMPARE_MODE_DIRECTION, NODE_COMPARE_MODE_DOT_PRODUCT, NODE_COMPARE_NOT_EQUAL, blender::bke::node_set_socket_availability(), SOCK_INT, SOCK_STRING, SOCK_VECTOR, and bNodeTree::type.
Referenced by node_register().