Blender V5.0
Curve Struct Reference

#include <DNA_curve_types.h>

Public Attributes

ID id
struct AnimDataadt
ListBase nurb
EditNurbeditnurb
struct Objectbevobj
struct Objecttaperobj
struct Objecttextoncurve
struct Keykey
struct Material ** mat
struct CurveProfilebevel_profile
float texspace_location [3]
float texspace_size [3]
short ob_type
char texspace_flag
char _pad0 [7]
short twist_mode
float twist_smooth
float smallcaps_scale
int pathlen
short bevresol
short totcol
int flag
float offset
float extrude
float bevel_radius
short resolu
short resolv
short resolu_ren
short resolv_ren
int actnu
int actvert
char overflow
char spacemode
char align_y
char bevel_mode
char taper_radius_mode
char _pad [3]
float spacing
float linedist
float shear
float fsize
float wordspace
float ulpos
float ulheight
float xof
float yof
float linewidth
int pos
int selstart
int selend
int len_char32
int len
char * str
struct EditFonteditfont
char family [64]
struct VFontvfont
struct VFontvfontb
struct VFontvfonti
struct VFontvfontbi
struct TextBoxtb
int totbox
int actbox
struct CharInfostrinfo
struct CharInfo curinfo
float ctime
float bevfac1
float bevfac2
char bevfac1_mapping
char bevfac2_mapping
char _pad2 [1]
char edit_data_from_original
const struct Curvescurve_eval
void * batch_cache

Detailed Description

Definition at line 203 of file DNA_curve_types.h.

Member Data Documentation

◆ _pad

char Curve::_pad[3]

Definition at line 265 of file DNA_curve_types.h.

◆ _pad0

char Curve::_pad0[7]

Definition at line 239 of file DNA_curve_types.h.

◆ _pad2

char Curve::_pad2[1]

Definition at line 306 of file DNA_curve_types.h.

◆ actbox

◆ actnu

◆ actvert

◆ adt

struct AnimData* Curve::adt

Animation data (must be immediately after id for utilities to use it).

Definition at line 212 of file DNA_curve_types.h.

Referenced by acf_dscur_setting_ptr(), BKE_object_modifier_update_subframe(), blender::ed::object::followpath_path_animate_exec(), and make_new_animlistelem().

◆ align_y

char Curve::align_y

Definition at line 258 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ batch_cache

◆ bevel_mode

char Curve::bevel_mode

◆ bevel_profile

◆ bevel_radius

◆ bevfac1

float Curve::bevfac1

Definition at line 303 of file DNA_curve_types.h.

Referenced by calc_bevfac_mapping(), and evaluate_curve_type_object().

◆ bevfac1_mapping

char Curve::bevfac1_mapping

Definition at line 304 of file DNA_curve_types.h.

Referenced by BKE_curve_bevelList_make(), and calc_bevfac_mapping().

◆ bevfac2

float Curve::bevfac2

Definition at line 303 of file DNA_curve_types.h.

Referenced by calc_bevfac_mapping(), and evaluate_curve_type_object().

◆ bevfac2_mapping

char Curve::bevfac2_mapping

Definition at line 304 of file DNA_curve_types.h.

Referenced by BKE_curve_bevelList_make(), and calc_bevfac_mapping().

◆ bevobj

◆ bevresol

short Curve::bevresol

◆ ctime

float Curve::ctime

Current evaluation-time, for use by Objects parented to curves.

Definition at line 302 of file DNA_curve_types.h.

Referenced by followpath_get_tarmat(), and ob_parcurve().

◆ curinfo

◆ curve_eval

const struct Curves* Curve::curve_eval

A pointer to curve data from evaluation. Owned by the object's #geometry_set_eval, either as a geometry instance or the data of the evaluated #CurveComponent. The curve may also contain data in the nurb list, but for evaluated curves this is the proper place to retrieve data, since it also contains the result of geometry nodes evaluation, and isn't just a copy of the original object data.

Definition at line 322 of file DNA_curve_types.h.

Referenced by BKE_displist_make_curveTypes(), blender::draw::curve_render_data_create(), and blender::draw::overlay::AttributeTexts::object_sync().

◆ edit_data_from_original

char Curve::edit_data_from_original

If non-zero, the editfont and editnurb pointers are not owned by this Curve. That means this curve is a container for the result of object geometry evaluation. This only works because evaluated object data never outlives original data.

Definition at line 313 of file DNA_curve_types.h.

Referenced by BKE_displist_make_curveTypes(), and curve_free_data().

◆ editfont

◆ editnurb

EditNurb* Curve::editnurb

Edited data, not in file, use pointer so we can check for it.

Definition at line 218 of file DNA_curve_types.h.

