|
Blender V4.5
|
display list (or rather multi purpose list) stuff. More...
Go to the source code of this file.
Classes | |
| struct | DispList |
Typedefs | |
| typedef struct DispList | DispList |
Enumerations | |
| enum | { DL_POLY = 0 , DL_SEGM = 1 , DL_SURF = 2 , DL_INDEX3 = 4 , DL_VERTS = 7 } |
| enum | { DL_CYCL_U = (1 << 0) , DL_CYCL_V = (1 << 1) , DL_FRONT_CURVE = (1 << 2) , DL_BACK_CURVE = (1 << 3) } |
Functions | |
| DispList * | BKE_displist_find (struct ListBase *lb, int type) |
| void | BKE_displist_free (struct ListBase *lb) |
| void | BKE_displist_make_curveTypes (struct Depsgraph *depsgraph, const struct Scene *scene, struct Object *ob, bool for_render) |
| void | BKE_curve_calc_modifiers_pre (struct Depsgraph *depsgraph, const struct Scene *scene, struct Object *ob, struct ListBase *source_nurb, struct ListBase *target_nurb, bool for_render) |
| bool | BKE_displist_surfindex_get (const struct DispList *dl, int a, int *b, int *p1, int *p2, int *p3, int *p4) |
| void | BKE_displist_fill (const struct ListBase *dispbase, struct ListBase *to, const float normal_proj[3], bool flip_normal) |
| float | BKE_displist_calc_taper (struct Depsgraph *depsgraph, const struct Scene *scene, struct Object *taperobj, int cur, int tot) |
| void | BKE_displist_minmax (const struct ListBase *dispbase, float min[3], float max[3]) |
display list (or rather multi purpose list) stuff.
Definition in file BKE_displist.h.
| typedef struct DispList DispList |
| anonymous enum |
| Enumerator | |
|---|---|
| DL_CYCL_U | U/V swapped here compared with Nurb.flagu, Nurb.flagv and CU_NURB_CYCLIC |
| DL_CYCL_V | |
| DL_FRONT_CURVE | |
| DL_BACK_CURVE | |
Definition at line 28 of file BKE_displist.h.
| anonymous enum |
| Enumerator | |
|---|---|
| DL_POLY | A closed polygon (that can be filled). |
| DL_SEGM | An open polygon. |
| DL_SURF | |
| DL_INDEX3 | Triangles. |
| DL_VERTS | Isolated points. |
Definition at line 13 of file BKE_displist.h.
| float BKE_displist_calc_taper | ( | struct Depsgraph * | depsgraph, |
| const struct Scene * | scene, | ||
| struct Object * | taperobj, | ||
| int | cur, | ||
| int | tot ) |
References BKE_displist_calc_taper().
Referenced by BKE_displist_calc_taper(), BKE_displist_calc_taper(), and do_guides().
| void BKE_displist_fill | ( | const struct ListBase * | dispbase, |
| struct ListBase * | to, | ||
| const float | normal_proj[3], | ||
| bool | flip_normal ) |
| normal_proj | Optional normal that's used to project the scan-fill verts into 2D coords. Pass this along if known since it saves time calculating the normal. This is also used to initialize DispList.nors (one normal per display list). |
| flip_normal | Flip the normal (same as passing normal_proj negated). |
References BKE_displist_fill().
Referenced by bevels_to_filledpoly(), BKE_displist_fill(), BKE_displist_fill(), curve_to_filledpoly(), evaluate_curve_type_object(), and M_Geometry_tessellate_polygon().
Definition at line 71 of file displist.cc.
References BKE_displist_find(), and LISTBASE_FOREACH.
Referenced by BKE_displist_find(), BKE_lattice_deform_data_create(), contarget_get_lattice_mat(), give_parvert(), and lattice_foreachScreenVert().
| void BKE_displist_free | ( | struct ListBase * | lb | ) |
Definition at line 64 of file displist.cc.
References BKE_displist_free(), BLI_pophead(), and displist_elem_free().
Referenced by bevels_to_filledpoly(), BKE_displist_free(), BKE_lattice_resize(), BKE_object_free_curve_cache(), BKE_object_material_slot_remove(), curve_bevel_make_from_object(), evaluate_curve_type_object(), and M_Geometry_tessellate_polygon().
| void BKE_displist_make_curveTypes | ( | struct Depsgraph * | depsgraph, |
| const struct Scene * | scene, | ||
| struct Object * | ob, | ||
| bool | for_render ) |
References BKE_displist_make_curveTypes().
Referenced by BKE_displist_make_curveTypes(), BKE_displist_make_curveTypes(), BKE_object_handle_data_update(), curve_to_mesh_eval_ensure(), displist_calc_taper(), blender::ed::object::object_force_modifier_update_for_bind(), blender::ed::object::parent_set_with_depsgraph(), and precalculate_effector().
| void BKE_displist_minmax | ( | const struct ListBase * | dispbase, |
| float | min[3], | ||
| float | max[3] ) |
References BKE_displist_minmax(), max, and min.
Referenced by BKE_displist_minmax(), BKE_displist_minmax(), BKE_object_evaluated_geometry_bounds(), and match_texture_space_exec().
| bool BKE_displist_surfindex_get | ( | const struct DispList * | dl, |
| int | a, | ||
| int * | b, | ||
| int * | p1, | ||
| int * | p2, | ||
| int * | p3, | ||
| int * | p4 ) |
References b, and BKE_displist_surfindex_get().
Referenced by BKE_displist_surfindex_get(), BKE_displist_surfindex_get(), and displist_surf_indices().