Blender V5.0
paint_intern.hh File Reference
#include "BLI_index_mask_fwd.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"
#include "DNA_object_enums.h"
#include "DNA_scene_enums.h"
#include "DNA_vec_types.h"
#include "DNA_windowmanager_enums.h"
#include <optional>

Go to the source code of this file.

Classes

class  blender::ed::sculpt_paint::PaintModeData
struct  WPaintVGroupIndex
struct  ImagePaintPartialRedraw
struct  CurveMaskCache
 Caching structure for curve mask. More...
struct  BlurKernel
struct  blender::ed::sculpt_paint::vwpaint::NormalAnglePrecalc

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::bke::pbvh
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ocio
namespace  blender::ed::sculpt_paint::vwpaint

Macros

#define PAINT_CURVE_NUM_SEGMENTS   40

Typedefs

using blender::ed::sculpt_paint::StrokeGetLocation
using blender::ed::sculpt_paint::StrokeTestStart = bool (*)(bContext *C, wmOperator *op, const float mouse[2])
using blender::ed::sculpt_paint::StrokeUpdateStep
using blender::ed::sculpt_paint::StrokeRedraw = void (*)(const bContext *C, PaintStroke *stroke, bool final)
using blender::ed::sculpt_paint::StrokeDone = void (*)(const bContext *C, PaintStroke *stroke)
using VPaintTransform_Callback

Enumerations

enum  { WPAINT_GRADIENT_TYPE_LINEAR , WPAINT_GRADIENT_TYPE_RADIAL }
enum  eWPaintFlag { WPAINT_ENSURE_MIRROR = (1 << 0) }
enum  BrushStrokeMode { BRUSH_STROKE_NORMAL , BRUSH_STROKE_INVERT , BRUSH_STROKE_SMOOTH , BRUSH_STROKE_ERASE }

Functions

