Blender  V3.3
Typedefs | Enumerations | Functions
curve_intern.h File Reference

Go to the source code of this file.

Typedefs

typedef enum eVisible_Types eVisible_Types
 
typedef enum eEndPoint_Types eEndPoint_Types
 
typedef enum eCurveElem_Types eCurveElem_Types
 

Enumerations

enum  {
  DEL_NEXT_CHAR , DEL_PREV_CHAR , DEL_NEXT_WORD , DEL_PREV_WORD ,
  DEL_SELECTION , DEL_NEXT_SEL , DEL_PREV_SEL
}
 
enum  { CASE_LOWER , CASE_UPPER }
 
enum  {
  LINE_BEGIN , LINE_END , PREV_CHAR , NEXT_CHAR ,
  PREV_WORD , NEXT_WORD , PREV_LINE , NEXT_LINE ,
  PREV_PAGE , NEXT_PAGE
}
 
enum  eVisible_Types { HIDDEN = true , VISIBLE = false }
 
enum  eEndPoint_Types { FIRST = true , LAST = false }
 
enum  eCurveElem_Types { CURVE_VERTEX = 0 , CURVE_SEGMENT }
 

Functions

bool select_beztriple (BezTriple *bezt, bool selstatus, uint8_t flag, eVisible_Types hidden)
 
bool select_bpoint (BPoint *bp, bool selstatus, uint8_t flag, bool hidden)
 
void FONT_OT_text_insert (struct wmOperatorType *ot)
 
void FONT_OT_line_break (struct wmOperatorType *ot)
 
void FONT_OT_case_toggle (struct wmOperatorType *ot)
 
void FONT_OT_case_set (struct wmOperatorType *ot)
 
void FONT_OT_style_toggle (struct wmOperatorType *ot)
 
void FONT_OT_style_set (struct wmOperatorType *ot)
 
void FONT_OT_select_all (struct wmOperatorType *ot)
 
void FONT_OT_text_copy (struct wmOperatorType *ot)
 
void FONT_OT_text_cut (struct wmOperatorType *ot)
 
void FONT_OT_text_paste (struct wmOperatorType *ot)
 
void FONT_OT_text_paste_from_file (struct wmOperatorType *ot)
 
void FONT_OT_move (struct wmOperatorType *ot)
 
void FONT_OT_move_select (struct wmOperatorType *ot)
 
void FONT_OT_delete (struct wmOperatorType *ot)
 
void FONT_OT_change_character (struct wmOperatorType *ot)
 
void FONT_OT_change_spacing (struct wmOperatorType *ot)
 
void FONT_OT_open (struct wmOperatorType *ot)
 
void FONT_OT_unlink (struct wmOperatorType *ot)
 
void FONT_OT_textbox_add (struct wmOperatorType *ot)
 
void FONT_OT_textbox_remove (struct wmOperatorType *ot)
 
void CURVE_OT_hide (struct wmOperatorType *ot)
 
void CURVE_OT_reveal (struct wmOperatorType *ot)
 
void CURVE_OT_separate (struct wmOperatorType *ot)
 
void CURVE_OT_split (struct wmOperatorType *ot)
 
void CURVE_OT_duplicate (struct wmOperatorType *ot)
 
void CURVE_OT_delete (struct wmOperatorType *ot)
 
void CURVE_OT_dissolve_verts (struct wmOperatorType *ot)
 
void CURVE_OT_spline_type_set (struct wmOperatorType *ot)
 
void CURVE_OT_radius_set (struct wmOperatorType *ot)
 
void CURVE_OT_spline_weight_set (struct wmOperatorType *ot)
 
void CURVE_OT_handle_type_set (struct wmOperatorType *ot)
 
void CURVE_OT_normals_make_consistent (struct wmOperatorType *ot)
 
void CURVE_OT_decimate (struct wmOperatorType *ot)
 
void CURVE_OT_shade_smooth (struct wmOperatorType *ot)
 
void CURVE_OT_shade_flat (struct wmOperatorType *ot)
 
void CURVE_OT_tilt_clear (struct wmOperatorType *ot)
 
void CURVE_OT_smooth (struct wmOperatorType *ot)
 
void CURVE_OT_smooth_weight (struct wmOperatorType *ot)
 
void CURVE_OT_smooth_radius (struct wmOperatorType *ot)
 
void CURVE_OT_smooth_tilt (struct wmOperatorType *ot)
 
void CURVE_OT_switch_direction (struct wmOperatorType *ot)
 
