Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.h
| Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
| struct TransData; | struct TransData; | ||||
| struct TransformOrientation; | struct TransformOrientation; | ||||
| struct TransSnap; | struct TransSnap; | ||||
| struct NumInput; | struct NumInput; | ||||
| struct Object; | struct Object; | ||||
| struct View3D; | struct View3D; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneLayer; | struct ViewLayer; | ||||
| struct bConstraint; | struct bConstraint; | ||||
| struct wmKeyMap; | struct wmKeyMap; | ||||
| struct wmKeyConfig; | struct wmKeyConfig; | ||||
| struct bContext; | struct bContext; | ||||
| struct wmEvent; | struct wmEvent; | ||||
| struct wmTimer; | struct wmTimer; | ||||
| struct ARegion; | struct ARegion; | ||||
| struct ReportList; | struct ReportList; | ||||
| ▲ Show 20 Lines • Show All 400 Lines • ▼ Show 20 Lines | #define TRANS_CUSTOM_DATA_ELEM_MAX (sizeof(((TransInfo *)NULL)->custom) / sizeof(TransCustomData)) | ||||
| bool remove_on_cancel; /* remove elements if operator is canceled */ | bool remove_on_cancel; /* remove elements if operator is canceled */ | ||||
| void *view; | void *view; | ||||
| struct bContext *context; /* Only valid (non null) during an operator called function. */ | struct bContext *context; /* Only valid (non null) during an operator called function. */ | ||||
| struct ScrArea *sa; | struct ScrArea *sa; | ||||
| struct ARegion *ar; | struct ARegion *ar; | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| struct SceneLayer *scene_layer; | struct ViewLayer *view_layer; | ||||
| struct RenderEngineType *engine; | struct RenderEngineType *engine; | ||||
| struct ToolSettings *settings; | struct ToolSettings *settings; | ||||
| struct wmTimer *animtimer; | struct wmTimer *animtimer; | ||||
| struct wmKeyMap *keymap; /* so we can do lookups for header text */ | struct wmKeyMap *keymap; /* so we can do lookups for header text */ | ||||
| struct ReportList *reports; /* assign from the operator, or can be NULL */ | struct ReportList *reports; /* assign from the operator, or can be NULL */ | ||||
| int mval[2]; /* current mouse position */ | int mval[2]; /* current mouse position */ | ||||
| float zfac; /* use for 3d view */ | float zfac; /* use for 3d view */ | ||||
| struct Object *obedit; | struct Object *obedit; | ||||
| ▲ Show 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | |||||
| int special_transform_moving(TransInfo *t); | int special_transform_moving(TransInfo *t); | ||||
| void transform_autoik_update(TransInfo *t, short mode); | void transform_autoik_update(TransInfo *t, short mode); | ||||
| bool transdata_check_local_islands(TransInfo *t, short around); | bool transdata_check_local_islands(TransInfo *t, short around); | ||||
| int count_set_pose_transflags(int *out_mode, short around, struct Object *ob); | int count_set_pose_transflags(int *out_mode, short around, struct Object *ob); | ||||
| /* auto-keying stuff used by special_aftertrans_update */ | /* auto-keying stuff used by special_aftertrans_update */ | ||||
| void autokeyframe_ob_cb_func(struct bContext *C, struct Scene *scene, struct SceneLayer *sl, struct View3D *v3d, struct Object *ob, int tmode); | void autokeyframe_ob_cb_func(struct bContext *C, struct Scene *scene, struct ViewLayer *sl, struct View3D *v3d, struct Object *ob, int tmode); | ||||
| void autokeyframe_pose_cb_func(struct bContext *C, struct Scene *scene, struct View3D *v3d, struct Object *ob, int tmode, short targetless_ik); | void autokeyframe_pose_cb_func(struct bContext *C, struct Scene *scene, struct View3D *v3d, struct Object *ob, int tmode, short targetless_ik); | ||||
| /*********************** Constraints *****************************/ | /*********************** Constraints *****************************/ | ||||
| void drawConstraint(TransInfo *t); | void drawConstraint(TransInfo *t); | ||||
| void getConstraintMatrix(TransInfo *t); | void getConstraintMatrix(TransInfo *t); | ||||
| void setConstraint(TransInfo *t, float space[3][3], int mode, const char text[]); | void setConstraint(TransInfo *t, float space[3][3], int mode, const char text[]); | ||||
| ▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines | |||||