Blender V5.0
paint_vertex_color_ops.cc File Reference
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "BLI_array.hh"
#include "BLI_color.hh"
#include "BLI_function_ref.hh"
#include "BLI_listbase.h"
#include "BLI_math_base.h"
#include "BLI_math_color.h"
#include "BLI_vector.hh"
#include "BKE_attribute_math.hh"
#include "BKE_context.hh"
#include "BKE_geometry_set.hh"
#include "BKE_mesh.hh"
#include "DEG_depsgraph.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_mesh.hh"
#include "paint_intern.hh"
#include "sculpt_intern.hh"

Go to the source code of this file.

Classes

class  GMutableSpan
class  IndexMask
class  IndexMaskMemory

Typedefs

using ColorGeometry4f

Functions

Internal Utility Functions
static bool vertex_weight_paint_mode_poll (bContext *C)
static void tag_object_after_update (Object &object)
Vertex Color from Weight Operator
static bool vertex_paint_from_weight (Object &ob)
static wmOperatorStatus vertex_paint_from_weight_exec (bContext *C, wmOperator *)
void PAINT_OT_vertex_color_from_weight (wmOperatorType *ot)
Smooth Vertex Colors Operator
static IndexMask get_selected_indices (const Mesh &mesh, const blender::bke::AttrDomain domain, IndexMaskMemory &memory)
static void face_corner_color_equalize_verts (Mesh &mesh, const IndexMask selection)
static bool vertex_color_smooth (Object &ob)
static wmOperatorStatus vertex_color_smooth_exec (bContext *C, wmOperator *)
void PAINT_OT_vertex_color_smooth (wmOperatorType *ot)
Vertex Color Transformation Operators
static void transform_active_color_data (Mesh &mesh, const FunctionRef< void(ColorGeometry4f &color)> transform_fn)
static void transform_active_color (bContext *C, const FunctionRef< void(ColorGeometry4f &color)> transform_fn)
static wmOperatorStatus vertex_color_brightness_contrast_exec (bContext *C, wmOperator *op)
void PAINT_OT_vertex_color_brightness_contrast (wmOperatorType *ot)
static wmOperatorStatus vertex_color_hsv_exec (bContext *C, wmOperator *op)
void PAINT_OT_vertex_color_hsv (wmOperatorType *ot)
static wmOperatorStatus vertex_color_invert_exec (bContext *C, wmOperator *)
void PAINT_OT_vertex_color_invert (wmOperatorType *ot)
static wmOperatorStatus vertex_color_levels_exec (bContext *C, wmOperator *op)
void PAINT_OT_vertex_color_levels (wmOperatorType *ot)

Typedef Documentation

◆ ColorGeometry4f

Definition at line 199 of file BLI_color_types.hh.

Function Documentation

◆ face_corner_color_equalize_verts()

◆ get_selected_indices()

◆ 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_smooth()

void PAINT_OT_vertex_color_smooth ( wmOperatorType * ot)

◆ tag_object_after_update()

◆ transform_active_color()

◆ transform_active_color_data()

◆ vertex_color_brightness_contrast_exec()

◆ vertex_color_hsv_exec()

◆ vertex_color_invert_exec()

◆ vertex_color_levels_exec()

◆ vertex_color_smooth()

◆ vertex_color_smooth_exec()

◆ vertex_paint_from_weight()

◆ vertex_paint_from_weight_exec()

◆ vertex_weight_paint_mode_poll()

bool vertex_weight_paint_mode_poll ( bContext * C)
static