void CURVE_OT_subdivide (struct wmOperatorType *ot)
 
void CURVE_OT_make_segment (struct wmOperatorType *ot)
 
void CURVE_OT_spin (struct wmOperatorType *ot)
 
void CURVE_OT_vertex_add (struct wmOperatorType *ot)
 
void CURVE_OT_extrude (struct wmOperatorType *ot)
 
void CURVE_OT_cyclic_toggle (struct wmOperatorType *ot)
 
void CURVE_OT_match_texture_space (struct wmOperatorType *ot)
 
struct GHashED_curve_keyindex_hash_duplicate (struct GHash *keyindex)
 
void ED_curve_keyindex_update_nurb (struct EditNurb *editnurb, struct Nurb *nu, struct Nurb *newnu)
 
int ed_editcurve_addvert (Curve *cu, EditNurb *editnurb, View3D *v3d, const float location_init[3])
 
bool curve_toggle_cyclic (View3D *v3d, ListBase *editnurb, int direction)
 
void ed_dissolve_bez_segment (BezTriple *bezt_prev, BezTriple *bezt_next, const Nurb *nu, const Curve *cu, const uint span_len, const uint span_step[2])
 
void ed_editnurb_translate_flag (struct ListBase *editnurb, uint8_t flag, const float vec[3], bool is_2d)
 
bool ed_editnurb_extrude_flag (struct EditNurb *editnurb, uint8_t flag)
 
bool ed_editnurb_spin (float viewmat[4][4], struct View3D *v3d, struct Object *obedit, const float axis[3], const float cent[3])
 
void CURVE_OT_de_select_first (struct wmOperatorType *ot)
 
void CURVE_OT_de_select_last (struct wmOperatorType *ot)
 
void CURVE_OT_select_all (struct wmOperatorType *ot)
 
void CURVE_OT_select_linked (struct wmOperatorType *ot)
 
void CURVE_OT_select_linked_pick (struct wmOperatorType *ot)
 
void CURVE_OT_select_row (struct wmOperatorType *ot)
 
void CURVE_OT_select_next (struct wmOperatorType *ot)
 
void CURVE_OT_select_previous (struct wmOperatorType *ot)
 
void CURVE_OT_select_more (struct wmOperatorType *ot)
 
void CURVE_OT_select_less (struct wmOperatorType *ot)
 
void CURVE_OT_select_random (struct wmOperatorType *ot)
 
void CURVE_OT_select_nth (struct wmOperatorType *ot)
 
void CURVE_OT_select_similar (struct wmOperatorType *ot)
 
void CURVE_OT_shortest_path_pick (struct wmOperatorType *ot)
 
void CURVE_OT_primitive_bezier_curve_add (struct wmOperatorType *ot)
 
void CURVE_OT_primitive_bezier_circle_add (struct wmOperatorType *ot)
 
void CURVE_OT_primitive_nurbs_curve_add (struct wmOperatorType *ot)
 
void CURVE_OT_primitive_nurbs_circle_add (struct wmOperatorType *ot)
 
void CURVE_OT_primitive_nurbs_path_add (struct wmOperatorType *ot)
 
void SURFACE_OT_primitive_nurbs_surface_curve_add (struct wmOperatorType *ot)
 
void SURFACE_OT_primitive_nurbs_surface_circle_add (struct wmOperatorType *ot)
 
void SURFACE_OT_primitive_nurbs_surface_surface_add (struct wmOperatorType *ot)
 
void SURFACE_OT_primitive_nurbs_surface_cylinder_add (struct wmOperatorType *ot)
 
void SURFACE_OT_primitive_nurbs_surface_sphere_add (struct wmOperatorType *ot)
 
void SURFACE_OT_primitive_nurbs_surface_torus_add (struct wmOperatorType *ot)
 
bool ED_curve_pick_vert (struct ViewContext *vc, short sel, struct Nurb **r_nurb, struct BezTriple **r_bezt, struct BPoint **r_bp, short *r_handle, struct Base **r_base)
 
bool ED_curve_pick_vert_ex (struct ViewContext *vc, short sel, int dist_px, struct Nurb **r_nurb, struct BezTriple **r_bezt, struct BPoint **r_bp, short *r_handle, struct Base **r_base)
 
void ED_curve_nurb_vert_selected_find (Curve *cu, View3D *v3d, Nurb **r_nu, BezTriple **r_bezt, BPoint **r_bp)
 
void CURVE_OT_draw (struct wmOperatorType *ot)
 
