Blender V4.3
graph_view.cc File Reference
#include <cmath>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.h"
#include "BLI_rect.h"
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "BKE_context.hh"
#include "BKE_fcurve.hh"
#include "BKE_nla.hh"
#include "UI_view2d.hh"
#include "ED_anim_api.hh"
#include "ED_markers.hh"
#include "ED_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "graph_intern.hh"

Go to the source code of this file.

Functions

Calculate Range
void get_graph_keyframe_extents (bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax, const bool do_sel_only, const bool include_handles)
 
Automatic Preview-Range Operator
static int graphkeys_previewrange_exec (bContext *C, wmOperator *)
 
void GRAPH_OT_previewrange_set (wmOperatorType *ot)
 
View-All Operator
static int graphkeys_viewall (bContext *C, const bool do_sel_only, const bool include_handles, const int smooth_viewtx)
 
static int graphkeys_viewall_exec (bContext *C, wmOperator *op)
 
static int graphkeys_view_selected_exec (bContext *C, wmOperator *op)
 
void GRAPH_OT_view_all (wmOperatorType *ot)
 
void GRAPH_OT_view_selected (wmOperatorType *ot)
 
View Frame Operator
static int graphkeys_view_frame_exec (bContext *C, wmOperator *op)
 
void GRAPH_OT_view_frame (wmOperatorType *ot)
 
Create Ghost-Curves Operator

This operator samples the data of the selected F-Curves to F-Points, storing them as 'ghost curves' in the active Graph Editor.

static void create_ghost_curves (bAnimContext *ac, int start, int end)
 
static int graphkeys_create_ghostcurves_exec (bContext *C, wmOperator *)
 
void GRAPH_OT_ghost_curves_create (wmOperatorType *ot)
 
Clear Ghost-Curves Operator

This operator clears the 'ghost curves' for the active Graph Editor.

static int graphkeys_clear_ghostcurves_exec (bContext *C, wmOperator *)
 
void GRAPH_OT_ghost_curves_clear (wmOperatorType *ot)
 

Function Documentation

◆ create_ghost_curves()

◆ get_graph_keyframe_extents()

◆ GRAPH_OT_ghost_curves_clear()

◆ GRAPH_OT_ghost_curves_create()

◆ GRAPH_OT_previewrange_set()

◆ GRAPH_OT_view_all()

◆ GRAPH_OT_view_frame()

◆ GRAPH_OT_view_selected()

◆ graphkeys_clear_ghostcurves_exec()

◆ graphkeys_create_ghostcurves_exec()

◆ graphkeys_previewrange_exec()

◆ graphkeys_view_frame_exec()

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

◆ graphkeys_view_selected_exec()

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

◆ graphkeys_viewall()

◆ graphkeys_viewall_exec()

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