Blender V4.3
grease_pencil_lineart.cc File Reference
#include <algorithm>
#include <limits>
#include "BLI_array_utils.hh"
#include "BLI_enumerable_thread_specific.hh"
#include "BLI_kdtree.h"
#include "BLI_listbase.h"
#include "BLI_math_vector.hh"
#include "BLI_offset_indices.hh"
#include "BLI_rect.h"
#include "BLI_stack.hh"
#include "BLI_task.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_global.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_material.h"
#include "BKE_modifier.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "DNA_curves_types.h"
#include "DNA_modifier_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "ED_grease_pencil.hh"
#include "ED_view3d.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "MOD_lineart.hh"

Go to the source code of this file.

Classes

struct  LineartBakeJob
 

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::greasepencil
 

Functions

void blender::ed::greasepencil::get_lineart_modifier_limits (const Object &ob, blender::ed::greasepencil::LineartLimitInfo &info)
 
void blender::ed::greasepencil::set_lineart_modifier_limits (GreasePencilLineartModifierData &lmd, const blender::ed::greasepencil::LineartLimitInfo &info, const bool cache_is_ready)
 
GreasePencilLineartModifierDatablender::ed::greasepencil::get_first_lineart_modifier (const Object &ob)
 
static bool clear_strokes (Object *ob, ModifierData *md, int frame)
 
static bool lineart_mod_is_disabled (Scene *scene, GreasePencilLineartModifierData *md)
 
static bool bake_strokes (Object *ob, Depsgraph *dg, LineartCache **lc, GreasePencilLineartModifierData *md, int frame, bool is_first)
 
static bool bake_single_target (LineartBakeJob *bj, Object *ob, int frame)
 
static void guard_modifiers (LineartBakeJob &bj)
 
static void lineart_bake_startjob (void *customdata, wmJobWorkerStatus *worker_status)
 
static void lineart_bake_endjob (void *customdata)
 
static void lineart_bake_job_free (void *customdata)
 
static int lineart_bake_common (bContext *C, wmOperator *op, bool bake_all_targets, bool do_background)
 
static int lineart_bake_strokes_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
static int lineart_bake_strokes_exec (bContext *C, wmOperator *op)
 
static int lineart_bake_strokes_common_modal (bContext *C, wmOperator *op, const wmEvent *)
 
static void lineart_gpencil_clear_strokes_exec_common (Object *ob)
 
static int lineart_gpencil_clear_strokes_exec (bContext *C, wmOperator *op)
 
static void OBJECT_OT_lineart_bake_strokes (wmOperatorType *ot)
 
static void OBJECT_OT_lineart_clear (wmOperatorType *ot)
 
void ED_operatortypes_grease_pencil_lineart ()
 

Function Documentation

◆ bake_single_target()

◆ bake_strokes()

static bool bake_strokes ( Object * ob,
Depsgraph * dg,
LineartCache ** lc,
GreasePencilLineartModifierData * md,
int frame,
bool is_first )
static

◆ clear_strokes()

◆ ED_operatortypes_grease_pencil_lineart()

void ED_operatortypes_grease_pencil_lineart ( )

◆ guard_modifiers()

◆ lineart_bake_common()

◆ lineart_bake_endjob()

◆ lineart_bake_job_free()

static void lineart_bake_job_free ( void * customdata)
static

Definition at line 352 of file grease_pencil_lineart.cc.

Referenced by lineart_bake_common().

◆ lineart_bake_startjob()

◆ lineart_bake_strokes_common_modal()

static int lineart_bake_strokes_common_modal ( bContext * C,
wmOperator * op,
const wmEvent *  )
static

◆ lineart_bake_strokes_exec()

static int lineart_bake_strokes_exec ( bContext * C,
wmOperator * op )
static

◆ lineart_bake_strokes_invoke()

static int lineart_bake_strokes_invoke ( bContext * C,
wmOperator * op,
const wmEvent *  )
static

◆ lineart_gpencil_clear_strokes_exec()

◆ lineart_gpencil_clear_strokes_exec_common()

◆ lineart_mod_is_disabled()

◆ OBJECT_OT_lineart_bake_strokes()

◆ OBJECT_OT_lineart_clear()