void CURVE_OT_pen (struct wmOperatorType *ot)
 
struct wmKeyMapcurve_pen_modal_keymap (struct wmKeyConfig *keyconf)
 

Typedef Documentation

◆ eCurveElem_Types

◆ eEndPoint_Types

◆ eVisible_Types

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DEL_NEXT_CHAR 
DEL_PREV_CHAR 
DEL_NEXT_WORD 
DEL_PREV_WORD 
DEL_SELECTION 
DEL_NEXT_SEL 
DEL_PREV_SEL 

Definition at line 20 of file curve_intern.h.

◆ anonymous enum

anonymous enum
Enumerator
CASE_LOWER 
CASE_UPPER 

Definition at line 29 of file curve_intern.h.

◆ anonymous enum

anonymous enum
Enumerator
LINE_BEGIN 
LINE_END 
PREV_CHAR 
NEXT_CHAR 
PREV_WORD 
NEXT_WORD 
PREV_LINE 
NEXT_LINE 
PREV_PAGE 
NEXT_PAGE 

Definition at line 30 of file curve_intern.h.

◆ eCurveElem_Types

Enumerator
CURVE_VERTEX 
CURVE_SEGMENT 

Definition at line 53 of file curve_intern.h.

◆ eEndPoint_Types

Enumerator
FIRST 
LAST 

Definition at line 48 of file curve_intern.h.

◆ eVisible_Types

Enumerator
HIDDEN 
VISIBLE 

Definition at line 43 of file curve_intern.h.

Function Documentation

◆ CURVE_OT_cyclic_toggle()

void CURVE_OT_cyclic_toggle ( struct wmOperatorType ot)

◆ CURVE_OT_de_select_first()

void CURVE_OT_de_select_first ( struct wmOperatorType ot)

◆ CURVE_OT_de_select_last()

void CURVE_OT_de_select_last ( struct wmOperatorType ot)

◆ CURVE_OT_decimate()

void CURVE_OT_decimate ( struct wmOperatorType ot)

◆ CURVE_OT_delete()

void CURVE_OT_delete ( struct wmOperatorType ot)

◆ CURVE_OT_dissolve_verts()

void CURVE_OT_dissolve_verts ( struct wmOperatorType ot)

◆ CURVE_OT_draw()

void CURVE_OT_draw ( struct wmOperatorType ot)

◆ CURVE_OT_duplicate()

void CURVE_OT_duplicate ( struct wmOperatorType ot)

◆ CURVE_OT_extrude()

void CURVE_OT_extrude ( struct wmOperatorType ot)

◆ CURVE_OT_handle_type_set()

void CURVE_OT_handle_type_set ( struct wmOperatorType ot)

◆ CURVE_OT_hide()

void CURVE_OT_hide ( struct wmOperatorType ot)

◆ CURVE_OT_make_segment()

void CURVE_OT_make_segment ( struct wmOperatorType ot)

◆ CURVE_OT_match_texture_space()

void CURVE_OT_match_texture_space ( struct wmOperatorType ot)

◆ CURVE_OT_normals_make_consistent()

void CURVE_OT_normals_make_consistent ( struct wmOperatorType ot)

◆ CURVE_OT_pen()

void CURVE_OT_pen ( struct wmOperatorType ot)

◆ CURVE_OT_primitive_bezier_circle_add()

void CURVE_OT_primitive_bezier_circle_add ( struct wmOperatorType ot)

◆ CURVE_OT_primitive_bezier_curve_add()

void CURVE_OT_primitive_bezier_curve_add ( struct wmOperatorType ot)

◆ CURVE_OT_primitive_nurbs_circle_add()

void CURVE_OT_primitive_nurbs_circle_add ( struct wmOperatorType ot)

◆ CURVE_OT_primitive_nurbs_curve_add()

void CURVE_OT_primitive_nurbs_curve_add ( struct wmOperatorType ot)

◆ CURVE_OT_primitive_nurbs_path_add()

void CURVE_OT_primitive_nurbs_path_add ( struct wmOperatorType ot)

◆ CURVE_OT_radius_set()

void CURVE_OT_radius_set ( struct wmOperatorType ot)

◆ CURVE_OT_reveal()

void CURVE_OT_reveal ( struct wmOperatorType ot)

◆ CURVE_OT_select_all()

void CURVE_OT_select_all ( struct wmOperatorType ot)

◆ CURVE_OT_select_less()

void CURVE_OT_select_less ( struct wmOperatorType ot)

