Blender  V3.3
Public Member Functions | List of all members
blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode Class Referenceabstract
Inheritance diagram for blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode:
blender::ed::sculpt_paint::image::ops::paint::ImagePaintMode blender::ed::sculpt_paint::image::ops::paint::ProjectionPaintMode

Public Member Functions

virtual ~AbstractPaintMode ()=default
 
virtual voidpaint_new_stroke (bContext *C, wmOperator *op, Object *ob, const float mouse[2], int mode)=0
 
virtual void paint_stroke (bContext *C, void *stroke_handle, float prev_mouse[2], float mouse[2], int eraser, float pressure, float distance, float size)=0
 
virtual void paint_stroke_redraw (const bContext *C, void *stroke_handle, bool final)=0
 
virtual void paint_stroke_done (void *stroke_handle)=0
 
virtual void paint_gradient_fill (const bContext *C, const Scene *scene, Brush *brush, struct PaintStroke *stroke, void *stroke_handle, float mouse_start[2], float mouse_end[2])=0
 
virtual void paint_bucket_fill (const bContext *C, const Scene *scene, Brush *brush, struct PaintStroke *stroke, void *stroke_handle, float mouse_start[2], float mouse_end[2])=0
 

Detailed Description

Interface to use the same painting operator for 3D and 2D painting. Interface removes the differences between the actual calls that are being performed.

Definition at line 47 of file paint_image_ops_paint.cc.

Constructor & Destructor Documentation

◆ ~AbstractPaintMode()

virtual blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::~AbstractPaintMode ( )
virtualdefault

Member Function Documentation

◆ paint_bucket_fill()

virtual void blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::paint_bucket_fill ( const bContext C,
const Scene scene,
Brush brush,
struct PaintStroke stroke,
void stroke_handle,
float  mouse_start[2],
float  mouse_end[2] 
)
pure virtual

◆ paint_gradient_fill()

virtual void blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::paint_gradient_fill ( const bContext C,
const Scene scene,
Brush brush,
struct PaintStroke stroke,
void stroke_handle,
float  mouse_start[2],
float  mouse_end[2] 
)
pure virtual

◆ paint_new_stroke()

virtual void* blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::paint_new_stroke ( bContext C,
wmOperator op,
Object ob,
const float  mouse[2],
int  mode 
)
pure virtual

◆ paint_stroke()

virtual void blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::paint_stroke ( bContext C,
void stroke_handle,
float  prev_mouse[2],
float  mouse[2],
int  eraser,
float  pressure,
float  distance,
float  size 
)
pure virtual

◆ paint_stroke_done()

virtual void blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::paint_stroke_done ( void stroke_handle)
pure virtual

◆ paint_stroke_redraw()

virtual void blender::ed::sculpt_paint::image::ops::paint::AbstractPaintMode::paint_stroke_redraw ( const bContext C,
void stroke_handle,
bool  final 
)
pure virtual

The documentation for this class was generated from the following file: