Blender  V3.3
Classes | Namespaces
node_gizmo.cc File Reference
#include <cmath>
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_rect.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_image.h"
#include "BKE_main.h"
#include "ED_gizmo_library.h"
#include "ED_screen.h"
#include "IMB_imbuf_types.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "WM_api.h"
#include "WM_types.h"
#include "node_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ed::space_node::NodeCropWidgetGroup
 
struct  blender::ed::space_node::NodeSunBeamsWidgetGroup
 
struct  blender::ed::space_node::NodeCornerPinWidgetGroup
 

Namespaces

 blender
 
 blender::ed
 
 blender::ed::space_node
 

Functions

Local Utilities
static void blender::ed::space_node::node_gizmo_calc_matrix_space (const SpaceNode *snode, const ARegion *region, float matrix_space[4][4])
 
static void blender::ed::space_node::node_gizmo_calc_matrix_space_with_image_dims (const SpaceNode *snode, const ARegion *region, const float image_dims[2], float matrix_space[4][4])
 
Backdrop Gizmo
static void blender::ed::space_node::gizmo_node_backdrop_prop_matrix_get (const wmGizmo *UNUSED(gz), wmGizmoProperty *gz_prop, void *value_p)
 
static void blender::ed::space_node::gizmo_node_backdrop_prop_matrix_set (const wmGizmo *UNUSED(gz), wmGizmoProperty *gz_prop, const void *value_p)
 
static bool blender::ed::space_node::WIDGETGROUP_node_transform_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void blender::ed::space_node::WIDGETGROUP_node_transform_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_transform_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void blender::ed::space_node::NODE_GGT_backdrop_transform (wmGizmoGroupType *gzgt)
 
Crop Gizmo
static void blender::ed::space_node::gizmo_node_crop_update (struct NodeCropWidgetGroup *crop_group)
 
static void blender::ed::space_node::two_xy_to_rect (const NodeTwoXYs *nxy, rctf *rect, const float dims[2], bool is_relative)
 
static void blender::ed::space_node::two_xy_from_rect (NodeTwoXYs *nxy, const rctf *rect, const float dims[2], bool is_relative)
 
static void blender::ed::space_node::gizmo_node_crop_prop_matrix_get (const wmGizmo *gz, wmGizmoProperty *gz_prop, void *value_p)
 
static void blender::ed::space_node::gizmo_node_crop_prop_matrix_set (const wmGizmo *gz, wmGizmoProperty *gz_prop, const void *value_p)
 
static bool blender::ed::space_node::WIDGETGROUP_node_crop_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void blender::ed::space_node::WIDGETGROUP_node_crop_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_crop_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_crop_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void blender::ed::space_node::NODE_GGT_backdrop_crop (wmGizmoGroupType *gzgt)
 
Sun Beams
static bool blender::ed::space_node::WIDGETGROUP_node_sbeam_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void blender::ed::space_node::WIDGETGROUP_node_sbeam_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_sbeam_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_sbeam_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void blender::ed::space_node::NODE_GGT_backdrop_sun_beams (wmGizmoGroupType *gzgt)
 
Corner Pin
static bool blender::ed::space_node::WIDGETGROUP_node_corner_pin_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void blender::ed::space_node::WIDGETGROUP_node_corner_pin_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_corner_pin_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)
 
static void blender::ed::space_node::WIDGETGROUP_node_corner_pin_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void blender::ed::space_node::NODE_GGT_backdrop_corner_pin (wmGizmoGroupType *gzgt)