◆ CURVE_OT_select_linked()

void CURVE_OT_select_linked ( struct wmOperatorType ot)

◆ CURVE_OT_select_linked_pick()

void CURVE_OT_select_linked_pick ( struct wmOperatorType ot)

◆ CURVE_OT_select_more()

void CURVE_OT_select_more ( struct wmOperatorType ot)

◆ CURVE_OT_select_next()

void CURVE_OT_select_next ( struct wmOperatorType ot)

◆ CURVE_OT_select_nth()

void CURVE_OT_select_nth ( struct wmOperatorType ot)

◆ CURVE_OT_select_previous()

void CURVE_OT_select_previous ( struct wmOperatorType ot)

◆ CURVE_OT_select_random()

void CURVE_OT_select_random ( struct wmOperatorType ot)

◆ CURVE_OT_select_row()

void CURVE_OT_select_row ( struct wmOperatorType ot)

◆ CURVE_OT_select_similar()

void CURVE_OT_select_similar ( struct wmOperatorType ot)

◆ CURVE_OT_separate()

void CURVE_OT_separate ( struct wmOperatorType ot)

◆ CURVE_OT_shade_flat()

void CURVE_OT_shade_flat ( struct wmOperatorType ot)

◆ CURVE_OT_shade_smooth()

void CURVE_OT_shade_smooth ( struct wmOperatorType ot)

◆ CURVE_OT_shortest_path_pick()

void CURVE_OT_shortest_path_pick ( struct wmOperatorType ot)

◆ CURVE_OT_smooth()

void CURVE_OT_smooth ( struct wmOperatorType ot)

◆ CURVE_OT_smooth_radius()

void CURVE_OT_smooth_radius ( struct wmOperatorType ot)

◆ CURVE_OT_smooth_tilt()

void CURVE_OT_smooth_tilt ( struct wmOperatorType ot)

◆ CURVE_OT_smooth_weight()

void CURVE_OT_smooth_weight ( struct wmOperatorType ot)

◆ CURVE_OT_spin()

void CURVE_OT_spin ( struct wmOperatorType ot)

◆ CURVE_OT_spline_type_set()

void CURVE_OT_spline_type_set ( struct wmOperatorType ot)

◆ CURVE_OT_spline_weight_set()

void CURVE_OT_spline_weight_set ( struct wmOperatorType ot)

◆ CURVE_OT_split()

void CURVE_OT_split ( struct wmOperatorType ot)

◆ CURVE_OT_subdivide()

void CURVE_OT_subdivide ( struct wmOperatorType ot)

◆ CURVE_OT_switch_direction()

void CURVE_OT_switch_direction ( struct wmOperatorType ot)

◆ CURVE_OT_tilt_clear()

void CURVE_OT_tilt_clear ( struct wmOperatorType ot)

◆ CURVE_OT_vertex_add()

void CURVE_OT_vertex_add ( struct wmOperatorType ot)

◆ curve_pen_modal_keymap()

struct wmKeyMap* curve_pen_modal_keymap ( struct wmKeyConfig keyconf)

◆ curve_toggle_cyclic()

bool curve_toggle_cyclic ( View3D v3d,
ListBase editnurb,
int  direction 
)

◆ ED_curve_keyindex_hash_duplicate()

struct GHash* ED_curve_keyindex_hash_duplicate ( struct GHash keyindex)

◆ ED_curve_keyindex_update_nurb()

void ED_curve_keyindex_update_nurb ( struct EditNurb editnurb,
struct Nurb nu,
struct Nurb newnu 
)

◆ ED_curve_nurb_vert_selected_find()

void ED_curve_nurb_vert_selected_find ( Curve cu,
View3D v3d,
Nurb **  r_nu,
BezTriple **  r_bezt,
BPoint **  r_bp 
)

◆ ED_curve_pick_vert()

bool ED_curve_pick_vert ( struct ViewContext vc,
short  sel,
struct Nurb **  r_nurb,
struct BezTriple **  r_bezt,
struct BPoint **  r_bp,
short *  r_handle,
struct Base **  r_base 
)

◆ ED_curve_pick_vert_ex()

bool ED_curve_pick_vert_ex ( struct ViewContext vc,
short  sel,
int  dist_px,
struct Nurb **  r_nurb,
struct BezTriple **  r_bezt,
struct BPoint **  r_bp,
short *  r_handle,
struct Base **  r_base 
)

◆ ed_dissolve_bez_segment()

