|
Blender V4.3
|
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_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 17 of file BKE_displist.h.
| 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 32 of file BKE_displist.h.
| 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 ) |
Referenced by curve_from_curve_object().
| float BKE_displist_calc_taper | ( | struct Depsgraph * | depsgraph, |
| const struct Scene * | scene, | ||
| struct Object * | taperobj, | ||
| int | cur, | ||
| int | tot ) |
Referenced by 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). |
Referenced by M_Geometry_tessellate_polygon().
Definition at line 71 of file displist.cc.
References LISTBASE_FOREACH.
Referenced by 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 BLI_pophead(), and displist_elem_free().
Referenced by bevels_to_filledpoly(), 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().
Referenced by BKE_object_evaluated_geometry_bounds(), and match_texture_space_exec().