Blender V2.61 - r43446
Functions

node_util.c File Reference

#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)

Detailed Description

Definition in file node_util.c.


Function Documentation

const char* node_blend_label ( bNode node)
void node_copy_curves ( bNode orig_node,
bNode new_node 
)
void node_copy_standard_storage ( bNode orig_node,
bNode new_node 
)

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)
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)
ListBase node_mute_get_links ( bNodeTree ntree,
bNode node,
bNodeStack **  nsin,
bNodeStack **  nsout,
GPUNodeStack gnsin,
GPUNodeStack gnsout 
)
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().