PaintStrokeblender::ed::sculpt_paint::paint_stroke_new (bContext *C, wmOperator *op, StrokeGetLocation get_location, StrokeTestStart test_start, StrokeUpdateStep update_step, StrokeRedraw redraw, StrokeDone done, int event_type)
void blender::ed::sculpt_paint::paint_stroke_free (bContext *C, wmOperator *op, PaintStroke *stroke)
bool blender::ed::sculpt_paint::paint_space_stroke_enabled (const Brush &br, PaintMode mode)
bool blender::ed::sculpt_paint::paint_supports_dynamic_size (const Brush &br, PaintMode mode)
bool blender::ed::sculpt_paint::paint_supports_dynamic_tex_coords (const Brush &br, PaintMode mode)
bool blender::ed::sculpt_paint::paint_supports_smooth_stroke (PaintStroke *stroke, const Brush &br, PaintMode mode)
bool blender::ed::sculpt_paint::paint_supports_texture (PaintMode mode)
wmKeyMapblender::ed::sculpt_paint::paint_stroke_modal_keymap (wmKeyConfig *keyconf)
wmOperatorStatus blender::ed::sculpt_paint::paint_stroke_modal (bContext *C, wmOperator *op, const wmEvent *event, PaintStroke **stroke_p)
wmOperatorStatus blender::ed::sculpt_paint::paint_stroke_exec (bContext *C, wmOperator *op, PaintStroke *stroke)
void blender::ed::sculpt_paint::paint_stroke_cancel (bContext *C, wmOperator *op, PaintStroke *stroke)
bool blender::ed::sculpt_paint::paint_stroke_flipped (PaintStroke *stroke)
bool blender::ed::sculpt_paint::paint_stroke_inverted (PaintStroke *stroke)
ViewContextblender::ed::sculpt_paint::paint_stroke_view_context (PaintStroke *stroke)
void * blender::ed::sculpt_paint::paint_stroke_mode_data (PaintStroke *stroke)
float blender::ed::sculpt_paint::paint_stroke_distance_get (PaintStroke *stroke)
void blender::ed::sculpt_paint::paint_stroke_set_mode_data (PaintStroke *stroke, std::unique_ptr< PaintModeData > mode_data)
bool blender::ed::sculpt_paint::paint_stroke_started (PaintStroke *stroke)
void blender::ed::sculpt_paint::paint_stroke_jitter_pos (const PaintStroke &stroke, PaintMode mode, const Brush &brush, float pressure, const float mval[2], float r_mouse_out[2])
bool blender::ed::sculpt_paint::paint_brush_tool_poll (bContext *C)
bool blender::ed::sculpt_paint::paint_brush_cursor_poll (bContext *C)
bool blender::ed::sculpt_paint::paint_brush_update (bContext *C, const Brush &brush, PaintMode mode, PaintStroke *stroke, const float mouse_init[2], float mouse[2], float pressure, float r_location[3], bool *r_location_is_set)
void blender::ed::sculpt_paint::BRUSH_OT_asset_activate (wmOperatorType *ot)
void blender::ed::sculpt_paint::BRUSH_OT_asset_save_as (wmOperatorType *ot)
void blender::ed::sculpt_paint::BRUSH_OT_asset_edit_metadata (wmOperatorType *ot)
void blender::ed::sculpt_paint::BRUSH_OT_asset_load_preview (wmOperatorType *ot)
void blender::ed::sculpt_paint::BRUSH_OT_asset_delete (wmOperatorType *ot)
void blender::ed::sculpt_paint::BRUSH_OT_asset_save (wmOperatorType *ot)
void blender::ed::sculpt_paint::BRUSH_OT_asset_revert (wmOperatorType *ot)
void paint_cursor_delete_textures ()
bool weight_paint_poll (bContext *C)
bool weight_paint_poll_ignore_tool (bContext *C)
bool weight_paint_mode_poll (bContext *C)
bool weight_paint_mode_region_view3d_poll (bContext *C)
bool vertex_paint_poll (bContext *C)
bool vertex_paint_poll_ignore_tool (bContext *C)
bool vertex_paint_mode_poll (bContext *C)
void PAINT_OT_weight_paint_toggle (wmOperatorType *ot)
void PAINT_OT_weight_paint (wmOperatorType *ot)
void PAINT_OT_weight_set (wmOperatorType *ot)
void PAINT_OT_weight_gradient (wmOperatorType *ot)
void PAINT_OT_vertex_paint_toggle (wmOperatorType *ot)
void PAINT_OT_vertex_paint (wmOperatorType *ot)
unsigned int ED_vpaint_blend_tool (int tool, uint col, uint paintcol, int alpha_i)
float ED_wpaint_blend_tool (int tool, float weight, float paintval, float alpha)
bool ED_wpaint_ensure_data (bContext *C, ReportList *reports, eWPaintFlag flag, WPaintVGroupIndex *vgroup_index)
int ED_wpaint_mirror_vgroup_ensure (Object *ob, int vgroup_active)
void PAINT_OT_vertex_color_set (wmOperatorType *ot)
void PAINT_OT_vertex_color_from_weight (wmOperatorType *ot)
void PAINT_OT_vertex_color_smooth (wmOperatorType *ot)
void PAINT_OT_vertex_color_brightness_contrast (wmOperatorType *ot)
void PAINT_OT_vertex_color_hsv (wmOperatorType *ot)
void PAINT_OT_vertex_color_invert (wmOperatorType *ot)
void PAINT_OT_vertex_color_levels (wmOperatorType *ot)
void PAINT_OT_weight_from_bones (wmOperatorType *ot)
void PAINT_OT_weight_sample (wmOperatorType *ot)
void PAINT_OT_weight_sample_group (wmOperatorType *ot)
VertProjHandleED_vpaint_proj_handle_create (Depsgraph &depsgraph, Scene &scene, Object &ob, blender::Span< blender::float3 > &r_vert_positions, blender::Span< blender::float3 > &r_vert_normals)
void ED_vpaint_proj_handle_update (Depsgraph *depsgraph, VertProjHandle *vp_handle, ARegion *region, const float mval_fl[2])
void ED_vpaint_proj_handle_free (VertProjHandle *vp_handle)
bool image_texture_paint_poll (bContext *C)
bool image_paint_poll_ignore_tool (bContext *C)
void imapaint_image_update (SpaceImage *sima, Image *image, ImBuf *ibuf, ImageUser *iuser, short texpaint)
ImagePaintPartialRedrawget_imapaintpartial ()
void set_imapaintpartial (ImagePaintPartialRedraw *ippr)
void imapaint_region_tiles (ImBuf *ibuf, int x, int y, int w, int h, int *tx, int *ty, int *tw, int *th)
bool get_imapaint_zoom (bContext *C, float *zoomx, float *zoomy)
void * paint_2d_new_stroke (bContext *, wmOperator *, int mode)
void paint_2d_redraw (const bContext *C, void *ps, bool final)
void paint_2d_stroke_done (void *ps)
void paint_2d_stroke (void *ps, const float prev_mval[2], const float mval[2], bool eraser, float pressure, float distance, float base_size)
void paint_2d_bucket_fill (const bContext *C, const float color[3], Brush *br, const float mouse_init[2], const float mouse_final[2], void *ps)
void paint_2d_gradient_fill (const bContext *C, Brush *br, const float mouse_init[2], const float mouse_final[2], void *ps)
void * paint_proj_new_stroke (bContext *C, Object *ob, const float mouse[2], int mode)
void paint_proj_stroke (const bContext *C, void *ps_handle_p, const float prev_pos[2], const float pos[2], bool eraser, float pressure, float distance, float size)
void paint_proj_redraw (const bContext *C, void *ps_handle_p, bool final)
void paint_proj_stroke_done (void *ps_handle_p)
void paint_brush_color_get (const Paint *paint, Brush *br, std::optional< blender::float3 > &initial_hsv_jitter, bool invert, float distance, float pressure, float r_color[3])
bool paint_use_opacity_masking (const Paint *paint, const Brush *brush)
void paint_brush_init_tex (Brush *brush)
void paint_brush_exit_tex (Brush *brush)
void PAINT_OT_grab_clone (wmOperatorType *ot)
void PAINT_OT_sample_color (wmOperatorType *ot)
void PAINT_OT_brush_colors_flip (wmOperatorType *ot)
void PAINT_OT_texture_paint_toggle (wmOperatorType *ot)
void PAINT_OT_project_image (wmOperatorType *ot)
void PAINT_OT_image_from_view (wmOperatorType *ot)
void PAINT_OT_add_texture_paint_slot (wmOperatorType *ot)
void PAINT_OT_image_paint (wmOperatorType *ot)
void PAINT_OT_add_simple_uvs (wmOperatorType *ot)
void paint_curve_mask_cache_free_data (CurveMaskCache *curve_mask_cache)
void paint_curve_mask_cache_update (CurveMaskCache *curve_mask_cache, const Brush *brush, int diameter, float radius, const float cursor_position[2])
void SCULPT_OT_uv_sculpt_grab (wmOperatorType *ot)
void SCULPT_OT_uv_sculpt_relax (wmOperatorType *ot)
void SCULPT_OT_uv_sculpt_pinch (wmOperatorType *ot)
bool paint_convert_bb_to_rect (rcti *rect, const float bb_min[3], const float bb_max[3], const ARegion &region, const RegionView3D &rv3d, const Object &ob)
float paint_calc_object_space_radius (const ViewContext &vc, const blender::float3 &center, float pixel_radius)
bool paint_get_tex_pixel (const MTex *mtex, float u, float v, ImagePool *pool, int thread, float *r_intensity, float r_rgba[4])
void paint_stroke_operator_properties (wmOperatorType *ot)
void BRUSH_OT_curve_preset (wmOperatorType *ot)
void BRUSH_OT_sculpt_curves_falloff_preset (wmOperatorType *ot)
void PAINT_OT_face_select_linked (wmOperatorType *ot)
void PAINT_OT_face_select_linked_pick (wmOperatorType *ot)
void PAINT_OT_face_select_all (wmOperatorType *ot)
void PAINT_OT_face_select_more (wmOperatorType *ot)
void PAINT_OT_face_select_less (wmOperatorType *ot)
void PAINT_OT_face_select_hide (wmOperatorType *ot)
void PAINT_OT_face_select_loop (wmOperatorType *ot)
void PAINT_OT_face_vert_reveal (wmOperatorType *ot)
void PAINT_OT_vert_select_all (wmOperatorType *ot)
void PAINT_OT_vert_select_ungrouped (wmOperatorType *ot)
void PAINT_OT_vert_select_hide (wmOperatorType *ot)
void PAINT_OT_vert_select_linked (wmOperatorType *ot)
void PAINT_OT_vert_select_linked_pick (wmOperatorType *ot)
void PAINT_OT_vert_select_more (wmOperatorType *ot)
void PAINT_OT_vert_select_less (wmOperatorType *ot)
bool vert_paint_poll (bContext *C)
bool mask_paint_poll (bContext *C)
bool paint_curve_poll (bContext *C)
bool facemask_paint_poll (bContext *C)
bool blender::ed::sculpt_paint::is_symmetry_iteration_valid (const char i, const char symm)
float3 blender::ed::sculpt_paint::symmetry_flip (const float3 &src, const ePaintSymmetryFlags symm)
void PAINTCURVE_OT_new (wmOperatorType *ot)
void PAINTCURVE_OT_add_point (wmOperatorType *ot)
void PAINTCURVE_OT_delete_point (wmOperatorType *ot)
void PAINTCURVE_OT_select (wmOperatorType *ot)
void PAINTCURVE_OT_slide (wmOperatorType *ot)
void PAINTCURVE_OT_draw (wmOperatorType *ot)
void PAINTCURVE_OT_cursor (wmOperatorType *ot)
BlurKernelpaint_new_blur_kernel (Brush *br, bool proj)
void paint_delete_blur_kernel (BlurKernel *)
void paint_init_pivot (Object *ob, Scene *scene, Paint *paint)
Shared vertex/weight paint code.
void blender::ed::sculpt_paint::vwpaint::view_angle_limits_init (NormalAnglePrecalc *a, float angle, bool do_mask_normal)
float blender::ed::sculpt_paint::vwpaint::view_angle_limits_apply_falloff (const NormalAnglePrecalc *a, float angle_cos, float *mask_p)
bool blender::ed::sculpt_paint::vwpaint::test_brush_angle_falloff (const Brush &brush, const NormalAnglePrecalc &normal_angle_precalc, float angle_cos, float *brush_strength)
bool blender::ed::sculpt_paint::vwpaint::use_normal (const VPaint &vp)
bool blender::ed::sculpt_paint::vwpaint::brush_use_accumulate_ex (const Brush &brush, eObjectMode ob_mode)
bool blender::ed::sculpt_paint::vwpaint::brush_use_accumulate (const VPaint &vp)
void blender::ed::sculpt_paint::vwpaint::get_brush_alpha_data (const SculptSession &ss, const Paint &paint, const Brush &brush, float *r_brush_size_pressure, float *r_brush_alpha_value, float *r_brush_alpha_pressure)
void blender::ed::sculpt_paint::vwpaint::init_stroke (Depsgraph &depsgraph, Object &ob)
void blender::ed::sculpt_paint::vwpaint::init_session_data (const ToolSettings &ts, Object &ob)
void blender::ed::sculpt_paint::vwpaint::init_session (Main &bmain, Depsgraph &depsgraph, Scene &scene, Paint &paint, Object &ob, eObjectMode object_mode)
IndexMask blender::ed::sculpt_paint::vwpaint::pbvh_gather_generic (const Depsgraph &depsgraph, const Object &ob, const VPaint &wp, const Brush &brush, IndexMaskMemory &memory)
void blender::ed::sculpt_paint::vwpaint::mode_enter_generic (Main &bmain, Depsgraph &depsgraph, Scene &scene, Object &ob, eObjectMode mode_flag)
void blender::ed::sculpt_paint::vwpaint::mode_exit_generic (Object &ob, eObjectMode mode_flag)
bool blender::ed::sculpt_paint::vwpaint::mode_toggle_poll_test (bContext *C)
void blender::ed::sculpt_paint::vwpaint::smooth_brush_toggle_off (Paint *paint, StrokeCache *cache)
void blender::ed::sculpt_paint::vwpaint::smooth_brush_toggle_on (const bContext *C, Paint *paint, StrokeCache *cache)
void blender::ed::sculpt_paint::vwpaint::update_cache_variants (bContext *C, VPaint &vp, Object &ob, PointerRNA *ptr)
void blender::ed::sculpt_paint::vwpaint::update_cache_invariants (bContext *C, VPaint &vp, SculptSession &ss, wmOperator *op, const float mval[2])
void blender::ed::sculpt_paint::vwpaint::last_stroke_update (const float location[3], Paint &paint)

