Blender V5.3
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.hh"
#include "BLI_math_base_c.hh"
#include "BLI_math_color_c.hh"
#include "BLI_vector.hh"
#include "BLT_translation.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.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

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