Blender  V2.93
node_composite_util.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2006 Blender Foundation.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 #include "DNA_ID.h"
27 #include "DNA_movieclip_types.h"
28 #include "DNA_node_types.h"
29 
30 #include "BLI_blenlib.h"
31 #include "BLI_math.h"
32 
33 #include "BLT_translation.h"
34 
35 #include "BKE_colorband.h"
36 #include "BKE_colortools.h"
37 #include "BKE_image.h"
38 #include "BKE_texture.h"
39 #include "BKE_tracking.h"
40 
41 #include "node_util.h"
42 
43 #include "IMB_imbuf.h"
44 #include "IMB_imbuf_types.h"
45 
46 #include "RE_pipeline.h"
47 
48 /* only for forward declarations */
49 #include "NOD_composite.h"
50 
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 
55 #define CMP_SCALE_MAX 12000
56 
57 bool cmp_node_poll_default(struct bNodeType *ntype,
58  struct bNodeTree *ntree,
59  const char **r_disabled_info);
62  struct bNodeType *ntype, int type, const char *name, short nclass, short flag);
63 
64 #ifdef __cplusplus
65 }
66 #endif
ID and Library types, which are fundamental for sdna.
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
Contains defines and structs used throughout the imbuf module.
OperationNode * node
bNodeTree * ntree
void cmp_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass, short flag)
bool cmp_node_poll_default(struct bNodeType *ntype, struct bNodeTree *ntree, const char **r_disabled_info)
void cmp_node_update_default(struct bNodeTree *ntree, struct bNode *node)
Defines a node type.
Definition: BKE_node.h:221