Blender V4.3
eyedropper_bone.cc File Reference
#include "BKE_armature.hh"
#include "BKE_context.hh"
#include "BKE_idtype.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "BLT_translation.hh"
#include "BLI_assert.h"
#include "BLI_math_vector.h"
#include "BLI_string.h"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "ED_armature.hh"
#include "ED_outliner.hh"
#include "ED_screen.hh"
#include "ED_space_api.hh"
#include "ED_view3d.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "UI_interface.hh"
#include "UI_view2d.hh"
#include "eyedropper_intern.hh"
#include "interface_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ui::BoneDropper
 
struct  blender::ui::BoneSampleData
 

Namespaces

namespace  blender
 
namespace  blender::ui
 

Enumerations

enum class  blender::ui::SampleResult {
  blender::ui::UNKNOWN_FAILURE , blender::ui::SUCCESS , blender::ui::NO_BONE_3DVIEW , blender::ui::NO_BONE_OUTLINER ,
  blender::ui::WRONG_AREA , blender::ui::WRONG_ARMATURE
}
 

Functions

static void blender::ui::datadropper_draw_cb (const bContext *, ARegion *, void *arg)
 
static bool blender::ui::is_bone_dropper_valid (BoneDropper *bone_dropper)
 
static int blender::ui::bonedropper_init (bContext *C, wmOperator *op)
 
static void blender::ui::bonedropper_exit (bContext *C, wmOperator *op)
 
static void blender::ui::bonedropper_cancel (bContext *C, wmOperator *op)
 
static void blender::ui::bonedropper_set_draw_callback_region (ScrArea &area, BoneDropper &bdr)
 
static BoneSampleData blender::ui::sample_data_from_3d_view (bContext *C, const int mval[2], const BoneDropper &bdr)
 
static BoneSampleData blender::ui::sample_data_from_outliner (bContext *C, const int mval[2], const BoneDropper &bdr)
 
static BoneSampleData blender::ui::bonedropper_sample_pt (bContext *C, wmWindow &win, ScrArea &area, BoneDropper &bdr, const int event_xy[2])
 
static SampleResult blender::ui::bonedropper_sample (bContext *C, BoneDropper &bdr, const int event_xy[2])
 
static void blender::ui::generate_sample_warning (SampleResult result, wmOperator *op)
 
static int blender::ui::bonedropper_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int blender::ui::bonedropper_invoke (bContext *C, wmOperator *op, const wmEvent *)
 
static int blender::ui::bonedropper_exec (bContext *C, wmOperator *op)
 
static bool blender::ui::bonedropper_poll (bContext *C)
 
void blender::ui::UI_OT_eyedropper_bone (wmOperatorType *ot)
 

Detailed Description

Eyedropper (bones)

Definition in file eyedropper_bone.cc.