Macro Definition Documentation

◆ PAINT_CURVE_NUM_SEGMENTS

#define PAINT_CURVE_NUM_SEGMENTS   40

Typedef Documentation

◆ VPaintTransform_Callback

Initial value:
void (*)(const float col[3],
const void *user_data,
float r_col[3])
uint col

Definition at line 218 of file paint_intern.hh.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
WPAINT_GRADIENT_TYPE_LINEAR 
WPAINT_GRADIENT_TYPE_RADIAL 

Definition at line 226 of file paint_intern.hh.

◆ BrushStrokeMode

Enumerator
BRUSH_STROKE_NORMAL 
BRUSH_STROKE_INVERT 
BRUSH_STROKE_SMOOTH 
BRUSH_STROKE_ERASE 

Definition at line 514 of file paint_intern.hh.

◆ eWPaintFlag

Enumerator
WPAINT_ENSURE_MIRROR 

Definition at line 252 of file paint_intern.hh.

Function Documentation

◆ BRUSH_OT_curve_preset()

void BRUSH_OT_curve_preset ( wmOperatorType * ot)

References ot.

◆ BRUSH_OT_sculpt_curves_falloff_preset()

void BRUSH_OT_sculpt_curves_falloff_preset ( wmOperatorType * ot)

References C, and ot.

◆ ED_vpaint_blend_tool()

unsigned int ED_vpaint_blend_tool ( int tool,
uint col,
uint paintcol,
int alpha_i )
Note
weight-paint has an equivalent function: ED_wpaint_blend_tool

References col.

◆ ED_vpaint_proj_handle_create()

◆ ED_vpaint_proj_handle_free()

void ED_vpaint_proj_handle_free ( VertProjHandle * vp_handle)

Definition at line 194 of file paint_vertex_proj.cc.

Referenced by VPaintData::~VPaintData().

◆ ED_vpaint_proj_handle_update()

void ED_vpaint_proj_handle_update ( Depsgraph * depsgraph,
VertProjHandle * vp_handle,
ARegion * region,
const float mval_fl[2] )

◆ ED_wpaint_blend_tool()

float ED_wpaint_blend_tool ( int tool,
float weight,
float paintval,
float alpha )

◆ ED_wpaint_ensure_data()

◆ ED_wpaint_mirror_vgroup_ensure()

int ED_wpaint_mirror_vgroup_ensure ( Object * ob,
int vgroup_active )

◆ facemask_paint_poll()

◆ get_imapaint_zoom()

◆ get_imapaintpartial()

ImagePaintPartialRedraw * get_imapaintpartial ( )

Definition at line 86 of file paint_image.cc.

