Blender
V3.3
|
#include <stdlib.h>
#include "BLI_math.h"
#include "BLI_string.h"
#include "BLI_task.h"
#include "BKE_context.h"
#include "BKE_unit.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "BLT_translation.h"
#include "transform.h"
#include "transform_constraints.h"
#include "transform_convert.h"
#include "transform_snap.h"
#include "transform_mode.h"
Go to the source code of this file.
Classes | |
struct | TransDataArgs_PushPull |
Functions | |
Transform (Push/Pull) Element | |
static void | transdata_elem_push_pull (const TransInfo *t, const TransDataContainer *tc, TransData *td, const float distance, const float axis_global[3], const bool is_lock_constraint, const bool is_data_space) |
static void | transdata_elem_push_pull_fn (void *__restrict iter_data_v, const int iter, const TaskParallelTLS *__restrict UNUSED(tls)) |
Transform (Push/Pull) | |
static void | applyPushPull (TransInfo *t, const int UNUSED(mval[2])) |
void | initPushPull (TransInfo *t) |
Definition at line 104 of file transform_mode_push_pull.c.
References applyNumInput(), TransDataArgs_PushPull::axis_global, BLI_parallel_range_settings_defaults(), BLI_snprintf(), BLI_task_parallel_range(), Freestyle::c, CON_APPLY, CTX_POSE_BONE, data, TransDataContainer::data, TransDataContainer::data_len, blender::math::distance(), ED_area_status_text(), FOREACH_TRANS_DATA_CONTAINER, hasNumInput(), TransDataArgs_PushPull::is_data_space, TransDataArgs_PushPull::is_lock_constraint, isLockConstraint(), NULL, NUM_STR_REP_LEN, outputNumInput(), recalcData(), str, t, TransDataArgs_PushPull::tc, TD_SKIP, TIP_, transdata_elem_push_pull(), transdata_elem_push_pull_fn(), TRANSDATA_THREAD_LIMIT, transform_snap_increment(), UI_MAX_DRAW_STR, and UNPACK3.
Referenced by initPushPull().
Definition at line 172 of file transform_mode_push_pull.c.
References applyPushPull(), B_UNIT_LENGTH, copy_v3_fl(), initMouseInputMode(), INPUT_VERTICAL_ABSOLUTE, t, and TFM_PUSHPULL.
Referenced by transform_mode_init().
|
static |
Definition at line 47 of file transform_mode_push_pull.c.
References add_v3_v3v3(), TransDataContainer::center_local, CON_APPLY, copy_v3_v3(), blender::math::distance(), TransData::factor, mul_m3_v3(), normalize_v3_length(), NULL, project_v3_v3v3(), TransData::smtx, sub_v3_v3(), sub_v3_v3v3(), and t.
Referenced by applyPushPull(), and transdata_elem_push_pull_fn().
|
static |
Definition at line 80 of file transform_mode_push_pull.c.
References data, TD_SKIP, and transdata_elem_push_pull().
Referenced by applyPushPull().