diff options
Diffstat (limited to 'source/blender/nodes/CMP_node.h')
-rw-r--r-- | source/blender/nodes/CMP_node.h | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/source/blender/nodes/CMP_node.h b/source/blender/nodes/CMP_node.h new file mode 100644 index 00000000000..64fcdede34c --- /dev/null +++ b/source/blender/nodes/CMP_node.h @@ -0,0 +1,168 @@ +/** + * $Id$ + * + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. The Blender + * Foundation also sells licenses for use in proprietary software under + * the Blender License. See http://www.blender.org/BL/ for information + * about this. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * The Original Code is Copyright (C) 2005 Blender Foundation. + * All rights reserved. + * + * The Original Code is: all of this file. + * + * Contributor(s): none yet. + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef CMP_NODE_H +#define CMP_NODE_H + +#include "BKE_node.h" + +#define CMP_FILT_SOFT 0 +#define CMP_FILT_SHARP 1 +#define CMP_FILT_LAPLACE 2 +#define CMP_FILT_SOBEL 3 +#define CMP_FILT_PREWITT 4 +#define CMP_FILT_KIRSCH 5 +#define CMP_FILT_SHADOW 6 + +/* scale node type, in custom1 */ +#define CMP_SCALE_RELATIVE 0 +#define CMP_SCALE_ABSOLUTE 1 + +/* ****************** types array for all composite nodes ****************** */ + +extern bNodeType cmp_node_rlayers; +extern bNodeType cmp_node_image; +extern bNodeType cmp_node_texture; +extern bNodeType cmp_node_value; +extern bNodeType cmp_node_rgb; +extern bNodeType cmp_node_curve_time; + +extern bNodeType cmp_node_composite; +extern bNodeType cmp_node_viewer; +extern bNodeType cmp_node_splitviewer; +extern bNodeType cmp_node_output_file; + +extern bNodeType cmp_node_curve_rgb; +extern bNodeType cmp_node_mix_rgb; +extern bNodeType cmp_node_hue_sat; +extern bNodeType cmp_node_alphaover; +extern bNodeType cmp_node_zcombine; + +extern bNodeType cmp_node_normal; +extern bNodeType cmp_node_curve_vec; +extern bNodeType cmp_node_map_value; + +extern bNodeType cmp_node_filter; +extern bNodeType cmp_node_blur; +extern bNodeType cmp_node_vecblur; +extern bNodeType cmp_node_dilateerode; +extern bNodeType cmp_node_defocus; + +extern bNodeType cmp_node_valtorgb; +extern bNodeType cmp_node_rgbtobw; +extern bNodeType cmp_node_setalpha; +extern bNodeType cmp_node_idmask; +extern bNodeType cmp_node_math; +extern bNodeType cmp_node_seprgba; +extern bNodeType cmp_node_combrgba; +extern bNodeType cmp_node_sephsva; +extern bNodeType cmp_node_combhsva; +extern bNodeType cmp_node_sepyuva; +extern bNodeType cmp_node_combyuva; +extern bNodeType cmp_node_sepycca; +extern bNodeType cmp_node_combycca; + +extern bNodeType cmp_node_diff_matte; +extern bNodeType cmp_node_chroma; +extern bNodeType cmp_node_channel_matte; +extern bNodeType cmp_node_color_spill; +extern bNodeType cmp_node_luma_matte; + +extern bNodeType cmp_node_translate; +extern bNodeType cmp_node_rotate; +extern bNodeType cmp_node_scale; +extern bNodeType cmp_node_flip; +extern bNodeType cmp_node_displace; +extern bNodeType cmp_node_mapuv; + +static bNodeType *node_all_composit[]= { + &node_group_typeinfo, + + &cmp_node_rlayers, + &cmp_node_image, + &cmp_node_texture, + &cmp_node_value, + &cmp_node_rgb, + &cmp_node_curve_time, + + &cmp_node_composite, + &cmp_node_viewer, + &cmp_node_splitviewer, + &cmp_node_output_file, + + &cmp_node_curve_rgb, + &cmp_node_mix_rgb, + &cmp_node_hue_sat, + &cmp_node_alphaover, + &cmp_node_zcombine, + + &cmp_node_normal, + &cmp_node_curve_vec, + &cmp_node_map_value, + + &cmp_node_filter, + &cmp_node_blur, + &cmp_node_vecblur, + &cmp_node_dilateerode, + &cmp_node_defocus, + + &cmp_node_valtorgb, + &cmp_node_rgbtobw, + &cmp_node_setalpha, + &cmp_node_idmask, + &cmp_node_math, + &cmp_node_seprgba, + &cmp_node_combrgba, + &cmp_node_sephsva, + &cmp_node_combhsva, + &cmp_node_sepyuva, + &cmp_node_combyuva, + &cmp_node_sepycca, + &cmp_node_combycca, + + &cmp_node_diff_matte, + &cmp_node_chroma, + &cmp_node_channel_matte, + &cmp_node_color_spill, + &cmp_node_luma_matte, + + &cmp_node_translate, + &cmp_node_rotate, + &cmp_node_scale, + &cmp_node_flip, + &cmp_node_displace, + &cmp_node_mapuv, + + NULL +}; + +#endif |