Blender V2.61 - r43446
Classes | Typedefs | Functions | Variables

BKE_paint.h File Reference

Go to the source code of this file.

Classes

struct  SculptSession

Typedefs

typedef struct SculptSession SculptSession

Functions

void paint_init (struct Paint *p, const char col[3])
void free_paint (struct Paint *p)
void copy_paint (struct Paint *src, struct Paint *tar)
struct Paintpaint_get_active (struct Scene *sce)
struct Brushpaint_brush (struct Paint *paint)
void paint_brush_set (struct Paint *paint, struct Brush *br)
int paint_facesel_test (struct Object *ob)
int paint_vertsel_test (struct Object *ob)
void free_sculptsession (struct Object *ob)
void free_sculptsession_deformMats (struct SculptSession *ss)

Variables

const char PAINT_CURSOR_SCULPT [3]
const char PAINT_CURSOR_VERTEX_PAINT [3]
const char PAINT_CURSOR_WEIGHT_PAINT [3]
const char PAINT_CURSOR_TEXTURE_PAINT [3]

Detailed Description

Definition in file BKE_paint.h.


Typedef Documentation

typedef struct SculptSession SculptSession

Function Documentation

void copy_paint ( struct Paint src,
struct Paint tar 
)

Definition at line 140 of file paint.c.

References Paint::brush, and id_us_plus().

Referenced by copy_scene().

void free_paint ( struct Paint p)

Definition at line 131 of file paint.c.

References Paint::brush, and id_us_min().

Referenced by free_scene().

void free_sculptsession ( struct Object ob)
void free_sculptsession_deformMats ( struct SculptSession ss)
struct Brush* paint_brush ( struct Paint paint) [read]

Definition at line 79 of file paint.c.

References Paint::brush, and NULL.

Referenced by brush_add_exec(), brush_curve_preset_exec(), brush_curve_preset_poll(), brush_generic_tool_set(), brush_reset_exec(), brush_scale_size_exec(), brush_strength(), buttons_context_path_brush(), buttons_texture_users_from_context(), calc_sculpt_normal(), calc_sculpt_plane(), calc_vp_strength_dl(), do_clay_brush(), do_clay_tubes_brush(), do_crease_brush(), do_draw_brush(), do_fill_brush(), do_flatten_brush(), do_grab_brush(), do_inflate_brush(), do_layer_brush(), do_mesh_smooth_brush(), do_multires_smooth_brush(), do_nudge_brush(), do_pinch_brush(), do_rotate_brush(), do_scrape_brush(), do_snake_hook_brush(), do_symmetrical_brush_actions(), do_thumb_brush(), draw_image_paint_helpers(), get_alpha_clone_image(), get_offset(), image_paint_brush(), make_local_brush(), paint_brush_stroke_add_step(), paint_draw_cursor(), paint_draw_smooth_stroke(), paint_init(), paint_poll(), paint_sample_color(), paint_stroke_new(), project_state_init(), sculpt_brush_exit_tex(), sculpt_brush_init_tex(), sculpt_brush_stroke_init(), sculpt_combine_proxies(), sculpt_fix_noise_tear(), sculpt_flush_stroke_deform(), sculpt_get_brush_geometry(), sculpt_restore_mesh(), sculpt_stroke_done(), sculpt_stroke_modifiers_check(), sculpt_tool_name(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), sculpt_update_tex(), snode_set_context(), texture_paint_init(), vertex_paint_poll(), vpaint_blend(), vpaint_get_current_col(), vpaint_paint_face(), vpaint_stroke_update_step(), weight_paint_poll(), wpaint_blend(), and wpaint_stroke_update_step().

void paint_brush_set ( struct Paint paint,
struct Brush br 
)
int paint_facesel_test ( struct Object ob)
struct Paint* paint_get_active ( struct Scene sce) [read]
void paint_init ( struct Paint p,
const char  col[3] 
)
int paint_vertsel_test ( struct Object ob)

Variable Documentation

const char PAINT_CURSOR_SCULPT[3]

Definition at line 49 of file paint.c.

Referenced by sculpt_toggle_mode().

Definition at line 52 of file paint.c.

Referenced by texture_paint_toggle_exec().

Definition at line 50 of file paint.c.

Referenced by set_vpaint().

Definition at line 51 of file paint.c.

Referenced by set_wpaint().