2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2007-03-24 06:57:29 +00:00
|
|
|
* 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
|
2018-06-01 18:19:39 +02:00
|
|
|
* of the License, or (at your option) any later version.
|
2007-03-24 06:57:29 +00:00
|
|
|
*
|
|
|
|
|
* 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,
|
2010-02-12 13:34:04 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2007-03-24 06:57:29 +00:00
|
|
|
*
|
|
|
|
|
* The Original Code is Copyright (C) 2006 Blender Foundation.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*/
|
|
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup nodes
|
2011-02-27 20:13:22 +00:00
|
|
|
*/
|
|
|
|
|
|
2020-08-07 09:50:34 +02:00
|
|
|
#pragma once
|
2007-03-24 06:57:29 +00:00
|
|
|
|
|
|
|
|
#include "DNA_ID.h"
|
2011-11-07 12:56:05 +00:00
|
|
|
#include "DNA_movieclip_types.h"
|
2007-03-24 06:57:29 +00:00
|
|
|
#include "DNA_node_types.h"
|
|
|
|
|
|
2011-01-07 18:36:47 +00:00
|
|
|
#include "BLI_blenlib.h"
|
2020-03-19 09:33:03 +01:00
|
|
|
#include "BLI_math.h"
|
2011-01-07 18:36:47 +00:00
|
|
|
|
2015-08-16 17:32:01 +10:00
|
|
|
#include "BLT_translation.h"
|
2012-06-02 19:58:12 +00:00
|
|
|
|
2017-12-07 15:36:26 +11:00
|
|
|
#include "BKE_colorband.h"
|
2007-03-24 06:57:29 +00:00
|
|
|
#include "BKE_colortools.h"
|
|
|
|
|
#include "BKE_image.h"
|
|
|
|
|
#include "BKE_texture.h"
|
2011-11-07 12:56:05 +00:00
|
|
|
#include "BKE_tracking.h"
|
2011-01-07 19:18:31 +00:00
|
|
|
|
2007-04-04 13:58:12 +00:00
|
|
|
#include "node_util.h"
|
2007-03-25 16:05:46 +00:00
|
|
|
|
2007-03-24 06:57:29 +00:00
|
|
|
#include "IMB_imbuf.h"
|
2020-03-19 09:33:03 +01:00
|
|
|
#include "IMB_imbuf_types.h"
|
2007-03-24 06:57:29 +00:00
|
|
|
|
|
|
|
|
#include "RE_pipeline.h"
|
|
|
|
|
|
2011-09-20 04:38:59 +00:00
|
|
|
/* only for forward declarations */
|
|
|
|
|
#include "NOD_composite.h"
|
|
|
|
|
|
2020-06-30 14:01:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2019-04-17 06:17:24 +02:00
|
|
|
#define CMP_SCALE_MAX 12000
|
2012-08-21 11:53:09 +00:00
|
|
|
|
2018-07-02 11:47:00 +02:00
|
|
|
bool cmp_node_poll_default(struct bNodeType *ntype, struct bNodeTree *ntree);
|
2013-03-18 16:34:57 +00:00
|
|
|
void cmp_node_update_default(struct bNodeTree *UNUSED(ntree), struct bNode *node);
|
2019-04-17 06:17:24 +02:00
|
|
|
void cmp_node_type_base(
|
|
|
|
|
struct bNodeType *ntype, int type, const char *name, short nclass, short flag);
|
2013-03-18 16:34:57 +00:00
|
|
|
|
2020-06-30 14:01:34 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|