References imapaintpartial.

◆ image_paint_poll_ignore_tool()

bool image_paint_poll_ignore_tool ( bContext * C)

Definition at line 318 of file paint_image.cc.

References C, and image_paint_poll_ex().

Referenced by sample_color_poll().

◆ image_texture_paint_poll()

bool image_texture_paint_poll ( bContext * C)

Definition at line 965 of file paint_image.cc.

References C, ED_image_tools_paint_poll(), and texture_paint_poll().

Referenced by ED_keymap_paint().

◆ imapaint_image_update()

◆ imapaint_region_tiles()

void imapaint_region_tiles ( ImBuf * ibuf,
int x,
int y,
int w,
int h,
int * tx,
int * ty,
int * tw,
int * th )

Definition at line 103 of file paint_image.cc.

References ED_IMAGE_UNDO_TILE_BITS, IMB_rectclip(), w(), x, and y.

Referenced by ED_imapaint_dirty_region(), and paint_2d_op().

◆ mask_paint_poll()

bool mask_paint_poll ( bContext * C)

Definition at line 980 of file paint_image.cc.

References BKE_paint_select_elem_test(), C, and CTX_data_active_object().

◆ paint_2d_bucket_fill()

void paint_2d_bucket_fill ( const bContext * C,
const float color[3],
Brush * br,
const float mouse_init[2],
const float mouse_final[2],
void * ps )

◆ paint_2d_gradient_fill()

◆ paint_2d_new_stroke()

◆ paint_2d_redraw()

◆ paint_2d_stroke()

◆ paint_2d_stroke_done()

◆ paint_brush_color_get()

◆ paint_brush_exit_tex()

void paint_brush_exit_tex ( Brush * brush)

◆ paint_brush_init_tex()

void paint_brush_init_tex ( Brush * brush)

◆ paint_calc_object_space_radius()

◆ paint_convert_bb_to_rect()

bool paint_convert_bb_to_rect ( rcti * rect,
const float bb_min[3],
const float bb_max[3],
const ARegion & region,
const RegionView3D & rv3d,
const Object & ob )

Convert the object-space axis-aligned bounding box (expressed as its minimum and maximum corners) into a screen-space rectangle, returns zero if the result is empty.

Definition at line 52 of file paint_utils.cc.

References BLI_rcti_do_minmax_v(), BLI_rcti_init_minmax(), ED_view3d_ob_project_mat_get(), ED_view3d_project_float_v2_m4(), i, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.

