Blender V5.3
eyedropper_depth.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_camera_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "DNA_view3d_types.h"
#include "BLI_math_vector_c.hh"
#include "BLI_string_utf8.hh"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_lib_id.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_screen.hh"
#include "BKE_unit.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_path.hh"
#include "RNA_prototypes.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_screen.hh"
#include "ED_space_api.hh"
#include "ED_view3d.hh"
#include "eyedropper_intern.hh"
#include "interface_intern.hh"
#include "ANIM_keyframing.hh"

Go to the source code of this file.

Classes

struct  blender::ui::DepthDropper

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

static void blender::ui::depthdropper_draw_cb (const bContext *, ARegion *, void *arg)
static bool blender::ui::depthdropper_get_path (PointerRNA *ctx_ptr, wmOperator *op, const char *prop_path, PointerRNA *r_ptr, PropertyRNA **r_prop)
static bool blender::ui::depthdropper_test (bContext *C, wmOperator *op)
static int blender::ui::depthdropper_init (bContext *C, wmOperator *op)
static void blender::ui::depthdropper_exit (bContext *C, wmOperator *op)
static void blender::ui::depthdropper_depth_sample_pt (bContext *C, DepthDropper *ddr, const int m_xy[2], float *r_depth)
 get the ID from the screen.
static void blender::ui::depthdropper_depth_set (bContext *C, DepthDropper *ddr, const float depth)
static void blender::ui::depthdropper_depth_set_accum (bContext *C, DepthDropper *ddr)
static void blender::ui::depthdropper_depth_sample (bContext *C, DepthDropper *ddr, const int m_xy[2])
static void blender::ui::depthdropper_depth_sample_accum (bContext *C, DepthDropper *ddr, const int m_xy[2])
static void blender::ui::depthdropper_cancel (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ui::depthdropper_modal (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ui::depthdropper_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::ui::depthdropper_exec (bContext *C, wmOperator *op)
static bool blender::ui::depthdropper_poll (bContext *C)
void blender::ui::UI_OT_eyedropper_depth (wmOperatorType *ot)

Detailed Description

This file defines an eyedropper for picking 3D depth value (primary use is depth-of-field).

Defines:

  • #UI_OT_eyedropper_depth

Definition in file eyedropper_depth.cc.