Referenced by add_vertex_exec(), BKE_curve_bevelList_make(), BKE_curve_calc_modifiers_pre(), BKE_curve_editNurb_free(), BKE_curve_editNurbs_get(), BKE_curve_editNurbs_get_for_read(), BKE_curve_nurbs_get(), BKE_curve_nurbs_get_for_read(), BKE_displist_make_curveTypes(), calc_shapeKeys(), clear_tilt_exec(), blender::ed::transform::createTransCurveVerts(), blender::draw::curve_batch_cache_init(), blender::draw::curve_batch_cache_valid(), curve_blend_read_data(), curve_blend_write(), curve_calc_modifiers_post(), curve_copy_data(), curve_delete_exec(), curve_delete_segments(), curve_dissolve_exec(), curve_extrude_exec(), curve_normals_make_consistent_exec(), curve_pen_invoke(), curve_pen_modal(), curve_rename_fcurves(), blender::draw::curve_render_data_create(), curve_select_similar_exec(), curve_split_exec(), curve_to_displist(), curve_undosys_step_decode(), curve_undosys_step_encode(), blender::ed::object::data_xform_by_mat4(), blender::ed::object::data_xform_create_ex(), blender::ed::object::data_xform_restore(), de_select_all_exec(), delete_nurb(), delete_point_under_mouse(), duplicate_exec(), ED_curve_add_nurbs_primitive(), ed_curve_delete_selected(), ED_curve_deselect_all_multi_ex(), ED_curve_editnurb_make(), ED_curve_get_edit_shape_key(), ED_curve_nurb_vert_selected_find(), ED_curve_updateAnimPaths(), ed_editnurb_spin(), ED_operator_editcurve_3d(), ed_surf_delete_selected(), blender::ed::object::editmode_load_free_ex(), blender::ed::object::effector_add_exec(), evaluate_surface_object(), extrude_points_from_selected_vertices(), get_first_selected_point(), hide_exec(), init_index_map(), insert_bezt_to_nurb(), insert_bp_to_nurb(), keyData_switchDirectionNurb(), make_cyclic_if_endpoints(), make_segment_exec(), merge_2_nurb(), mesh_new_from_curve_type_object(), object_editcurve_get(), object_for_curve_to_mesh_create(), object_for_curve_to_mesh_free(), remap_hooks_and_vertex_parents(), select_linked_exec(), select_nth_exec(), separate_exec(), set_handle_type_exec(), blender::ed::transform::snapCurve(), spin_exec(), subdivide_exec(), subdividenurb(), switch_direction_exec(), switch_keys_direction(), blender::ed::transform::tilt_poll(), toggle_cyclic_exec(), undocurve_from_editcurve(), and undocurve_to_editcurve().

◆ extrude

◆ family

char Curve::family[64]

Definition at line 288 of file DNA_curve_types.h.

Referenced by make_duplis_font().

◆ flag

◆ fsize

◆ id

◆ key

◆ len

int Curve::len

Number of bytes: strlen(Curve.str).

Definition at line 284 of file DNA_curve_types.h.

Referenced by BKE_curve_init(), BKE_curve_minmax(), ED_curve_editfont_load(), and txt_add_object().

◆ len_char32

◆ linedist

float Curve::linedist

Definition at line 268 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ linewidth

float Curve::linewidth

Definition at line 270 of file DNA_curve_types.h.

Referenced by curve_blend_read_data().

◆ mat

◆ nurb

◆ ob_type

◆ offset

float Curve::offset

Definition at line 246 of file DNA_curve_types.h.

Referenced by BKE_curve_init(), and evaluate_curve_type_object().

◆ overflow

char Curve::overflow

Definition at line 257 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ pathlen

int Curve::pathlen

Definition at line 243 of file DNA_curve_types.h.

Referenced by followpath_get_tarmat(), and ob_parcurve().

◆ pos

int Curve::pos

◆ resolu

◆ resolu_ren

short Curve::resolu_ren

◆ resolv

◆ resolv_ren

short Curve::resolv_ren

Definition at line 250 of file DNA_curve_types.h.

Referenced by evaluate_surface_object().

◆ selend

int Curve::selend

Definition at line 275 of file DNA_curve_types.h.

Referenced by ED_curve_editfont_load(), and ED_curve_editfont_make().

◆ selstart

int Curve::selstart

Definition at line 275 of file DNA_curve_types.h.

Referenced by ED_curve_editfont_load(), and ED_curve_editfont_make().

◆ shear

float Curve::shear

Definition at line 268 of file DNA_curve_types.h.

Referenced by vfont_char_build_impl().

◆ smallcaps_scale

float Curve::smallcaps_scale

Definition at line 241 of file DNA_curve_types.h.

Referenced by vfont_char_build_impl(), and vfont_char_width().

◆ spacemode

char Curve::spacemode

Definition at line 258 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ spacing

float Curve::spacing

Definition at line 268 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ str

◆ strinfo

◆ taper_radius_mode

char Curve::taper_radius_mode

Determine how the effective radius of the bevel point is computed when a taper object is specified. The effective radius is a function of the bevel point radius and the taper radius.

Definition at line 264 of file DNA_curve_types.h.

Referenced by evaluate_curve_type_object().

◆ taperobj

◆ tb

◆ texspace_flag

◆ texspace_location

◆ texspace_size

◆ textoncurve

◆ totbox

◆ totcol

◆ twist_mode

short Curve::twist_mode

◆ twist_smooth

float Curve::twist_smooth

Definition at line 241 of file DNA_curve_types.h.

Referenced by BKE_curve_bevelList_make().

◆ ulheight

float Curve::ulheight

Definition at line 268 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ ulpos

float Curve::ulpos

Definition at line 268 of file DNA_curve_types.h.

Referenced by vfont_to_curve().

◆ vfont

◆ vfontb

struct VFont* Curve::vfontb

Definition at line 290 of file DNA_curve_types.h.

Referenced by BKE_curve_init(), curve_foreach_id(), and vfont_from_charinfo().

◆ vfontbi

struct VFont* Curve::vfontbi

Definition at line 292 of file DNA_curve_types.h.

Referenced by BKE_curve_init(), curve_foreach_id(), and vfont_from_charinfo().

◆ vfonti

struct VFont* Curve::vfonti

Definition at line 291 of file DNA_curve_types.h.

Referenced by BKE_curve_init(), curve_foreach_id(), and vfont_from_charinfo().

◆ wordspace

float Curve::wordspace

Definition at line 268 of file DNA_curve_types.h.

Referenced by curve_blend_read_data(), and vfont_to_curve().

◆ xof

◆ yof


The documentation for this struct was generated from the following file: