Blender V4.3
transform_mode_tosphere.cc File Reference
#include <cstdlib>
#include "BLI_math_matrix.h"
#include "BLI_math_vector.h"
#include "BLI_string.h"
#include "BLI_task.h"
#include "MEM_guardedalloc.h"
#include "BKE_unit.hh"
#include "ED_screen.hh"
#include "UI_interface.hh"
#include "BLT_translation.hh"
#include "transform.hh"
#include "transform_convert.hh"
#include "transform_snap.hh"
#include "transform_mode.hh"

Go to the source code of this file.

Classes

struct  ToSphereInfo
 
struct  TransDataArgs_ToSphere
 

Functions

To Sphere Utilities
static void to_sphere_radius_update (TransInfo *t)
 
Transform (ToSphere) Element
static void transdata_elem_to_sphere (const TransInfo *, const TransDataContainer *tc, TransData *td, const float ratio, const ToSphereInfo *to_sphere_info, const bool is_local_center, const bool is_data_space)
 
static void transdata_elem_to_sphere_fn (void *__restrict iter_data_v, const int iter, const TaskParallelTLS *__restrict)
 
Transform (ToSphere)
static void applyToSphere (TransInfo *t)
 
static void initToSphere (TransInfo *t, wmOperator *)
 

Variables

TransModeInfo TransMode_tosphere
 

Function Documentation

◆ applyToSphere()

◆ initToSphere()

◆ to_sphere_radius_update()

◆ transdata_elem_to_sphere()

static void transdata_elem_to_sphere ( const TransInfo * ,
const TransDataContainer * tc,
TransData * td,
const float ratio,
const ToSphereInfo * to_sphere_info,
const bool is_local_center,
const bool is_data_space )
static

◆ transdata_elem_to_sphere_fn()

static void transdata_elem_to_sphere_fn ( void *__restrict iter_data_v,
const int iter,
const TaskParallelTLS * __restrict )
static

Definition at line 149 of file transform_mode_tosphere.cc.

References TD_SKIP, and transdata_elem_to_sphere().

Referenced by applyToSphere().

Variable Documentation

◆ TransMode_tosphere

TransModeInfo TransMode_tosphere
Initial value:
= {
nullptr,
nullptr,
nullptr,
nullptr,
nullptr,
}
@ T_NO_CONSTRAINT
Definition transform.hh:95
static void initToSphere(TransInfo *t, wmOperator *)
static void applyToSphere(TransInfo *t)

Definition at line 266 of file transform_mode_tosphere.cc.

Referenced by mode_info_get().