Blender V5.3
curve_intern.hh File Reference
#include "BLI_sys_types.hh"
#include "DNA_curve_types.h"
#include "DNA_listBase.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

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

Functions

void blender::CURVE_OT_primitive_bezier_curve_add (wmOperatorType *ot)
void blender::CURVE_OT_primitive_bezier_circle_add (wmOperatorType *ot)
void blender::CURVE_OT_primitive_nurbs_curve_add (wmOperatorType *ot)
void blender::CURVE_OT_primitive_nurbs_circle_add (wmOperatorType *ot)
void blender::CURVE_OT_primitive_nurbs_path_add (wmOperatorType *ot)
void blender::SURFACE_OT_primitive_nurbs_surface_curve_add (wmOperatorType *ot)
void blender::SURFACE_OT_primitive_nurbs_surface_circle_add (wmOperatorType *ot)
void blender::SURFACE_OT_primitive_nurbs_surface_surface_add (wmOperatorType *ot)
void blender::SURFACE_OT_primitive_nurbs_surface_cylinder_add (wmOperatorType *ot)
void blender::SURFACE_OT_primitive_nurbs_surface_sphere_add (wmOperatorType *ot)
void blender::SURFACE_OT_primitive_nurbs_surface_torus_add (wmOperatorType *ot)
void blender::CURVE_OT_pen (wmOperatorType *ot)
wmKeyMap * blender::curve_pen_modal_keymap (wmKeyConfig *keyconf)
Utilities
bool blender::select_beztriple (BezTriple *bezt, bool selstatus, eBezTriple_Flag flag, eVisible_Types hidden)
bool blender::select_bpoint (BPoint *bp, bool selstatus, eBezTriple_Flag flag, bool hidden)
Insert Text Operator
void blender::FONT_OT_text_insert (wmOperatorType *ot)
Line Break Operator
void blender::FONT_OT_line_break (wmOperatorType *ot)
Toggle Case Operator
void blender::FONT_OT_case_toggle (wmOperatorType *ot)
Set Case Operator
void blender::FONT_OT_case_set (wmOperatorType *ot)
Toggle Style Operator
void blender::FONT_OT_style_toggle (wmOperatorType *ot)
Set Style Operator
void blender::FONT_OT_style_set (wmOperatorType *ot)
Select All Operator
void blender::FONT_OT_select_all (wmOperatorType *ot)
void blender::CURVE_OT_select_all (wmOperatorType *ot)
Copy Text Operator
void blender::FONT_OT_text_copy (wmOperatorType *ot)
Cut Text Operator
void blender::FONT_OT_text_cut (wmOperatorType *ot)
Paste Text Operator
void blender::FONT_OT_text_paste (wmOperatorType *ot)
Paste From File Operator
void blender::FONT_OT_text_paste_from_file (wmOperatorType *ot)
Insert Unicode Character
void blender::FONT_OT_text_insert_unicode (wmOperatorType *ot)
Font Selection Operator
void blender::FONT_OT_selection_set (wmOperatorType *ot)
Select Word Operator
void blender::FONT_OT_select_word (wmOperatorType *ot)
Move Operator
void blender::FONT_OT_move (wmOperatorType *ot)
Move Select Operator
void blender::FONT_OT_move_select (wmOperatorType *ot)
Delete Operator
void blender::FONT_OT_delete (wmOperatorType *ot)
void blender::CURVE_OT_delete (wmOperatorType *ot)
Change Character
void blender::FONT_OT_change_character (wmOperatorType *ot)
Change Spacing
void blender::FONT_OT_change_spacing (wmOperatorType *ot)
Open Font
void blender::FONT_OT_open (wmOperatorType *ot)
Unlink Font Operator
void blender::FONT_OT_unlink (wmOperatorType *ot)
Text-Box Add Operator
void blender::FONT_OT_textbox_add (wmOperatorType *ot)
Text-Box Remove Operator
void blender::FONT_OT_textbox_remove (wmOperatorType *ot)
Hide Operator
void blender::CURVE_OT_hide (wmOperatorType *ot)
Reveal Operator
void blender::CURVE_OT_reveal (wmOperatorType *ot)
Separate Operator
void blender::CURVE_OT_separate (wmOperatorType *ot)
Split Operator
void blender::CURVE_OT_split (wmOperatorType *ot)
Add Duplicate Operator
void blender::CURVE_OT_duplicate (wmOperatorType *ot)
Dissolve Vertices
void blender::CURVE_OT_dissolve_verts (wmOperatorType *ot)
void blender::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])
Set Spline Type Operator
void blender::CURVE_OT_spline_type_set (wmOperatorType *ot)
Set Radius Operator
void blender::CURVE_OT_radius_set (wmOperatorType *ot)
Set Weight Operator
void blender::CURVE_OT_spline_weight_set (wmOperatorType *ot)
Set Handle Type Operator
void blender::CURVE_OT_handle_type_set (wmOperatorType *ot)
Recalculate Handles Operator
void blender::CURVE_OT_normals_make_consistent (wmOperatorType *ot)
Decimate Operator
Note
The function to decimate is intended for use as a modifier, while its handy allow access as a tool - this does cause access to be a little awkward (passing selection as weights for eg).
void blender::CURVE_OT_decimate (wmOperatorType *ot)
Shade Smooth/Flat Operator
void blender::CURVE_OT_shade_smooth (wmOperatorType *ot)
void blender::CURVE_OT_shade_flat (wmOperatorType *ot)
Clear Tilt Operator
void blender::CURVE_OT_tilt_clear (wmOperatorType *ot)
Smooth Vertices Operator
void blender::CURVE_OT_smooth (wmOperatorType *ot)
Smooth Weight Operator
void blender::CURVE_OT_smooth_weight (wmOperatorType *ot)
Smooth Radius Operator
void blender::CURVE_OT_smooth_radius (wmOperatorType *ot)
Smooth Tilt Operator
void blender::CURVE_OT_smooth_tilt (wmOperatorType *ot)
Switch Direction Operator
void blender::CURVE_OT_switch_direction (wmOperatorType *ot)
Subdivide Operator
void blender::CURVE_OT_subdivide (wmOperatorType *ot)
Make Segment Operator

