Blender V2.61 - r43446
Defines | Functions

drawanimviz.c File Reference

#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "BLO_sys_types.h"
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_view3d_types.h"
#include "DNA_object_types.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_dlrbTree.h"
#include "BKE_animsys.h"
#include "BKE_action.h"
#include "BIF_gl.h"
#include "ED_armature.h"
#include "ED_keyframes_draw.h"
#include "BLF_api.h"
#include "UI_resources.h"
#include "view3d_intern.h"

Go to the source code of this file.

Defines

#define SET_INTENSITY(A, B, C, min, max)   (((1.0f - ((C - B) / (C - A))) * (max-min)) + min)

Functions

void draw_motion_paths_init (View3D *v3d, ARegion *ar)
void draw_motion_path_instance (Scene *scene, Object *ob, bPoseChannel *pchan, bAnimVizSettings *avs, bMotionPath *mpath)
void draw_motion_paths_cleanup (View3D *v3d)

Detailed Description

Definition in file drawanimviz.c.


Define Documentation

#define SET_INTENSITY (   A,
  B,
  C,
  min,
  max 
)    (((1.0f - ((C - B) / (C - A))) * (max-min)) + min)

Function Documentation

void draw_motion_path_instance ( Scene scene,
Object ob,
bPoseChannel pchan,
bAnimVizSettings avs,
bMotionPath mpath 
)
void draw_motion_paths_cleanup ( View3D v3d)

Definition at line 310 of file drawanimviz.c.

References View3D::zbuf.

Referenced by draw_object(), and draw_pose_paths().

void draw_motion_paths_init ( View3D v3d,
ARegion ar 
)

Definition at line 71 of file drawanimviz.c.

References glLoadMatrixf, ARegion::regiondata, RegionView3D::viewmat, and View3D::zbuf.

Referenced by draw_object(), and draw_pose_paths().