Blender V4.3
mask_intern.hh File Reference
#include "ED_clip.hh"

Go to the source code of this file.

Classes

struct  MaskViewLockState
 

Functions

void MASK_OT_add_vertex (wmOperatorType *ot)
 
void MASK_OT_add_feather_vertex (wmOperatorType *ot)
 
void MASK_OT_primitive_circle_add (wmOperatorType *ot)
 
void MASK_OT_primitive_square_add (wmOperatorType *ot)
 
MaskED_mask_new (bContext *C, const char *name)
 
MaskLayerED_mask_layer_ensure (bContext *C, bool *r_added_mask)
 
void MASK_OT_new (wmOperatorType *ot)
 
void MASK_OT_layer_new (wmOperatorType *ot)
 
void MASK_OT_layer_remove (wmOperatorType *ot)
 
void MASK_OT_cyclic_toggle (wmOperatorType *ot)
 
void MASK_OT_slide_point (wmOperatorType *ot)
 
void MASK_OT_slide_spline_curvature (wmOperatorType *ot)
 
void MASK_OT_delete (wmOperatorType *ot)
 
void MASK_OT_hide_view_clear (wmOperatorType *ot)
 
void MASK_OT_hide_view_set (wmOperatorType *ot)
 
void MASK_OT_feather_weight_clear (wmOperatorType *ot)
 
void MASK_OT_switch_direction (wmOperatorType *ot)
 
void MASK_OT_normals_make_consistent (wmOperatorType *ot)
 
void MASK_OT_handle_type_set (wmOperatorType *ot)
 
void MASK_OT_layer_move (wmOperatorType *ot)
 
void MASK_OT_duplicate (wmOperatorType *ot)
 
void MASK_OT_copy_splines (wmOperatorType *ot)
 
void MASK_OT_paste_splines (wmOperatorType *ot)
 
void MASK_OT_parent_set (wmOperatorType *ot)
 
void MASK_OT_parent_clear (wmOperatorType *ot)
 
void MASK_OT_select (wmOperatorType *ot)
 
void MASK_OT_select_all (wmOperatorType *ot)
 
void MASK_OT_select_box (wmOperatorType *ot)
 
void MASK_OT_select_lasso (wmOperatorType *ot)
 
void MASK_OT_select_circle (wmOperatorType *ot)
 
void MASK_OT_select_linked_pick (wmOperatorType *ot)
 
void MASK_OT_select_linked (wmOperatorType *ot)
 
void MASK_OT_select_more (wmOperatorType *ot)
 
void MASK_OT_select_less (wmOperatorType *ot)
 
bool ED_mask_spline_select_check (const MaskSpline *spline)
 
bool ED_mask_layer_select_check (const MaskLayer *mask_layer)
 
bool ED_mask_select_check (const Mask *mask)
 
void ED_mask_spline_select_set (MaskSpline *spline, bool do_select)
 
void ED_mask_layer_select_set (MaskLayer *mask_layer, bool do_select)
 
void ED_mask_select_toggle_all (Mask *mask, int action)
 
void ED_mask_select_flush_all (Mask *mask)
 
void ED_mask_view_lock_state_store (const bContext *C, MaskViewLockState *state)
 
void ED_mask_view_lock_state_restore_no_jump (const bContext *C, const MaskViewLockState *state)
 
bool ED_mask_find_nearest_diff_point (const bContext *C, Mask *mask_orig, const float normal_co[2], int threshold, bool feather, float tangent[2], bool use_deform, bool use_project, MaskLayer **r_mask_layer, MaskSpline **r_spline, MaskSplinePoint **r_point, float *r_u, float *r_score)
 
bool ED_mask_feather_find_nearest (const bContext *C, Mask *mask_orig, const float normal_co[2], float threshold, MaskLayer **r_mask_layer, MaskSpline **r_spline, MaskSplinePoint **r_point, MaskSplinePointUW **r_uw, float *r_score)
 
MaskSplinePointED_mask_point_find_nearest (const bContext *C, Mask *mask_orig, const float normal_co[2], float threshold, MaskLayer **r_mask_layer, MaskSpline **r_spline, eMaskWhichHandle *r_which_handle, float *r_score)
 
void MASK_OT_shape_key_insert (wmOperatorType *ot)
 
void MASK_OT_shape_key_clear (wmOperatorType *ot)
 
void MASK_OT_shape_key_feather_reset (wmOperatorType *ot)
 
void MASK_OT_shape_key_rekey (wmOperatorType *ot)
 

Function Documentation

◆ ED_mask_feather_find_nearest()

◆ ED_mask_find_nearest_diff_point()

◆ ED_mask_layer_ensure()

MaskLayer * ED_mask_layer_ensure ( bContext * C,
bool * r_added_mask )

Get active layer. Will create mask/layer to be sure there's an active layer.

Definition at line 76 of file mask_ops.cc.

References BKE_mask_layer_active(), BKE_mask_layer_new(), CTX_data_edit_mask(), and ED_mask_new().

Referenced by create_primitive_from_points().

◆ ED_mask_layer_select_check()

◆ ED_mask_layer_select_set()

void ED_mask_layer_select_set ( MaskLayer * mask_layer,
bool do_select )

◆ ED_mask_new()

◆ ED_mask_point_find_nearest()

◆ ED_mask_select_check()

bool ED_mask_select_check ( const Mask * mask)

Definition at line 74 of file mask_select.cc.

References ED_mask_layer_select_check(), and LISTBASE_FOREACH.

Referenced by ED_mask_select_toggle_all().

◆ ED_mask_select_flush_all()

◆ ED_mask_select_toggle_all()

◆ ED_mask_spline_select_check()

bool ED_mask_spline_select_check ( const MaskSpline * spline)

◆ ED_mask_spline_select_set()

void ED_mask_spline_select_set ( MaskSpline * spline,
bool do_select )

◆ ED_mask_view_lock_state_restore_no_jump()

◆ ED_mask_view_lock_state_store()

◆ MASK_OT_add_feather_vertex()

◆ MASK_OT_add_vertex()

◆ MASK_OT_copy_splines()

◆ MASK_OT_cyclic_toggle()

◆ MASK_OT_delete()

◆ MASK_OT_duplicate()

◆ MASK_OT_feather_weight_clear()

◆ MASK_OT_handle_type_set()

◆ MASK_OT_hide_view_clear()

◆ MASK_OT_hide_view_set()

◆ MASK_OT_layer_move()

◆ MASK_OT_layer_new()

◆ MASK_OT_layer_remove()

◆ MASK_OT_new()

◆ MASK_OT_normals_make_consistent()

◆ MASK_OT_parent_clear()

◆ MASK_OT_parent_set()

◆ MASK_OT_paste_splines()

◆ MASK_OT_primitive_circle_add()

◆ MASK_OT_primitive_square_add()

◆ MASK_OT_select()

◆ MASK_OT_select_all()

◆ MASK_OT_select_box()

◆ MASK_OT_select_circle()

◆ MASK_OT_select_lasso()

◆ MASK_OT_select_less()

◆ MASK_OT_select_linked()

◆ MASK_OT_select_linked_pick()

◆ MASK_OT_select_more()

◆ MASK_OT_shape_key_clear()

◆ MASK_OT_shape_key_feather_reset()

◆ MASK_OT_shape_key_insert()

◆ MASK_OT_shape_key_rekey()

◆ MASK_OT_slide_point()

◆ MASK_OT_slide_spline_curvature()

◆ MASK_OT_switch_direction()