25#include "RNA_prototypes.hh"
51 data->smoothness = 0.0f;
62 STRNCPY(data->tracking_object, tracking_object->
name);
94 if (!movie_tracking_object) {
120 movie_tracking, node_storage(
bnode()).tracking_object);
121 if (movie_tracking_object) {
122 return movie_tracking_object;
168 ntype.
declare = file_ns::cmp_node_keyingscreen_declare;
169 ntype.
draw_buttons = file_ns::node_composit_buts_keyingscreen;
170 ntype.
initfunc_api = file_ns::node_composit_init_keyingscreen;
Scene * CTX_data_scene(const bContext *C)
float BKE_movieclip_remap_scene_to_clip_frame(const struct MovieClip *clip, float framenr)
void BKE_movieclip_user_set_frame(struct MovieClipUser *user, int framenr)
void BKE_movieclip_get_size(struct MovieClip *clip, const struct MovieClipUser *user, int *r_width, int *r_height)
#define NODE_STORAGE_FUNCS(StorageT)
struct MovieTrackingObject * BKE_tracking_object_get_named(struct MovieTracking *tracking, const char *name)
struct MovieTrackingObject * BKE_tracking_object_get_active(const struct MovieTracking *tracking)
#define STRNCPY(dst, src)
#define BLT_I18NCONTEXT_ID_SCREEN
#define DNA_struct_default_get(struct_name)
void uiItemPointerR(uiLayout *layout, PointerRNA *ptr, const char *propname, PointerRNA *searchptr, const char *searchpropname, const char *name, int icon)
void uiTemplateID(uiLayout *layout, const bContext *C, PointerRNA *ptr, const char *propname, const char *newop, const char *openop, const char *unlinkop, int filter=UI_TEMPLATE_ID_FILTER_ALL, bool live_icon=false, const char *text=nullptr)
uiLayout * uiLayoutColumn(uiLayout *layout, bool align)
void uiItemR(uiLayout *layout, PointerRNA *ptr, const char *propname, eUI_Item_Flag flag, const char *name, int icon)
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
MovieClip * get_movie_clip()
Domain compute_domain() override
MovieTrackingObject * get_movie_tracking_object()
StaticCacheManager & cache_manager()
int get_frame_number() const
KeyingScreen & get(Context &context, MovieClip *movie_clip, MovieTrackingObject *movie_tracking_object, float smoothness)
GPUTexture * texture() const
NodeOperation(Context &context, DNode node)
const bNode & bnode() const
Result & get_result(StringRef identifier)
Context & context() const
void wrap_external(GPUTexture *texture)
KeyingScreenContainer keying_screens
local_group_size(16, 16) .push_constant(Type b
void node_type_storage(bNodeType *ntype, const char *storagename, void(*freefunc)(bNode *node), void(*copyfunc)(bNodeTree *dest_ntree, bNode *dest_node, const bNode *src_node))
void node_register_type(bNodeType *ntype)
T interpolate(const T &a, const T &b, const FactorT &t)
static void cmp_node_keyingscreen_declare(NodeDeclarationBuilder &b)
static NodeOperation * get_compositor_operation(Context &context, DNode node)
static void node_composit_buts_keyingscreen(uiLayout *layout, bContext *C, PointerRNA *ptr)
static void node_composit_init_keyingscreen(const bContext *C, PointerRNA *ptr)
void register_node_type_cmp_keyingscreen()
void cmp_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
void node_free_standard_storage(bNode *node)
void node_copy_standard_storage(bNodeTree *, bNode *dest_node, const bNode *src_node)
PointerRNA RNA_pointer_create(ID *id, StructRNA *type, void *data)
struct MovieTracking tracking
NodeGetCompositorOperationFunction get_compositor_operation
void(* draw_buttons)(uiLayout *, bContext *C, PointerRNA *ptr)
NodeDeclareFunction declare
void(* initfunc_api)(const bContext *C, PointerRNA *ptr)