Blender V2.61 - r43446
Classes | Defines | Typedefs | Enumerations | Functions

BIF_retarget.h File Reference

#include "DNA_listBase.h"
#include "BLI_graph.h"
#include "BLI_ghash.h"
#include "BLI_threads.h"
#include "reeb.h"

Go to the source code of this file.

Classes

struct  RigGraph
struct  RigNode
struct  RigArc
struct  RigEdge
struct  RigControl

Defines

#define USE_THREADS
#define RIG_FREE_BONELIST   1
#define RIG_CTRL_HEAD_DONE   1
#define RIG_CTRL_TAIL_DONE   2
#define RIG_CTRL_PARENT_DEFORM   4
#define RIG_CTRL_FIT_ROOT   8
#define RIG_CTRL_FIT_BONE   16
#define RIG_CTRL_DONE   (RIG_CTRL_HEAD_DONE|RIG_CTRL_TAIL_DONE)

Typedefs

typedef struct RigGraph RigGraph
typedef struct RigNode RigNode
typedef struct RigArc RigArc
typedef struct RigEdge RigEdge
typedef struct RigControl RigControl

Enumerations

enum  LinkTailMode { TL_NONE = 0, TL_TAIL, TL_HEAD }

Functions

void BIF_retargetArc (struct bContext *C, ReebArc *earc, RigGraph *template_rigg)
RigGraphRIG_graphFromArmature (const struct bContext *C, struct Object *ob, struct bArmature *arm)
int RIG_nbJoints (RigGraph *rg)
const char * RIG_nameBone (RigGraph *rg, int arc_index, int bone_index)
void RIG_freeRigGraph (BGraph *rg)
void BIF_retargetArmature (bContext *C)
void BIF_adjustRetarget (bContext *C)
void RIG_printArc (struct RigGraph *rg, struct RigArc *arc)
void RIG_printGraph (struct RigGraph *rg)
void RIG_printArcBones (struct RigArc *arc)

Detailed Description

Definition in file BIF_retarget.h.


Define Documentation

#define RIG_CTRL_DONE   (RIG_CTRL_HEAD_DONE|RIG_CTRL_TAIL_DONE)

Definition at line 135 of file BIF_retarget.h.

Referenced by finalizeControl().

#define RIG_CTRL_FIT_BONE   16

Definition at line 133 of file BIF_retarget.h.

Referenced by RIG_parentControl(), and RIG_reconnectControlBones().

#define RIG_CTRL_FIT_ROOT   8

Definition at line 132 of file BIF_retarget.h.

Referenced by RIG_parentControl().

#define RIG_CTRL_HEAD_DONE   1

Definition at line 129 of file BIF_retarget.h.

Referenced by repositionControl().

#define RIG_CTRL_PARENT_DEFORM   4

Definition at line 131 of file BIF_retarget.h.

#define RIG_CTRL_TAIL_DONE   2

Definition at line 130 of file BIF_retarget.h.

Referenced by repositionControl(), and repositionTailControl().

#define RIG_FREE_BONELIST   1
#define USE_THREADS

Definition at line 49 of file BIF_retarget.h.


Typedef Documentation

typedef struct RigArc RigArc
typedef struct RigControl RigControl
typedef struct RigEdge RigEdge
typedef struct RigGraph RigGraph
typedef struct RigNode RigNode

Enumeration Type Documentation

Enumerator:
TL_NONE 
TL_TAIL 
TL_HEAD 

Definition at line 138 of file BIF_retarget.h.


Function Documentation

void BIF_adjustRetarget ( bContext C)

Definition at line 2948 of file editarmature_retarget.c.

References adjustGraphs().

void BIF_retargetArc ( struct bContext C,
ReebArc earc,
RigGraph template_rigg 
)
void BIF_retargetArmature ( bContext C)
void RIG_freeRigGraph ( BGraph rg)
RigGraph* RIG_graphFromArmature ( const struct bContext C,
struct Object ob,
struct bArmature arm 
)
const char* RIG_nameBone ( RigGraph rg,
int  arc_index,
int  bone_index 
)
int RIG_nbJoints ( RigGraph rg)
void RIG_printArc ( struct RigGraph rg,
struct RigArc arc 
)
void RIG_printArcBones ( struct RigArc arc)
void RIG_printGraph ( struct RigGraph rg)