Referenced by blender::ed::sculpt_paint::trim::calc_expand_factor().

◆ paint_cursor_delete_textures()

void paint_cursor_delete_textures ( )

◆ paint_curve_mask_cache_free_data()

void paint_curve_mask_cache_free_data ( CurveMaskCache * curve_mask_cache)

◆ paint_curve_mask_cache_update()

◆ paint_curve_poll()

◆ paint_delete_blur_kernel()

void paint_delete_blur_kernel ( BlurKernel * kernel)

Definition at line 257 of file paint_image.cc.

References MEM_freeN(), and BlurKernel::wdata.

Referenced by paint_2d_canvas_free(), paint_new_blur_kernel(), and project_paint_end().

◆ paint_get_tex_pixel()

bool paint_get_tex_pixel ( const MTex * mtex,
float u,
float v,
ImagePool * pool,
int thread,
float * r_intensity,
float r_rgba[4] )

Returns true when a color was sampled and false when a value was sampled.

Definition at line 114 of file paint_utils.cc.

References RE_texture_evaluate(), and v.

Referenced by blender::ed::sculpt_paint::load_tex_task_cb_ex(), and sculpt_apply_texture().

◆ paint_init_pivot()

◆ paint_new_blur_kernel()

BlurKernel * paint_new_blur_kernel ( Brush * br,
bool proj )

Paint blur kernels. Projective painting enforces use of a 2x2 kernel due to lagging. Can be extended to other blur kernels later,

Definition at line 190 of file paint_image.cc.

References Brush::blur_kernel_radius, Brush::blur_mode, exp, i, KERNEL_BOX, KERNEL_GAUSSIAN, MEM_malloc_arrayN(), paint_delete_blur_kernel(), BlurKernel::pixel_len, printf, BlurKernel::side, BlurKernel::side_squared, and BlurKernel::wdata.

Referenced by paint_2d_new_stroke(), and project_state_init().

◆ PAINT_OT_add_simple_uvs()

void PAINT_OT_add_simple_uvs ( wmOperatorType * ot)

◆ PAINT_OT_add_texture_paint_slot()

◆ PAINT_OT_brush_colors_flip()

void PAINT_OT_brush_colors_flip ( wmOperatorType * ot)

◆ PAINT_OT_face_select_all()

void PAINT_OT_face_select_all ( wmOperatorType * ot)

◆ PAINT_OT_face_select_hide()

void PAINT_OT_face_select_hide ( wmOperatorType * ot)

◆ PAINT_OT_face_select_less()

void PAINT_OT_face_select_less ( wmOperatorType * ot)

◆ PAINT_OT_face_select_linked()

void PAINT_OT_face_select_linked ( wmOperatorType * ot)

◆ PAINT_OT_face_select_linked_pick()

void PAINT_OT_face_select_linked_pick ( wmOperatorType * ot)

◆ PAINT_OT_face_select_loop()

void PAINT_OT_face_select_loop ( wmOperatorType * ot)

◆ PAINT_OT_face_select_more()

void PAINT_OT_face_select_more ( wmOperatorType * ot)

◆ PAINT_OT_face_vert_reveal()

void PAINT_OT_face_vert_reveal ( wmOperatorType * ot)

◆ PAINT_OT_grab_clone()

◆ PAINT_OT_image_from_view()

◆ PAINT_OT_image_paint()

◆ PAINT_OT_project_image()

◆ PAINT_OT_sample_color()

◆ PAINT_OT_texture_paint_toggle()

void PAINT_OT_texture_paint_toggle ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_all()

void PAINT_OT_vert_select_all ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_hide()

void PAINT_OT_vert_select_hide ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_less()

void PAINT_OT_vert_select_less ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_linked()

void PAINT_OT_vert_select_linked ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_linked_pick()

void PAINT_OT_vert_select_linked_pick ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_more()

void PAINT_OT_vert_select_more ( wmOperatorType * ot)

◆ PAINT_OT_vert_select_ungrouped()

void PAINT_OT_vert_select_ungrouped ( wmOperatorType * ot)

◆ PAINT_OT_vertex_color_brightness_contrast()

◆ PAINT_OT_vertex_color_from_weight()

void PAINT_OT_vertex_color_from_weight ( wmOperatorType * ot)

◆ PAINT_OT_vertex_color_hsv()

void PAINT_OT_vertex_color_hsv ( wmOperatorType * ot)