void ed_dissolve_bez_segment ( BezTriple bezt_prev,
BezTriple bezt_next,
const Nurb nu,
const Curve cu,
const uint  span_len,
const uint  span_step[2] 
)

◆ ed_editcurve_addvert()

int ed_editcurve_addvert ( Curve cu,
EditNurb editnurb,
View3D v3d,
const float  location_init[3] 
)

◆ ed_editnurb_extrude_flag()

bool ed_editnurb_extrude_flag ( struct EditNurb editnurb,
uint8_t  flag 
)

◆ ed_editnurb_spin()

bool ed_editnurb_spin ( float  viewmat[4][4],
struct View3D v3d,
struct Object obedit,
const float  axis[3],
const float  cent[3] 
)

◆ ed_editnurb_translate_flag()

void ed_editnurb_translate_flag ( struct ListBase editnurb,
uint8_t  flag,
const float  vec[3],
bool  is_2d 
)

◆ FONT_OT_case_set()

void FONT_OT_case_set ( struct wmOperatorType ot)

◆ FONT_OT_case_toggle()

void FONT_OT_case_toggle ( struct wmOperatorType ot)

◆ FONT_OT_change_character()

void FONT_OT_change_character ( struct wmOperatorType ot)

◆ FONT_OT_change_spacing()

void FONT_OT_change_spacing ( struct wmOperatorType ot)

◆ FONT_OT_delete()

void FONT_OT_delete ( struct wmOperatorType ot)

◆ FONT_OT_line_break()

void FONT_OT_line_break ( struct wmOperatorType ot)

◆ FONT_OT_move()

void FONT_OT_move ( struct wmOperatorType ot)

◆ FONT_OT_move_select()

void FONT_OT_move_select ( struct wmOperatorType ot)

◆ FONT_OT_open()

void FONT_OT_open ( struct wmOperatorType ot)

◆ FONT_OT_select_all()

void FONT_OT_select_all ( struct wmOperatorType ot)

◆ FONT_OT_style_set()

void FONT_OT_style_set ( struct wmOperatorType ot)

◆ FONT_OT_style_toggle()

void FONT_OT_style_toggle ( struct wmOperatorType ot)

◆ FONT_OT_text_copy()

void FONT_OT_text_copy ( struct wmOperatorType ot)

◆ FONT_OT_text_cut()

void FONT_OT_text_cut ( struct wmOperatorType ot)

◆ FONT_OT_text_insert()

void FONT_OT_text_insert ( struct wmOperatorType ot)

◆ FONT_OT_text_paste()

void FONT_OT_text_paste ( struct wmOperatorType ot)

◆ FONT_OT_text_paste_from_file()

void FONT_OT_text_paste_from_file ( struct wmOperatorType ot)

◆ FONT_OT_textbox_add()

void FONT_OT_textbox_add ( struct wmOperatorType ot)

◆ FONT_OT_textbox_remove()

void FONT_OT_textbox_remove ( struct wmOperatorType ot)

◆ FONT_OT_unlink()

void FONT_OT_unlink ( struct wmOperatorType ot)

◆ select_beztriple()

bool select_beztriple ( BezTriple bezt,
bool  selstatus,
uint8_t  flag,
eVisible_Types  hidden 
)

◆ select_bpoint()

bool select_bpoint ( BPoint bp,
bool  selstatus,
uint8_t  flag,
bool  hidden 
)

◆ SURFACE_OT_primitive_nurbs_surface_circle_add()

void SURFACE_OT_primitive_nurbs_surface_circle_add ( struct wmOperatorType ot)

◆ SURFACE_OT_primitive_nurbs_surface_curve_add()

void SURFACE_OT_primitive_nurbs_surface_curve_add ( struct wmOperatorType ot)

◆ SURFACE_OT_primitive_nurbs_surface_cylinder_add()

void SURFACE_OT_primitive_nurbs_surface_cylinder_add ( struct wmOperatorType ot)

◆ SURFACE_OT_primitive_nurbs_surface_sphere_add()

void SURFACE_OT_primitive_nurbs_surface_sphere_add ( struct wmOperatorType ot)

◆ SURFACE_OT_primitive_nurbs_surface_surface_add()

void SURFACE_OT_primitive_nurbs_surface_surface_add ( struct wmOperatorType ot)

◆ SURFACE_OT_primitive_nurbs_surface_torus_add()

void SURFACE_OT_primitive_nurbs_surface_torus_add ( struct wmOperatorType ot)