|
Blender V5.0
|
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 205 of file node_fn_compare.cc.
Referenced by get_multi_function().
|
static |
Definition at line 615 of file node_fn_compare.cc.
References 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, SOCK_STRING, and bNode::storage.
Referenced by node_rna().
|
static |
Definition at line 125 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 210 of file node_fn_compare.cc.
References abs, angle(), angle_v3v3(), b, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::b, component_average(), data, blender::math::dot(), blender::ColorRGBA< ChannelStorageType, Space, Alpha >::g, IMB_colormanagement_get_luminance(), 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, blender::ColorRGBA< ChannelStorageType, Space, Alpha >::r, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_STRING, SOCK_VECTOR, and bNode::storage.
Referenced by node_build_multi_function().
|
static |
Definition at line 609 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 29 of file node_fn_compare.cc.
References b, BLT_I18NCONTEXT_ID_NODETREE, blender::nodes::decl::Float::default_value, max, min, node_declare(), PROP_ANGLE, and blender::nodes::SocketDeclaration::translation_context.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 162 of file node_fn_compare.cc.
References ELEM, get_compare_type_for_operation(), 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 100 of file node_fn_compare.cc.
References data, MEM_callocN(), NODE_COMPARE_GREATER_THAN, NODE_COMPARE_MODE_ELEMENT, SOCK_FLOAT, and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 191 of file node_fn_compare.cc.
References BLI_strncpy_utf8(), data, IFACE_, N_, name, RNA_enum_name(), rna_enum_node_compare_operation_items, and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 60 of file node_fn_compare.cc.
References data, uiLayout::prop(), ptr, SOCK_VECTOR, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 736 of file node_fn_compare.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, FN_NODE_COMPARE, fn_node_type_base(), blender::bke::bNodeType::gather_link_search_ops, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::labelfunc, blender::bke::bNodeType::nclass, 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, blender::bke::bNodeType::ui_description, blender::bke::bNodeType::ui_name, and blender::bke::bNodeType::updatefunc.
|
static |
Definition at line 642 of file node_fn_compare.cc.
References 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, bNode::storage, and EnumPropertyItem::value.
Referenced by node_register().
Definition at line 70 of file node_fn_compare.cc.
References BLI_findlink(), data, ELEM, bNode::inputs, 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, bNode::storage, and bNodeTree::type.
Referenced by node_register().