◆ PAINT_OT_vertex_color_invert()

void PAINT_OT_vertex_color_invert ( wmOperatorType * ot)

◆ PAINT_OT_vertex_color_levels()

void PAINT_OT_vertex_color_levels ( wmOperatorType * ot)

◆ PAINT_OT_vertex_color_set()

void PAINT_OT_vertex_color_set ( wmOperatorType * ot)

◆ PAINT_OT_vertex_color_smooth()

void PAINT_OT_vertex_color_smooth ( wmOperatorType * ot)

◆ PAINT_OT_vertex_paint()

◆ PAINT_OT_vertex_paint_toggle()

void PAINT_OT_vertex_paint_toggle ( wmOperatorType * ot)

◆ PAINT_OT_weight_from_bones()

◆ PAINT_OT_weight_gradient()

◆ PAINT_OT_weight_paint()

◆ PAINT_OT_weight_paint_toggle()

void PAINT_OT_weight_paint_toggle ( wmOperatorType * ot)

◆ PAINT_OT_weight_sample()

void PAINT_OT_weight_sample ( wmOperatorType * ot)

◆ PAINT_OT_weight_sample_group()

void PAINT_OT_weight_sample_group ( wmOperatorType * ot)

◆ PAINT_OT_weight_set()

void PAINT_OT_weight_set ( wmOperatorType * ot)

◆ paint_proj_new_stroke()

◆ paint_proj_redraw()

◆ paint_proj_stroke()

◆ paint_proj_stroke_done()

◆ paint_stroke_operator_properties()

◆ paint_use_opacity_masking()

◆ PAINTCURVE_OT_add_point()

◆ PAINTCURVE_OT_cursor()

void PAINTCURVE_OT_cursor ( wmOperatorType * ot)

Definition at line 761 of file paint_curve.cc.

References ot, paint_curve_poll(), and paintcurve_cursor_invoke().

Referenced by ED_operatortypes_paint().

◆ PAINTCURVE_OT_delete_point()

void PAINTCURVE_OT_delete_point ( wmOperatorType * ot)

Definition at line 367 of file paint_curve.cc.

References OPTYPE_UNDO, ot, paint_curve_poll(), and paintcurve_delete_point_exec().

Referenced by ED_operatortypes_paint().

◆ PAINTCURVE_OT_draw()

void PAINTCURVE_OT_draw ( wmOperatorType * ot)

Definition at line 716 of file paint_curve.cc.

References OPTYPE_UNDO, ot, paint_curve_poll(), and paintcurve_draw_exec().

Referenced by ED_operatortypes_paint().

◆ PAINTCURVE_OT_new()

void PAINTCURVE_OT_new ( wmOperatorType * ot)

Definition at line 173 of file paint_curve.cc.

References OPTYPE_REGISTER, OPTYPE_UNDO, ot, paint_curve_poll(), and paintcurve_new_exec().

Referenced by ED_operatortypes_paint().

◆ PAINTCURVE_OT_select()

◆ PAINTCURVE_OT_slide()

void PAINTCURVE_OT_slide ( wmOperatorType * ot)

◆ SCULPT_OT_uv_sculpt_grab()

◆ SCULPT_OT_uv_sculpt_pinch()

◆ SCULPT_OT_uv_sculpt_relax()

◆ set_imapaintpartial()

void set_imapaintpartial ( ImagePaintPartialRedraw * ippr)

Definition at line 91 of file paint_image.cc.

References imapaintpartial.

Referenced by project_image_refresh_tagged().

◆ vert_paint_poll()

◆ vertex_paint_mode_poll()

◆ vertex_paint_poll()

bool vertex_paint_poll ( bContext * C)

◆ vertex_paint_poll_ignore_tool()

bool vertex_paint_poll_ignore_tool ( bContext * C)

Definition at line 647 of file paint_vertex.cc.

References C, and vertex_paint_poll_ex().

Referenced by sample_color_poll().

◆ weight_paint_mode_poll()

◆ weight_paint_mode_region_view3d_poll()

bool weight_paint_mode_region_view3d_poll ( bContext * C)

◆ weight_paint_poll()

bool weight_paint_poll ( bContext * C)

◆ weight_paint_poll_ignore_tool()

bool weight_paint_poll_ignore_tool ( bContext * C)

Definition at line 1614 of file paint_weight.cc.

References C, and weight_paint_poll_ex().

Referenced by PAINT_OT_weight_gradient().