Blender V4.3
view3d_gizmo_tool_generic.cc File Reference
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_utildefines.h"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "ED_gizmo_library.hh"
#include "ED_gizmo_utils.hh"
#include "ED_screen.hh"
#include "ED_transform.hh"
#include "UI_resources.hh"
#include "MEM_guardedalloc.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_message.hh"
#include "WM_toolsystem.hh"
#include "WM_types.hh"
#include "view3d_intern.hh"

Go to the source code of this file.

Functions

Generic Tool
static bool WIDGETGROUP_tool_generic_poll (const bContext *C, wmGizmoGroupType *gzgt)
 
static wmGizmotool_generic_create_gizmo (const bContext *C, wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_tool_generic_setup (const bContext *C, wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_tool_generic_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_gizmo_message_subscribe (const bContext *C, wmGizmoGroup *gzgroup, wmMsgBus *mbus)
 
void VIEW3D_GGT_tool_generic_handle_normal (wmGizmoGroupType *gzgt)
 
void VIEW3D_GGT_tool_generic_handle_free (wmGizmoGroupType *gzgt)
 

Variables

static const char * handle_normal_id = "VIEW3D_GGT_tool_generic_handle_normal"
 
static const char * handle_free_id = "VIEW3D_GGT_tool_generic_handle_free"
 
static const float handle_normal_radius_default = 100.0f
 
static const float handle_free_radius_default = 36.0f
 

Function Documentation

◆ tool_generic_create_gizmo()

◆ VIEW3D_GGT_tool_generic_handle_free()

◆ VIEW3D_GGT_tool_generic_handle_normal()

◆ WIDGETGROUP_gizmo_message_subscribe()

◆ WIDGETGROUP_tool_generic_poll()

◆ WIDGETGROUP_tool_generic_refresh()

◆ WIDGETGROUP_tool_generic_setup()

static void WIDGETGROUP_tool_generic_setup ( const bContext * C,
wmGizmoGroup * gzgroup )
static

Variable Documentation

◆ handle_free_id

const char* handle_free_id = "VIEW3D_GGT_tool_generic_handle_free"
static

Definition at line 36 of file view3d_gizmo_tool_generic.cc.

Referenced by VIEW3D_GGT_tool_generic_handle_free().

◆ handle_free_radius_default

const float handle_free_radius_default = 36.0f
static

◆ handle_normal_id

const char* handle_normal_id = "VIEW3D_GGT_tool_generic_handle_normal"
static

◆ handle_normal_radius_default

const float handle_normal_radius_default = 100.0f
static