|
Blender V4.3
|
#include <cstring>#include "BLI_listbase.h"#include "BLI_math_base.h"#include "MEM_guardedalloc.h"#include "DNA_curve_types.h"#include "DNA_curveprofile_types.h"#include "DNA_object_types.h"#include "BKE_curve.hh"#include "BKE_displist.h"#include "BKE_object_types.hh"Go to the source code of this file.
Enumerations | |
| enum | CurveBevelFillType { BACK = 0 , FRONT , HALF , FULL } |
Functions | |
| static CurveBevelFillType | curve_bevel_get_fill_type (const Curve *curve) |
| static void | bevel_quarter_fill (const Curve *curve, float *quarter_coords_x, float *quarter_coords_y) |
| static void | curve_bevel_make_extrude_and_fill (const Curve *cu, ListBase *disp, const bool use_extrude, const CurveBevelFillType fill_type) |
| static void | curve_bevel_make_full_circle (const Curve *cu, ListBase *disp) |
| static void | curve_bevel_make_only_extrude (const Curve *cu, ListBase *disp) |
| static void | curve_bevel_make_from_object (const Curve *cu, ListBase *disp) |
| ListBase | BKE_curve_bevel_make (const Curve *curve) |
Handle curve object data bevel options, both extruding
Definition in file curve_bevel.cc.
| enum CurveBevelFillType |
| Enumerator | |
|---|---|
| BACK | |
| FRONT | |
| HALF | |
| FULL | |
Definition at line 27 of file curve_bevel.cc.
|
static |
Definition at line 46 of file curve_bevel.cc.
References BLI_assert, cosf, CU_BEV_MODE_ROUND, float, M_PI_2, and sinf.
Referenced by curve_bevel_make_extrude_and_fill().
Definition at line 280 of file curve_bevel.cc.
References CU_BEV_MODE_OBJECT, CU_BEV_MODE_ROUND, curve_bevel_get_fill_type(), curve_bevel_make_extrude_and_fill(), curve_bevel_make_from_object(), curve_bevel_make_full_circle(), curve_bevel_make_only_extrude(), and FULL.
Referenced by evaluate_curve_type_object().
|
static |
Definition at line 34 of file curve_bevel.cc.
References BACK, CU_BACK, CU_FRONT, FRONT, FULL, and HALF.
Referenced by BKE_curve_bevel_make().
|
static |
Definition at line 75 of file curve_bevel.cc.
References BACK, bevel_quarter_fill(), Curve::bevel_radius, Curve::bevresol, BLI_addtail(), DL_BACK_CURVE, DL_FRONT_CURVE, DL_POLY, DL_SEGM, ELEM, Curve::extrude, DispList::flag, FRONT, FULL, HALF, MEM_callocN, MEM_malloc_arrayN, DispList::nr, DispList::parts, DispList::type, and DispList::verts.
Referenced by BKE_curve_bevel_make().
Definition at line 227 of file curve_bevel.cc.
References Curve::bevel_radius, Curve::bevobj, BKE_displist_free(), BLI_addtail(), BLI_assert, Object::data, DL_BACK_CURVE, DL_FRONT_CURVE, DL_POLY, DL_SEGM, ELEM, Curve::extrude, DispList::flag, MEM_malloc_arrayN, MEM_mallocN, DispList::next, DispList::nr, OB_CURVES_LEGACY, DispList::parts, Object::runtime, Object::scale, DispList::type, Object::type, and DispList::verts.
Referenced by BKE_curve_bevel_make().
Definition at line 185 of file curve_bevel.cc.
References Curve::bevel_radius, Curve::bevresol, BLI_addtail(), cosf, DL_BACK_CURVE, DL_POLY, Curve::extrude, DispList::flag, float, M_PI, MEM_callocN, MEM_malloc_arrayN, DispList::nr, DispList::parts, sinf, DispList::type, and DispList::verts.
Referenced by BKE_curve_bevel_make().
Definition at line 210 of file curve_bevel.cc.
References BLI_addtail(), DL_BACK_CURVE, DL_FRONT_CURVE, DL_SEGM, Curve::extrude, DispList::flag, MEM_callocN, MEM_malloc_arrayN, DispList::nr, DispList::parts, DispList::type, and DispList::verts.
Referenced by BKE_curve_bevel_make().