Also handles skinning & lofting.

void blender::CURVE_OT_make_segment (wmOperatorType *ot)
Spin Operator
void blender::CURVE_OT_spin (wmOperatorType *ot)
bool blender::ed_editnurb_spin (float viewmat[4][4], View3D *v3d, Object *obedit, const float axis[3], const float cent[3])
Add Vertex Operator
void blender::CURVE_OT_vertex_add (wmOperatorType *ot)
int blender::ed_editcurve_addvert (Curve *cu, EditNurb *editnurb, View3D *v3d, const float location_init[3])
Extrude Operator
void blender::CURVE_OT_extrude (wmOperatorType *ot)
Make Cyclic Operator
void blender::CURVE_OT_cyclic_toggle (wmOperatorType *ot)
bool blender::curve_toggle_cyclic (View3D *v3d, ListBaseT< Nurb > *editnurb, int direction)
Match Texture Space Operator
void blender::CURVE_OT_match_texture_space (wmOperatorType *ot)
Shape keys
CVKeyIndexMap * blender::ED_curve_keyindex_hash_duplicate (CVKeyIndexMap *keyindex)
void blender::ED_curve_keyindex_update_nurb (EditNurb *editnurb, Nurb *nu, Nurb *newnu)
Flag Utility Functions
void blender::ed_editnurb_translate_flag (ListBaseT< Nurb > *editnurb, eBezTriple_Flag flag, const float vec[3], bool is_2d)
bool blender::ed_editnurb_extrude_flag (EditNurb *editnurb, eBezTriple_Flag flag)
Select Start/End Operators
void blender::CURVE_OT_de_select_first (wmOperatorType *ot)
void blender::CURVE_OT_de_select_last (wmOperatorType *ot)
Select Linked Operator
void blender::CURVE_OT_select_linked (wmOperatorType *ot)
Select Linked Pick Operator
void blender::CURVE_OT_select_linked_pick (wmOperatorType *ot)
Select Row Operator
void blender::CURVE_OT_select_row (wmOperatorType *ot)
Select Next Operator
void blender::CURVE_OT_select_next (wmOperatorType *ot)
Select Previous Operator
void blender::CURVE_OT_select_previous (wmOperatorType *ot)
Select More Operator
void blender::CURVE_OT_select_more (wmOperatorType *ot)
Select Less Operator
void blender::CURVE_OT_select_less (wmOperatorType *ot)
Select Random Operator
void blender::CURVE_OT_select_random (wmOperatorType *ot)
Select Every Nth Number of Point Operator
void blender::CURVE_OT_select_nth (wmOperatorType *ot)
Select Similar Operator
void blender::CURVE_OT_select_similar (wmOperatorType *ot)
Select Shortest Path Operator
void blender::CURVE_OT_shortest_path_pick (wmOperatorType *ot)
Cursor Picking API
bool blender::ED_curve_pick_vert (ViewContext *vc, short sel, Nurb **r_nurb, BezTriple **r_bezt, BPoint **r_bp, short *r_handle, Base **r_base)
bool blender::ED_curve_pick_vert_ex (ViewContext *vc, bool select, int dist_px, Nurb **r_nurb, BezTriple **r_bezt, BPoint **r_bp, short *r_handle, Base **r_base)
Selection Queries
void blender::ED_curve_nurb_vert_selected_find (Curve *cu, View3D *v3d, Nurb **r_nu, BezTriple **r_bezt, BPoint **r_bp)
Operator Callbacks & Helpers
void blender::CURVE_OT_draw (wmOperatorType *ot)