Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt_intern.h
| Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | |||||
| const float *SCULPT_vertex_co_get(struct SculptSession *ss, int index); | const float *SCULPT_vertex_co_get(struct SculptSession *ss, int index); | ||||
| void SCULPT_vertex_normal_get(SculptSession *ss, int index, float no[3]); | void SCULPT_vertex_normal_get(SculptSession *ss, int index, float no[3]); | ||||
| float SCULPT_vertex_mask_get(struct SculptSession *ss, int index); | float SCULPT_vertex_mask_get(struct SculptSession *ss, int index); | ||||
| const float *SCULPT_vertex_color_get(SculptSession *ss, int index); | const float *SCULPT_vertex_color_get(SculptSession *ss, int index); | ||||
| const float *SCULPT_vertex_persistent_co_get(SculptSession *ss, int index); | const float *SCULPT_vertex_persistent_co_get(SculptSession *ss, int index); | ||||
| void SCULPT_vertex_persistent_normal_get(SculptSession *ss, int index, float no[3]); | void SCULPT_vertex_persistent_normal_get(SculptSession *ss, int index, float no[3]); | ||||
| /* Coordinates used for manipulating the base mesh when Grab Active Vertex is enabled. */ | |||||
| const float *SCULPT_vertex_co_for_grab_active_get(SculptSession *ss, int index); | |||||
| /* Returns the info of the limit surface when Multires is available, otherwise it returns the | /* Returns the info of the limit surface when Multires is available, otherwise it returns the | ||||
| * current coordinate of the vertex. */ | * current coordinate of the vertex. */ | ||||
| void SCULPT_vertex_limit_surface_get(SculptSession *ss, int index, float r_co[3]); | void SCULPT_vertex_limit_surface_get(SculptSession *ss, int index, float r_co[3]); | ||||
| /* Returns the pointer to the coordinates that should be edited from a brush tool iterator | /* Returns the pointer to the coordinates that should be edited from a brush tool iterator | ||||
| * depending on the given deformation target. */ | * depending on the given deformation target. */ | ||||
| float *SCULPT_brush_deform_target_vertex_co_get(SculptSession *ss, | float *SCULPT_brush_deform_target_vertex_co_get(SculptSession *ss, | ||||
| const int deform_target, | const int deform_target, | ||||
| ▲ Show 20 Lines • Show All 938 Lines • ▼ Show 20 Lines | bool SCULPT_get_redraw_rect(struct ARegion *region, | ||||
| rcti *rect); | rcti *rect); | ||||
| /* Operators. */ | /* Operators. */ | ||||
| /* Gestures. */ | /* Gestures. */ | ||||
| void SCULPT_OT_face_set_lasso_gesture(struct wmOperatorType *ot); | void SCULPT_OT_face_set_lasso_gesture(struct wmOperatorType *ot); | ||||
| void SCULPT_OT_face_set_box_gesture(struct wmOperatorType *ot); | void SCULPT_OT_face_set_box_gesture(struct wmOperatorType *ot); | ||||
| void SCULPT_OT_trim_lasso_gesture(struct wmOperatorType *ot); | |||||
| void SCULPT_OT_trim_box_gesture(struct wmOperatorType *ot); | |||||
| /* Face Sets. */ | /* Face Sets. */ | ||||
| void SCULPT_OT_face_sets_randomize_colors(struct wmOperatorType *ot); | void SCULPT_OT_face_sets_randomize_colors(struct wmOperatorType *ot); | ||||
| void SCULPT_OT_face_sets_change_visibility(struct wmOperatorType *ot); | void SCULPT_OT_face_sets_change_visibility(struct wmOperatorType *ot); | ||||
| void SCULPT_OT_face_sets_init(struct wmOperatorType *ot); | void SCULPT_OT_face_sets_init(struct wmOperatorType *ot); | ||||
| void SCULPT_OT_face_sets_create(struct wmOperatorType *ot); | void SCULPT_OT_face_sets_create(struct wmOperatorType *ot); | ||||
| void SCULPT_OT_face_sets_edit(struct wmOperatorType *ot); | void SCULPT_OT_face_sets_edit(struct wmOperatorType *ot); | ||||
| /* Transform. */ | /* Transform. */ | ||||
| Show All 25 Lines | |||||