Blender V5.3
graph_view.cc File Reference
#include <cmath>
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_math_base_c.hh"
#include "BLI_rect.hh"
#include "BLI_utildefines.hh"
#include "DNA_anim_types.h"
#include "DNA_curve_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_main.hh"
#include "BKE_nla.hh"
#include "BKE_scene.hh"
#include "UI_view2d.hh"
#include "ED_anim_api.hh"
#include "ED_markers.hh"
#include "ED_screen.hh"
#include "ED_space_graph.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "graph_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Calculate Range
constexpr float2 blender::zoom_threshold (BEZT_BINARYSEARCH_THRESH, 0.0001f)
static void blender::keyframe_bounds_defaults (bAnimContext &ac, rctf &r_bounds)
static bool blender::calculate_keyframe_bounds (const ListBaseT< bAnimListElem > &anim_data, bAnimContext &ac, const bool only_selected, const bool include_handles, rctf &r_bounds)
void blender::get_graph_keyframe_extents (bAnimContext *ac, float *xmin, float *xmax, float *ymin, float *ymax, bool do_sel_only, bool include_handles) ATTR_NONNULL(2
static void blender::add_contextual_padding (bAnimContext &ac, ListBaseT< bAnimListElem > &anim_data, const bool pad_x, const bool pad_y, rctf &r_bounds)
static void blender::get_graph_view_bounds (bAnimContext *ac, rctf &r_bounds, const bool only_selected, const bool include_handles)
Automatic Preview-Range Operator
static wmOperatorStatus blender::graphkeys_previewrange_exec (bContext *C, wmOperator *)
void void blender::GRAPH_OT_previewrange_set (wmOperatorType *ot)
View-All Operator
static bool blender::graphkeys_viewall_poll (bContext *C)
static wmOperatorStatus blender::graphkeys_viewall (bContext *C, const bool do_sel_only, const bool include_handles, const int smooth_viewtx)
static wmOperatorStatus blender::graphkeys_viewall_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::graphkeys_view_selected_exec (bContext *C, wmOperator *op)
void blender::GRAPH_OT_view_all (wmOperatorType *ot)
void blender::GRAPH_OT_view_selected (wmOperatorType *ot)
View Frame Operator
static wmOperatorStatus blender::graphkeys_view_frame_exec (bContext *C, wmOperator *op)
void blender::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 blender::create_ghost_curves (bAnimContext *ac, int start, int end)
static wmOperatorStatus blender::graphkeys_create_ghostcurves_exec (bContext *C, wmOperator *)
void blender::GRAPH_OT_ghost_curves_create (wmOperatorType *ot)
Clear Ghost-Curves Operator

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

static wmOperatorStatus blender::graphkeys_clear_ghostcurves_exec (bContext *C, wmOperator *)
void blender::GRAPH_OT_ghost_curves_clear (wmOperatorType *ot)
static uint16_t blender::find_free_localview_bit (const Main *bmain)
static bool blender::local_view_enter (bContext *C, SpaceGraph &sipo, const ARegion &region, const ListBaseT< bAnimListElem > &anim_data, const bool frame_selected)
static bool blender::local_view_exit (bContext *C, SpaceGraph &sipo, ARegion &region, const ListBaseT< bAnimListElem > &anim_data, const bool frame_selected)
static wmOperatorStatus blender::graph_local_view_exec (bContext *C, wmOperator *op)
static bool blender::graph_local_view_poll (bContext *C)
void blender::GRAPH_OT_local_view (wmOperatorType *ot)