Blender  V3.3
Classes | Typedefs | Functions
gpencil_trace_ops.c File Reference
#include "MEM_guardedalloc.h"
#include "BLI_math.h"
#include "BLT_translation.h"
#include "DNA_gpencil_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_gpencil.h"
#include "BKE_image.h"
#include "BKE_layer.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_query.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "IMB_imbuf_types.h"
#include "ED_gpencil.h"
#include "ED_object.h"
#include "gpencil_intern.h"
#include "gpencil_trace.h"

Go to the source code of this file.

Classes

struct  TraceJob
 

Typedefs

typedef struct TraceJob TraceJob
 

Functions

static bool gpencil_trace_image (TraceJob *trace_job, ImBuf *ibuf, bGPDframe *gpf)
 
static bool gpencil_trace_image_poll (bContext *C)
 
static void trace_initialize_job_data (TraceJob *trace_job)
 
static void trace_start_job (void *customdata, short *stop, short *do_update, float *progress)
 
static void trace_end_job (void *customdata)
 
static void trace_free_job (void *customdata)
 
static int gpencil_trace_image_exec (bContext *C, wmOperator *op)
 
static int gpencil_trace_image_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
void GPENCIL_OT_trace_image (wmOperatorType *ot)
 

Typedef Documentation

◆ TraceJob

typedef struct TraceJob TraceJob

Function Documentation

◆ GPENCIL_OT_trace_image()

void GPENCIL_OT_trace_image ( wmOperatorType ot)

◆ gpencil_trace_image()

static bool gpencil_trace_image ( TraceJob trace_job,
ImBuf ibuf,
bGPDframe gpf 
)
static

◆ gpencil_trace_image_exec()

static int gpencil_trace_image_exec ( bContext C,
wmOperator op 
)
static

◆ gpencil_trace_image_invoke()

static int gpencil_trace_image_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

Definition at line 365 of file gpencil_trace_ops.c.

References C, and WM_operator_props_dialog_popup().

Referenced by GPENCIL_OT_trace_image().

◆ gpencil_trace_image_poll()

static bool gpencil_trace_image_poll ( bContext C)
static

◆ trace_end_job()

static void trace_end_job ( void customdata)
static

◆ trace_free_job()

static void trace_free_job ( void customdata)
static

Definition at line 285 of file gpencil_trace_ops.c.

References MEM_freeN.

Referenced by gpencil_trace_image_exec().

◆ trace_initialize_job_data()

static void trace_initialize_job_data ( TraceJob trace_job)
static

◆ trace_start_job()

static void trace_start_job ( void customdata,
short *  stop,
short *  do_update,
float progress 
)
static