Blender V4.3
overlay_motion_path.cc File Reference
#include "DRW_render.hh"
#include "BLI_listbase.h"
#include "BLI_math_matrix.hh"
#include "BLI_string.h"
#include "DNA_armature_types.h"
#include "DEG_depsgraph_query.hh"
#include "GPU_batch.hh"
#include "UI_resources.hh"
#include "draw_manager_text.hh"
#include "overlay_private.hh"

Go to the source code of this file.

Functions

void OVERLAY_motion_path_cache_init (OVERLAY_Data *vedata)
 
static blender::gpu::VertBufmpath_vbo_get (bMotionPath *mpath)
 
static blender::gpu::Batch * mpath_batch_line_get (bMotionPath *mpath)
 
static blender::gpu::Batch * mpath_batch_points_get (bMotionPath *mpath)
 
static void motion_path_get_frame_range_to_draw (bAnimVizSettings *avs, bMotionPath *mpath, int current_frame, int *r_start, int *r_end, int *r_step)
 
static Objectget_camera_for_motion_path (const DRWContextState *draw_context, const eMotionPath_BakeFlag bake_flag)
 
static void motion_path_cache (OVERLAY_Data *vedata, Object *ob, bPoseChannel *pchan, bAnimVizSettings *avs, bMotionPath *mpath)
 
void OVERLAY_motion_path_cache_populate (OVERLAY_Data *vedata, Object *ob)
 
void OVERLAY_motion_path_draw (OVERLAY_Data *vedata)
 

Function Documentation

◆ get_camera_for_motion_path()

static Object * get_camera_for_motion_path ( const DRWContextState * draw_context,
const eMotionPath_BakeFlag bake_flag )
static

◆ motion_path_cache()

static void motion_path_cache ( OVERLAY_Data * vedata,
Object * ob,
bPoseChannel * pchan,
bAnimVizSettings * avs,
bMotionPath * mpath )
static

◆ motion_path_get_frame_range_to_draw()

◆ mpath_batch_line_get()

static blender::gpu::Batch * mpath_batch_line_get ( bMotionPath * mpath)
static

◆ mpath_batch_points_get()

static blender::gpu::Batch * mpath_batch_points_get ( bMotionPath * mpath)
static

◆ mpath_vbo_get()

◆ OVERLAY_motion_path_cache_init()

◆ OVERLAY_motion_path_cache_populate()

◆ OVERLAY_motion_path_draw()

void OVERLAY_motion_path_draw ( OVERLAY_Data * vedata)