Blender  V3.3
Variables
view3d_gizmo_tool_generic.c File Reference
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "ED_gizmo_library.h"
#include "ED_gizmo_utils.h"
#include "ED_screen.h"
#include "ED_transform.h"
#include "UI_resources.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
#include "WM_types.h"
#include "view3d_intern.h"

Go to the source code of this file.

Variables

static const float handle_normal_radius_default = 100.0f
 
static const float handle_free_radius_default = 36.0f
 

Generic Tool

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 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, struct wmMsgBus *mbus)
 
void VIEW3D_GGT_tool_generic_handle_normal (wmGizmoGroupType *gzgt)
 
void VIEW3D_GGT_tool_generic_handle_free (wmGizmoGroupType *gzgt)
 

Function Documentation

◆ tool_generic_create_gizmo()

static wmGizmo* tool_generic_create_gizmo ( const bContext C,
wmGizmoGroup gzgroup 
)
static

◆ VIEW3D_GGT_tool_generic_handle_free()

void VIEW3D_GGT_tool_generic_handle_free ( wmGizmoGroupType gzgt)

◆ VIEW3D_GGT_tool_generic_handle_normal()

void VIEW3D_GGT_tool_generic_handle_normal ( wmGizmoGroupType gzgt)

◆ WIDGETGROUP_gizmo_message_subscribe()

static void WIDGETGROUP_gizmo_message_subscribe ( const bContext C,
wmGizmoGroup gzgroup,
struct wmMsgBus mbus 
)
static

◆ WIDGETGROUP_tool_generic_poll()

static bool WIDGETGROUP_tool_generic_poll ( const bContext C,
wmGizmoGroupType gzgt 
)
static

◆ WIDGETGROUP_tool_generic_refresh()

static void WIDGETGROUP_tool_generic_refresh ( const bContext C,
wmGizmoGroup gzgroup 
)
static

◆ WIDGETGROUP_tool_generic_setup()

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

Variable Documentation

◆ handle_free_id

static const char * handle_free_id = "VIEW3D_GGT_tool_generic_handle_free"
static

Definition at line 33 of file view3d_gizmo_tool_generic.c.

Referenced by VIEW3D_GGT_tool_generic_handle_free().

◆ handle_free_radius_default

const float handle_free_radius_default = 36.0f
static

◆ handle_normal_id

static 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