Blender V5.3
displist.cc File Reference
#include <cstring>
#include <numeric>
#include "MEM_guardedalloc.h"
#include "DNA_curve_types.h"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "BLI_array.hh"
#include "BLI_delaunay_2d.hh"
#include "BLI_index_range.hh"
#include "BLI_listbase.hh"
#include "BLI_map.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_memarena.hh"
#include "BLI_scanfill.hh"
#include "BLI_span.hh"
#include "BLI_string.hh"
#include "BLI_task.hh"
#include "BLI_utildefines.hh"
#include "BLI_vector.hh"
#include "BKE_anim_path.h"
#include "BKE_curve.hh"
#include "BKE_curve_legacy_convert.hh"
#include "BKE_displist.h"
#include "BKE_geometry_set.hh"
#include "BKE_key.hh"
#include "BKE_lib_id.hh"
#include "BKE_mesh.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BKE_vfont.hh"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"

Go to the source code of this file.

Classes

struct  blender::PolyRange
struct  blender::CDTFillGroup

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::displist_elem_free (DispList *dl)
void blender::BKE_displist_free (ListBaseT< DispList > *lb)
DispList * blender::BKE_displist_find (ListBaseT< DispList > *lb, int type)
bool blender::BKE_displist_surfindex_get (const DispList *dl, int a, int *b, int *p1, int *p2, int *p3, int *p4)
static void blender::curve_to_displist (const Curve *cu, const ListBaseT< Nurb > *nubase, const bool for_render, ListBaseT< DispList > *r_dispbase)
static float blender::isect_vert_calc_z (int vert_index, int edge_index, const meshintersect::CDT_result< double > &result, Span< PolyRange > poly_ranges, Span< double2 > input_verts_2d)
static void blender::displist_fill_scanfill (const ListBaseT< DispList > *dispbase, ListBaseT< DispList > *to, const float normal_proj[3], const bool flip_normal)
static DispList * blender::displist_fill_cdt_process_group (const CDTFillGroup &group, const bool flip_normal, const CDT_output_type cdt_output_type)
static void blender::displist_fill_cdt (const ListBaseT< DispList > *dispbase, ListBaseT< DispList > *to, const bool flip_normal, const CDT_output_type cdt_output_type)
void blender::BKE_displist_fill (const ListBaseT< DispList > *dispbase, ListBaseT< DispList > *to, const float normal_proj[3], bool flip_normal, CurveFillSolverType fill_solver, CurveFillRuleType fill_rule)
static void blender::bevels_to_filledpoly (const Curve *cu, ListBaseT< DispList > *dispbase)
static void blender::curve_to_filledpoly (const Curve *cu, ListBaseT< DispList > *dispbase)
static float blender::displist_calc_taper (Depsgraph *depsgraph, const Scene *scene, Object *taperobj, float fac)
float blender::BKE_displist_calc_taper (Depsgraph *depsgraph, const Scene *scene, Object *taperobj, int cur, int tot)
static ModifierData * blender::curve_get_tessellate_point (const Scene *scene, const Object *ob, const bool for_render, const bool editmode)
void blender::BKE_curve_calc_modifiers_pre (Depsgraph *depsgraph, const Scene *scene, Object *ob, ListBaseT< Nurb > *source_nurb, ListBaseT< Nurb > *target_nurb, const bool for_render)
static bool blender::do_curve_implicit_mesh_conversion (const Curve *curve, ModifierData *first_modifier, const Scene *scene, const ModifierMode required_mode, const bool editmode)
static bke::GeometrySet blender::curve_calc_modifiers_post (Depsgraph *depsgraph, const Scene *scene, Object *ob, const ListBaseT< DispList > *dispbase, const bool for_render)
static void blender::displist_surf_indices (DispList *dl)
static bke::GeometrySet blender::evaluate_surface_object (Depsgraph *depsgraph, const Scene *scene, Object *ob, const bool for_render, ListBaseT< DispList > *r_dispbase)
static void blender::rotateBevelPiece (const Curve *cu, const BevPoint *bevp, const BevPoint *nbevp, const DispList *dlb, const float bev_blend, const float widfac, const float radius_factor, float **r_data)
static void blender::fillBevelCap (const Nurb *nu, const DispList *dlb, const float *prev_fp, ListBaseT< DispList > *dispbase)
static void blender::calc_bevfac_segment_mapping (const BevList *bl, float bevfac, float spline_length, int *r_bev, float *r_blend)
static void blender::calc_bevfac_spline_mapping (const BevList *bl, float bevfac, float spline_length, int *r_bev, float *r_blend)
static void blender::calc_bevfac_mapping_default (const BevList *bl, int *r_start, float *r_firstblend, int *r_steps, float *r_lastblend)
static void blender::calc_bevfac_mapping (const Curve *cu, const BevList *bl, const Nurb *nu, int *r_start, float *r_firstblend, int *r_steps, float *r_lastblend)
static bke::GeometrySet blender::evaluate_curve_type_object (Depsgraph *depsgraph, const Scene *scene, Object *ob, const bool for_render, ListBaseT< DispList > *r_dispbase)
void blender::BKE_displist_make_curveTypes (Depsgraph *depsgraph, const Scene *scene, Object *ob, const bool for_render)
void blender::BKE_displist_minmax (const ListBaseT< DispList > *dispbase, float min[3], float max[3])