Blender V4.3
eyedropper_color.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_listbase.h"
#include "BLI_math_vector.h"
#include "BLI_string.h"
#include "BLI_string_ref.hh"
#include "BKE_context.hh"
#include "BKE_cryptomatte.h"
#include "BKE_image.hh"
#include "BKE_material.h"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "NOD_composite.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_path.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf_types.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "interface_intern.hh"
#include "ED_clip.hh"
#include "ED_image.hh"
#include "ED_node.hh"
#include "ED_screen.hh"
#include "ED_view3d.hh"
#include "RE_pipeline.h"
#include "eyedropper_intern.hh"

Go to the source code of this file.

Classes

struct  Eyedropper
 

Functions

static void eyedropper_draw_cb (const wmWindow *, void *arg)
 
static bool eyedropper_init (bContext *C, wmOperator *op)
 
static void eyedropper_exit (bContext *C, wmOperator *op)
 
static bool eyedropper_cryptomatte_sample_view3d_fl (bContext *C, const char *type_name, const int mval[2], float r_col[3])
 
static bool eyedropper_cryptomatte_sample_renderlayer_fl (RenderLayer *render_layer, const char *prefix, const float fpos[2], float r_col[3])
 
static bool eyedropper_cryptomatte_sample_render_fl (const bNode *node, const char *prefix, const float fpos[2], float r_col[3])
 
static bool eyedropper_cryptomatte_sample_image_fl (const bNode *node, NodeCryptomatte *crypto, const char *prefix, const float fpos[2], float r_col[3])
 
static bool eyedropper_cryptomatte_sample_fl (bContext *C, Eyedropper *eye, const int event_xy[2], float r_col[3])
 
void eyedropper_color_sample_fl (bContext *C, Eyedropper *eye, const int event_xy[2], float r_col[3])
 
static void eyedropper_color_set (bContext *C, Eyedropper *eye, const float col[3])
 
static void eyedropper_color_sample (bContext *C, Eyedropper *eye, const int event_xy[2])
 
static void eyedropper_color_sample_text_update (bContext *C, Eyedropper *eye, const int event_xy[2])
 
static void eyedropper_cancel (bContext *C, wmOperator *op)
 
static int eyedropper_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int eyedropper_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
static int eyedropper_exec (bContext *C, wmOperator *op)
 
static bool eyedropper_poll (bContext *C)
 
void UI_OT_eyedropper_color (wmOperatorType *ot)
 

Detailed Description

Eyedropper (RGB Color)

Defines:

Definition in file eyedropper_color.cc.

Function Documentation

◆ eyedropper_cancel()

static void eyedropper_cancel ( bContext * C,
wmOperator * op )
static

◆ eyedropper_color_sample()

◆ eyedropper_color_sample_fl()

◆ eyedropper_color_sample_text_update()

static void eyedropper_color_sample_text_update ( bContext * C,
Eyedropper * eye,
const int event_xy[2] )
static

◆ eyedropper_color_set()

◆ eyedropper_cryptomatte_sample_fl()

◆ eyedropper_cryptomatte_sample_image_fl()

static bool eyedropper_cryptomatte_sample_image_fl ( const bNode * node,
NodeCryptomatte * crypto,
const char * prefix,
const float fpos[2],
float r_col[3] )
static

◆ eyedropper_cryptomatte_sample_render_fl()

static bool eyedropper_cryptomatte_sample_render_fl ( const bNode * node,
const char * prefix,
const float fpos[2],
float r_col[3] )
static

◆ eyedropper_cryptomatte_sample_renderlayer_fl()

static bool eyedropper_cryptomatte_sample_renderlayer_fl ( RenderLayer * render_layer,
const char * prefix,
const float fpos[2],
float r_col[3] )
static

◆ eyedropper_cryptomatte_sample_view3d_fl()

static bool eyedropper_cryptomatte_sample_view3d_fl ( bContext * C,
const char * type_name,
const int mval[2],
float r_col[3] )
static

◆ eyedropper_draw_cb()

static void eyedropper_draw_cb ( const wmWindow * ,
void * arg )
static

◆ eyedropper_exec()

static int eyedropper_exec ( bContext * C,
wmOperator * op )
static

◆ eyedropper_exit()

◆ eyedropper_init()

◆ eyedropper_invoke()

◆ eyedropper_modal()

◆ eyedropper_poll()

static bool eyedropper_poll ( bContext * C)
static

Definition at line 669 of file eyedropper_color.cc.

References CTX_wm_window().

Referenced by UI_OT_eyedropper_color().

◆ UI_OT_eyedropper_color()