Blender V2.61 - r43446
|
Go to the source code of this file.
Defines | |
#define | TF_PIN_MASK(id) (TF_PIN1 << id) |
#define | TF_SEL_MASK(id) (TF_SEL1 << id) |
Functions | |
void | uv_center (float uv[][2], float cent[2], int quad) |
float | uv_area (float uv[][2], int quad) |
void | uv_copy_aspect (float uv_orig[][2], float uv[][2], float aspx, float aspy) |
void | UV_OT_average_islands_scale (struct wmOperatorType *ot) |
void | UV_OT_cube_project (struct wmOperatorType *ot) |
void | UV_OT_cylinder_project (struct wmOperatorType *ot) |
void | UV_OT_from_view (struct wmOperatorType *ot) |
void | UV_OT_minimize_stretch (struct wmOperatorType *ot) |
void | UV_OT_pack_islands (struct wmOperatorType *ot) |
void | UV_OT_reset (struct wmOperatorType *ot) |
void | UV_OT_sphere_project (struct wmOperatorType *ot) |
void | UV_OT_unwrap (struct wmOperatorType *ot) |
Definition in file uvedit_intern.h.
#define TF_PIN_MASK | ( | id | ) | (TF_PIN1 << id) |
Definition at line 44 of file uvedit_intern.h.
#define TF_SEL_MASK | ( | id | ) | (TF_SEL1 << id) |
Definition at line 45 of file uvedit_intern.h.
Referenced by uvedit_edge_deselect(), uvedit_edge_select(), uvedit_edge_selected(), uvedit_uv_deselect(), uvedit_uv_select(), and uvedit_uv_selected().
float uv_area | ( | float | uv[][2], |
int | quad | ||
) |
Definition at line 426 of file uvedit_ops.c.
References area_tri_v2().
Referenced by draw_uvs_stretch().
void uv_center | ( | float | uv[][2], |
float | cent[2], | ||
int | quad | ||
) |
Definition at line 414 of file uvedit_ops.c.
Referenced by border_select_exec(), and draw_uvs().
void uv_copy_aspect | ( | float | uv_orig[][2], |
float | uv[][2], | ||
float | aspx, | ||
float | aspy | ||
) |
Definition at line 434 of file uvedit_ops.c.
Referenced by draw_uvs_stretch().
void UV_OT_average_islands_scale | ( | struct wmOperatorType * | ot | ) |
Definition at line 564 of file uvedit_unwrap_ops.c.
References average_islands_scale_exec(), ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, and wmOperatorType::poll.
Referenced by ED_operatortypes_uvedit().
void UV_OT_cube_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 1382 of file uvedit_unwrap_ops.c.
References cube_project_exec(), ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_float(), wmOperatorType::srna, and uv_map_clip_correct_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_cylinder_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 1302 of file uvedit_unwrap_ops.c.
References cylinder_project_exec(), ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, uv_map_clip_correct_properties(), and uv_transform_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_from_view | ( | struct wmOperatorType * | ot | ) |
Definition at line 1085 of file uvedit_unwrap_ops.c.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, uv_from_view_exec(), uv_from_view_poll(), and uv_map_clip_correct_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_minimize_stretch | ( | struct wmOperatorType * | ot | ) |
Definition at line 463 of file uvedit_unwrap_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, minimize_stretch_cancel(), minimize_stretch_exec(), minimize_stretch_invoke(), minimize_stretch_modal(), wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_POINTER, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float_factor(), RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_uvedit().
void UV_OT_pack_islands | ( | struct wmOperatorType * | ot | ) |
Definition at line 521 of file uvedit_unwrap_ops.c.
References ED_operator_uvedit(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, pack_islands_exec(), wmOperatorType::poll, RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by ED_operatortypes_uvedit().
void UV_OT_reset | ( | struct wmOperatorType * | ot | ) |
Definition at line 1142 of file uvedit_unwrap_ops.c.
References ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, and reset_exec().
Referenced by ED_operatortypes_uvedit().
void UV_OT_sphere_project | ( | struct wmOperatorType * | ot | ) |
Definition at line 1230 of file uvedit_unwrap_ops.c.
References ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sphere_project_exec(), uv_map_clip_correct_properties(), and uv_transform_properties().
Referenced by ED_operatortypes_uvedit().
void UV_OT_unwrap | ( | struct wmOperatorType * | ot | ) |
Definition at line 965 of file uvedit_unwrap_ops.c.
References wmOperatorType::description, ED_operator_uvmap(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), wmOperatorType::srna, and unwrap_exec().
Referenced by ED_operatortypes_uvedit().