Blender
V3.3
|
#include <DNA_curveprofile_types.h>
Public Attributes | |
short | path_len |
short | segments_len |
int | preset |
CurveProfilePoint * | path |
CurveProfilePoint * | table |
CurveProfilePoint * | segments |
int | flag |
int | changed_timestamp |
rctf | view_rect |
rctf | clip_rect |
Defines a profile.
Definition at line 45 of file DNA_curveprofile_types.h.
int CurveProfile::changed_timestamp |
Used for keeping track how many times the widget is changed.
Definition at line 61 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_set_defaults(), and BKE_curveprofile_update().
rctf CurveProfile::clip_rect |
Definition at line 63 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_move_point(), BKE_curveprofile_reset_view(), BKE_curveprofile_set_defaults(), BKE_curveprofile_update(), CurveProfile_buttons_layout(), CurveProfile_buttons_zoom_in(), CurveProfile_buttons_zoom_out(), ui_draw_but_CURVEPROFILE(), and ui_numedit_but_CURVEPROFILE().
int CurveProfile::flag |
Flag for mode states, sampling options, etc...
Definition at line 59 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_init(), BKE_curveprofile_move_point(), BKE_curveprofile_remove_by_flag(), BKE_curveprofile_reset(), BKE_curveprofile_set_defaults(), BKE_curveprofile_update(), CurveProfile_buttons_layout(), CurveProfile_buttons_zoom_out(), CurveProfile_clipping_toggle(), curveprofile_make_segments_table(), point_init(), ui_draw_but_CURVEPROFILE(), and ui_numedit_but_CURVEPROFILE().
CurveProfilePoint* CurveProfile::path |
Sequence of points defining the shape of the curve.
Definition at line 53 of file DNA_curveprofile_types.h.
Referenced by bezt_edge_handle_angle(), BKE_curveprofile_blend_read(), BKE_curveprofile_blend_write(), BKE_curveprofile_copy_data(), BKE_curveprofile_evaluate_length_portion(), BKE_curveprofile_free_data(), BKE_curveprofile_insert(), BKE_curveprofile_move_point(), BKE_curveprofile_remove_by_flag(), BKE_curveprofile_remove_point(), BKE_curveprofile_reset(), BKE_curveprofile_reverse(), BKE_curveprofile_selected_handle_set(), BKE_curveprofile_set_defaults(), BKE_curveprofile_update(), calculate_path_handles(), create_samples(), curveprofile_build_steps(), curveprofile_build_supports(), CurveProfile_buttons_layout(), is_curved_edge(), ui_do_but_CURVEPROFILE(), ui_draw_but_CURVEPROFILE(), and ui_numedit_but_CURVEPROFILE().
short CurveProfile::path_len |
Number of user-added points that define the profile.
Definition at line 47 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_blend_read(), BKE_curveprofile_blend_write(), BKE_curveprofile_copy_data(), BKE_curveprofile_insert(), BKE_curveprofile_move_point(), BKE_curveprofile_remove_by_flag(), BKE_curveprofile_remove_point(), BKE_curveprofile_reset(), BKE_curveprofile_reverse(), BKE_curveprofile_selected_handle_set(), BKE_curveprofile_set_defaults(), BKE_curveprofile_table_size(), BKE_curveprofile_update(), calculate_path_handles(), create_samples(), curveprofile_build_steps(), curveprofile_build_supports(), CurveProfile_buttons_layout(), ui_do_but_CURVEPROFILE(), ui_draw_but_CURVEPROFILE(), and ui_numedit_but_CURVEPROFILE().
int CurveProfile::preset |
Preset to use when reset.
Definition at line 51 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_add(), BKE_curveprofile_reset(), CurveProfile_buttons_layout(), and CurveProfile_presets_dofunc().
CurveProfilePoint* CurveProfile::segments |
The positions of the sampled points. Used to display a preview of where they will be.
Definition at line 57 of file DNA_curveprofile_types.h.
Referenced by bevel_quarter_fill(), BKE_curveprofile_blend_read(), BKE_curveprofile_copy_data(), BKE_curveprofile_free_data(), curveprofile_make_segments_table(), set_profile_spacing(), and ui_draw_but_CURVEPROFILE().
short CurveProfile::segments_len |
Number of sampled points.
Definition at line 49 of file DNA_curveprofile_types.h.
Referenced by bevel_quarter_fill(), BKE_curveprofile_blend_read(), BKE_curveprofile_init(), BKE_curveprofile_reset(), BKE_curveprofile_update(), curveprofile_make_segments_table(), set_profile_spacing(), and ui_draw_but_CURVEPROFILE().
CurveProfilePoint* CurveProfile::table |
Display and evaluation table at higher resolution for curves.
Definition at line 55 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_blend_read(), BKE_curveprofile_copy_data(), BKE_curveprofile_evaluate_length_portion(), BKE_curveprofile_free_data(), BKE_curveprofile_reset(), create_samples_even_spacing(), curveprofile_distance_to_next_table_point(), curveprofile_make_table(), curveprofile_total_length(), ui_do_but_CURVEPROFILE(), and ui_draw_but_CURVEPROFILE().
rctf CurveProfile::view_rect |
Widget's current view, and clipping rect (is default rect too).
Definition at line 63 of file DNA_curveprofile_types.h.
Referenced by BKE_curveprofile_reset_view(), BKE_curveprofile_set_defaults(), BKE_curveprofile_update(), CurveProfile_buttons_zoom_in(), CurveProfile_buttons_zoom_out(), ui_do_but_CURVEPROFILE(), ui_draw_but_CURVEPROFILE(), and ui_numedit_but_CURVEPROFILE().