Blender V2.61 - r43446
Classes | Typedefs | Functions | Variables

transform_ops.c File Reference

#include "MEM_guardedalloc.h"
#include "DNA_scene_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_armature.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "ED_screen.h"
#include "transform.h"

Go to the source code of this file.

Classes

struct  TransformModeItem

Typedefs

typedef struct TransformModeItem TransformModeItem

Functions

void TRANSFORM_OT_translate (struct wmOperatorType *ot)
void TRANSFORM_OT_rotate (struct wmOperatorType *ot)
void TRANSFORM_OT_tosphere (struct wmOperatorType *ot)
void TRANSFORM_OT_resize (struct wmOperatorType *ot)
void TRANSFORM_OT_shear (struct wmOperatorType *ot)
void TRANSFORM_OT_warp (struct wmOperatorType *ot)
void TRANSFORM_OT_shrink_fatten (struct wmOperatorType *ot)
void TRANSFORM_OT_push_pull (struct wmOperatorType *ot)
void TRANSFORM_OT_tilt (struct wmOperatorType *ot)
void TRANSFORM_OT_trackball (struct wmOperatorType *ot)
void TRANSFORM_OT_mirror (struct wmOperatorType *ot)
void TRANSFORM_OT_edge_slide (struct wmOperatorType *ot)
void TRANSFORM_OT_edge_crease (struct wmOperatorType *ot)
void TRANSFORM_OT_seq_slide (struct wmOperatorType *ot)
static int snap_type_exec (bContext *C, wmOperator *op)
static void TRANSFORM_OT_snap_type (wmOperatorType *ot)
static int select_orientation_exec (bContext *C, wmOperator *op)
static int select_orientation_invoke (bContext *C, wmOperator *UNUSED(op), wmEvent *UNUSED(event))
static void TRANSFORM_OT_select_orientation (struct wmOperatorType *ot)
static int delete_orientation_exec (bContext *C, wmOperator *UNUSED(op))
static int delete_orientation_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static int delete_orientation_poll (bContext *C)
static void TRANSFORM_OT_delete_orientation (struct wmOperatorType *ot)
static int create_orientation_exec (bContext *C, wmOperator *op)
static int create_orientation_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void TRANSFORM_OT_create_orientation (struct wmOperatorType *ot)
static void transformops_exit (bContext *C, wmOperator *op)
static int transformops_data (bContext *C, wmOperator *op, wmEvent *event)
static int transform_modal (bContext *C, wmOperator *op, wmEvent *event)
static int transform_cancel (bContext *C, wmOperator *op)
static int transform_exec (bContext *C, wmOperator *op)
static int transform_invoke (bContext *C, wmOperator *op, wmEvent *event)
void Transform_Properties (struct wmOperatorType *ot, int flags)
void TRANSFORM_OT_transform (struct wmOperatorType *ot)
void transform_operatortypes (void)
void transform_keymap_for_space (wmKeyConfig *keyconf, wmKeyMap *keymap, int spaceid)

Variables

static float VecOne [3] = {1, 1, 1}
static char OP_TRANSLATION [] = "TRANSFORM_OT_translate"
static char OP_ROTATION [] = "TRANSFORM_OT_rotate"
static char OP_TOSPHERE [] = "TRANSFORM_OT_tosphere"
static char OP_RESIZE [] = "TRANSFORM_OT_resize"
static char OP_SHEAR [] = "TRANSFORM_OT_shear"
static char OP_WARP [] = "TRANSFORM_OT_warp"
static char OP_SHRINK_FATTEN [] = "TRANSFORM_OT_shrink_fatten"
static char OP_PUSH_PULL [] = "TRANSFORM_OT_push_pull"
static char OP_TILT [] = "TRANSFORM_OT_tilt"
static char OP_TRACKBALL [] = "TRANSFORM_OT_trackball"
static char OP_MIRROR [] = "TRANSFORM_OT_mirror"
static char OP_EDGE_SLIDE [] = "TRANSFORM_OT_edge_slide"
static char OP_EDGE_CREASE [] = "TRANSFORM_OT_edge_crease"
static char OP_SEQ_SLIDE [] = "TRANSFORM_OT_seq_slide"
static TransformModeItem transform_modes []
EnumPropertyItem transform_mode_types []

Detailed Description

Definition in file transform_ops.c.


Typedef Documentation


Function Documentation

static int create_orientation_exec ( bContext C,
wmOperator op 
) [static]
static int create_orientation_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]

Definition at line 285 of file transform_ops.c.

References create_orientation_exec().

Referenced by TRANSFORM_OT_create_orientation().

static int delete_orientation_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int delete_orientation_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]

Definition at line 234 of file transform_ops.c.

References delete_orientation_exec().

Referenced by TRANSFORM_OT_delete_orientation().

static int delete_orientation_poll ( bContext C) [static]
static int select_orientation_exec ( bContext C,
wmOperator op 
) [static]
static int select_orientation_invoke ( bContext C,
wmOperator UNUSEDop,
wmEvent UNUSEDevent 
) [static]
static int snap_type_exec ( bContext C,
wmOperator op 
) [static]
static int transform_cancel ( bContext C,
wmOperator op 
) [static]
static int transform_exec ( bContext C,
wmOperator op 
) [static]
static int transform_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
void transform_keymap_for_space ( wmKeyConfig keyconf,
wmKeyMap keymap,
int  spaceid 
)
static int transform_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
void transform_operatortypes ( void  )
static void TRANSFORM_OT_create_orientation ( struct wmOperatorType ot) [static]
static void TRANSFORM_OT_delete_orientation ( struct wmOperatorType ot) [static]
void TRANSFORM_OT_edge_crease ( struct wmOperatorType ot)
void TRANSFORM_OT_edge_slide ( struct wmOperatorType ot)
void TRANSFORM_OT_mirror ( struct wmOperatorType ot)
void TRANSFORM_OT_push_pull ( struct wmOperatorType ot)
void TRANSFORM_OT_resize ( struct wmOperatorType ot)
void TRANSFORM_OT_rotate ( struct wmOperatorType ot)
static void TRANSFORM_OT_select_orientation ( struct wmOperatorType ot) [static]
void TRANSFORM_OT_seq_slide ( struct wmOperatorType ot)
void TRANSFORM_OT_shear ( struct wmOperatorType ot)
void TRANSFORM_OT_shrink_fatten ( struct wmOperatorType ot)
static void TRANSFORM_OT_snap_type ( wmOperatorType ot) [static]
void TRANSFORM_OT_tilt ( struct wmOperatorType ot)
void TRANSFORM_OT_tosphere ( struct wmOperatorType ot)
void TRANSFORM_OT_trackball ( struct wmOperatorType ot)
void TRANSFORM_OT_transform ( struct wmOperatorType ot)
void TRANSFORM_OT_translate ( struct wmOperatorType ot)
void TRANSFORM_OT_warp ( struct wmOperatorType ot)
void Transform_Properties ( struct wmOperatorType ot,
int  flags 
)
static int transformops_data ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static void transformops_exit ( bContext C,
wmOperator op 
) [static]

Variable Documentation

char OP_EDGE_CREASE[] = "TRANSFORM_OT_edge_crease" [static]

Definition at line 74 of file transform_ops.c.

Referenced by TRANSFORM_OT_edge_crease().

char OP_EDGE_SLIDE[] = "TRANSFORM_OT_edge_slide" [static]

Definition at line 73 of file transform_ops.c.

Referenced by TRANSFORM_OT_edge_slide().

char OP_MIRROR[] = "TRANSFORM_OT_mirror" [static]

Definition at line 72 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_mirror().

char OP_PUSH_PULL[] = "TRANSFORM_OT_push_pull" [static]

Definition at line 69 of file transform_ops.c.

Referenced by TRANSFORM_OT_push_pull().

char OP_RESIZE[] = "TRANSFORM_OT_resize" [static]

Definition at line 65 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_resize().

char OP_ROTATION[] = "TRANSFORM_OT_rotate" [static]

Definition at line 63 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_rotate().

char OP_SEQ_SLIDE[] = "TRANSFORM_OT_seq_slide" [static]

Definition at line 75 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_seq_slide().

char OP_SHEAR[] = "TRANSFORM_OT_shear" [static]

Definition at line 66 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_shear().

char OP_SHRINK_FATTEN[] = "TRANSFORM_OT_shrink_fatten" [static]

Definition at line 68 of file transform_ops.c.

Referenced by TRANSFORM_OT_shrink_fatten().

char OP_TILT[] = "TRANSFORM_OT_tilt" [static]

Definition at line 70 of file transform_ops.c.

Referenced by TRANSFORM_OT_tilt().

char OP_TOSPHERE[] = "TRANSFORM_OT_tosphere" [static]

Definition at line 64 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_tosphere().

char OP_TRACKBALL[] = "TRANSFORM_OT_trackball" [static]

Definition at line 71 of file transform_ops.c.

Referenced by TRANSFORM_OT_trackball().

char OP_TRANSLATION[] = "TRANSFORM_OT_translate" [static]

Definition at line 62 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_translate().

char OP_WARP[] = "TRANSFORM_OT_warp" [static]

Definition at line 67 of file transform_ops.c.

Referenced by transform_keymap_for_space(), and TRANSFORM_OT_warp().

float VecOne[3] = {1, 1, 1} [static]