Blender V2.61 - r43446
|
#include "DNA_action_types.h"
#include "DNA_node_types.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "BKE_colortools.h"
#include "BKE_node.h"
#include "RNA_access.h"
#include "RNA_enum_types.h"
#include "MEM_guardedalloc.h"
#include "node_util.h"
Go to the source code of this file.
Functions | |
void | node_free_curves (bNode *node) |
void | node_free_standard_storage (bNode *node) |
void | node_copy_curves (bNode *orig_node, bNode *new_node) |
void | node_copy_standard_storage (bNode *orig_node, bNode *new_node) |
const char * | node_blend_label (bNode *node) |
const char * | node_math_label (bNode *node) |
const char * | node_vect_math_label (bNode *node) |
const char * | node_filter_label (bNode *node) |
ListBase | node_mute_get_links (bNodeTree *ntree, bNode *node, bNodeStack **nsin, bNodeStack **nsout, GPUNodeStack *gnsin, GPUNodeStack *gnsout) |
Definition in file node_util.c.
const char* node_blend_label | ( | bNode * | node | ) |
Definition at line 73 of file node_util.c.
References bNode::custom1, ramp_blend_items, and RNA_enum_name().
Referenced by register_node_type_cmp_mix_rgb(), register_node_type_sh_mix_rgb(), and register_node_type_tex_mix_rgb().
Definition at line 61 of file node_util.c.
References curvemapping_copy(), and bNode::storage.
Referenced by register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_huecorrect(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_tex_curve_rgb(), and register_node_type_tex_curve_time().
Definition at line 66 of file node_util.c.
References MEM_dupallocN(), and bNode::storage.
Referenced by copy(), register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_channel_matte(), register_node_type_cmp_chroma_matte(), register_node_type_cmp_color_matte(), register_node_type_cmp_color_spill(), register_node_type_cmp_colorbalance(), register_node_type_cmp_crop(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_distance_matte(), register_node_type_cmp_glare(), register_node_type_cmp_hue_sat(), register_node_type_cmp_image(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_movieclip(), register_node_type_cmp_output_file(), register_node_type_cmp_splitviewer(), register_node_type_cmp_tonemap(), register_node_type_cmp_valtorgb(), register_node_type_cmp_vecblur(), register_node_type_cmp_viewer(), register_node_type_sh_attribute(), register_node_type_sh_geom(), register_node_type_sh_mapping(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_environment(), register_node_type_sh_tex_gradient(), register_node_type_sh_tex_image(), register_node_type_sh_tex_magic(), register_node_type_sh_tex_musgrave(), register_node_type_sh_tex_noise(), register_node_type_sh_tex_sky(), register_node_type_sh_tex_voronoi(), register_node_type_sh_tex_wave(), register_node_type_sh_valtorgb(), register_node_type_tex_image(), and register_node_type_tex_valtorgb().
const char* node_filter_label | ( | bNode * | node | ) |
Definition at line 94 of file node_util.c.
References bNode::custom1, node_filter_items, and RNA_enum_name().
Referenced by register_node_type_cmp_filter().
void node_free_curves | ( | bNode * | node | ) |
Definition at line 51 of file node_util.c.
References curvemapping_free(), and bNode::storage.
Referenced by register_node_type_cmp_curve_rgb(), register_node_type_cmp_curve_time(), register_node_type_cmp_curve_vec(), register_node_type_cmp_huecorrect(), register_node_type_sh_curve_rgb(), register_node_type_sh_curve_vec(), register_node_type_tex_curve_rgb(), and register_node_type_tex_curve_time().
void node_free_standard_storage | ( | bNode * | node | ) |
Definition at line 56 of file node_util.c.
References MEM_freeN(), and bNode::storage.
Referenced by register_node_type_cmp_alphaover(), register_node_type_cmp_bilateralblur(), register_node_type_cmp_blur(), register_node_type_cmp_channel_matte(), register_node_type_cmp_chroma_matte(), register_node_type_cmp_color_matte(), register_node_type_cmp_color_spill(), register_node_type_cmp_colorbalance(), register_node_type_cmp_crop(), register_node_type_cmp_dblur(), register_node_type_cmp_defocus(), register_node_type_cmp_diff_matte(), register_node_type_cmp_distance_matte(), register_node_type_cmp_glare(), register_node_type_cmp_hue_sat(), register_node_type_cmp_image(), register_node_type_cmp_lensdist(), register_node_type_cmp_luma_matte(), register_node_type_cmp_map_value(), register_node_type_cmp_movieclip(), register_node_type_cmp_output_file(), register_node_type_cmp_splitviewer(), register_node_type_cmp_tonemap(), register_node_type_cmp_valtorgb(), register_node_type_cmp_vecblur(), register_node_type_cmp_viewer(), register_node_type_sh_attribute(), register_node_type_sh_geom(), register_node_type_sh_mapping(), register_node_type_sh_tex_checker(), register_node_type_sh_tex_environment(), register_node_type_sh_tex_gradient(), register_node_type_sh_tex_image(), register_node_type_sh_tex_magic(), register_node_type_sh_tex_musgrave(), register_node_type_sh_tex_noise(), register_node_type_sh_tex_sky(), register_node_type_sh_tex_voronoi(), register_node_type_sh_tex_wave(), register_node_type_sh_valtorgb(), register_node_type_tex_image(), register_node_type_tex_output(), and register_node_type_tex_valtorgb().
const char* node_math_label | ( | bNode * | node | ) |
Definition at line 80 of file node_util.c.
References bNode::custom1, node_math_items, and RNA_enum_name().
Referenced by register_node_type_cmp_math(), register_node_type_sh_math(), and register_node_type_tex_math().
ListBase node_mute_get_links | ( | bNodeTree * | ntree, |
bNode * | node, | ||
bNodeStack ** | nsin, | ||
bNodeStack ** | nsout, | ||
GPUNodeStack * | gnsin, | ||
GPUNodeStack * | gnsout | ||
) |
Definition at line 104 of file node_util.c.
References BLI_addtail(), ListBase::first, bNodeLink::fromnode, bNodeLink::fromsock, GPUNodeStack::hasinput, bNodeStack::hasinput, bNodeStack::hasoutput, GPUNodeStack::hasoutput, i, LinkInOutsMuteNode::in, bNode::inputs, ListBase::last, link(), MEM_mallocN(), bNodeSocket::next, nodeCountSocketLinks(), NULL, LinkInOutsMuteNode::num_outs, bNode::outputs, LinkInOutsMuteNode::outs, SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, bNodeLink::tonode, bNodeLink::tosock, bNodeSocket::type, and types.
const char* node_vect_math_label | ( | bNode * | node | ) |
Definition at line 87 of file node_util.c.
References bNode::custom1, node_vec_math_items, and RNA_enum_name().
Referenced by register_node_type_sh_vect_math().