|
Blender V4.3
|
#include "DNA_curve_types.h"#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_math_geom.h"#include "BLI_math_matrix.h"#include "BLI_math_vector.h"#include "BKE_curve.hh"#include "ED_object.hh"#include "transform.hh"#include "transform_snap.hh"#include "transform_convert.hh"#include "transform_orientations.hh"Go to the source code of this file.
Macros | |
| #define | SEL_F1 (1 << 0) |
| #define | SEL_F2 (1 << 1) |
| #define | SEL_F3 (1 << 2) |
Functions | |
Curve/Surfaces Transform Creation | |
| static int | bezt_select_to_transform_triple_flag (const BezTriple *bezt, const eNurbHandleTest_Mode handle_mode) |
| static void | createTransCurveVerts (bContext *, TransInfo *t) |
| static void | recalcData_curve (TransInfo *t) |
Variables | |
| TransConvertTypeInfo | TransConvertType_Curve |
| #define SEL_F1 (1 << 0) |
Referenced by createTransCurveVerts().
| #define SEL_F2 (1 << 1) |
Referenced by createTransCurveVerts().
| #define SEL_F3 (1 << 2) |
Referenced by createTransCurveVerts().
|
static |
For the purpose of transform code we need to behave as if handles are selected, even when they aren't (see special case below).
Definition at line 37 of file transform_convert_curve.cc.
References BKE_nurb_bezt_handle_test_calc_flag(), ELEM, flag, BezTriple::h1, BezTriple::h2, HD_ALIGN, HD_AUTO, and SELECT.
Referenced by createTransCurveVerts().
Definition at line 60 of file transform_convert_curve.cc.
References TransInfo::around, axis_dominant_v3_to_m3(), TransData::axismtx, bezt_select_to_transform_triple_flag(), BKE_curve_editNurbs_get(), BKE_nurb_bezt_calc_normal(), BKE_nurb_bezt_calc_plane(), BKE_nurb_bpoint_calc_normal(), BKE_nurb_bpoint_calc_plane(), BKE_nurb_handles_test(), BLI_assert, calc_distanceCurveVerts(), copy_m3_m3(), copy_m3_m4(), copy_v3_v3(), count, createSpaceNormalTangent(), CU_BEZIER, CU_NURB_CYCLIC, CURVE_HANDLE_NONE, TransInfo::data_len_all, TransData::dist, Curve::editnurb, ELEM, TransData::ext, BezTriple::f1, BPoint::f1, BezTriple::f2, BezTriple::f3, TransInfo::flag, FLT_MAX, FOREACH_TRANS_DATA_CONTAINER, View3DOverlay::handle_display, BezTriple::hide, BPoint::hide, initTransDataCurveHandles(), invert_m3(), LISTBASE_FOREACH, MEM_callocN, TransInfo::mode, TransData::mtx, normalize_v3(), NURB_HANDLE_TEST_KNOT_ONLY, NURB_HANDLE_TEST_KNOT_OR_EACH, View3D::overlay, PSEUDOINVERSE_EPSILON, pseudoinverse_m3_m3(), BezTriple::radius, BPoint::radius, TransInfo::reports, SEL_F1, SEL_F2, SEL_F3, SELECT, blender::ed::object::shape_key_report_if_locked(), TransData::smtx, T_PROP_CONNECTED, T_PROP_EDIT, TD_SELECTED, TFM_CURVE_SHRINKFATTEN, TFM_DUMMY, TFM_RESIZE, TFM_TILT, BezTriple::tilt, BPoint::tilt, transform_around_single_fallback_ex(), transform_mode_use_local_origins(), V3D_AROUND_LOCAL_ORIGINS, BezTriple::vec, BPoint::vec, and TransInfo::view.
|
static |
Definition at line 424 of file transform_convert_curve.cc.
References BKE_curve_dimension_update(), BKE_curve_editNurbs_get(), BKE_nurb_handles_calc(), DEG_id_tag_update(), ListBase::first, FOREACH_TRANS_DATA_CONTAINER, ID_RECALC_GEOMETRY, Nurb::next, TransInfo::state, TRANS_CANCEL, transform_convert_clip_mirror_modifier_apply(), and transform_snap_project_individual_apply().
| TransConvertTypeInfo TransConvertType_Curve |
Definition at line 456 of file transform_convert_curve.cc.
Referenced by convert_type_get(), init_proportional_edit(), and init_TransDataContainers().