Blender V5.3
MOD_array.cc File Reference
#include <algorithm>
#include "MEM_guardedalloc.h"
#include "BLI_utildefines.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_span.hh"
#include "BLT_translation.hh"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "BKE_anim_path.h"
#include "BKE_attribute.hh"
#include "BKE_attribute_legacy_convert.hh"
#include "BKE_curve.hh"
#include "BKE_customdata.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_wrapper.hh"
#include "BKE_modifier.hh"
#include "BKE_object_deform.h"
#include "BKE_object_types.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "MOD_ui_common.hh"
#include "DEG_depsgraph.hh"
#include "GEO_mesh_merge_verts.hh"

Go to the source code of this file.

Classes

struct  blender::SortVertsElem

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::init_data (ModifierData *md)
static void blender::foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data)
static void blender::update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx)
BLI_INLINE float blender::sum_v3 (const float v[3])
static int blender::svert_sum_cmp (const void *e1, const void *e2)
static void blender::svert_from_mvert (SortVertsElem *sv, const Span< float3 > vert_positions, const int i_begin, const int i_end)
static void blender::dm_mvert_map_doubles (int *doubles_map, const Span< float3 > vert_positions, const int target_start, const int target_verts_num, const int source_start, const int source_verts_num, const float dist)
static void blender::mesh_merge_transform (Mesh *result, Mesh *cap_mesh, const float cap_offset[4][4], uint cap_verts_index, uint cap_edges_index, int cap_loops_index, int cap_faces_index, int cap_nverts, int cap_nedges, int cap_nloops, int cap_nfaces, int *remap, int remap_len, MutableSpan< float3 > dst_vert_normals)
static Mesh * blender::arrayModifier_doArray (ArrayModifierData *amd, const ModifierEvalContext *ctx, Mesh *mesh)
static Mesh * blender::modify_mesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *mesh)
static bool blender::is_disabled (const Scene *, ModifierData *md, bool)
static void blender::panel_draw (const bContext *, Panel *panel)
static void blender::relative_offset_header_draw (const bContext *, Panel *panel)
static void blender::relative_offset_draw (const bContext *, Panel *panel)
static void blender::constant_offset_header_draw (const bContext *, Panel *panel)
static void blender::constant_offset_draw (const bContext *, Panel *panel)
static void blender::object_offset_header_draw (const bContext *, Panel *panel)
static void blender::object_offset_draw (const bContext *, Panel *panel)
static void blender::symmetry_panel_header_draw (const bContext *, Panel *panel)
static void blender::symmetry_panel_draw (const bContext *, Panel *panel)
static void blender::uv_panel_draw (const bContext *, Panel *panel)
static void blender::caps_panel_draw (const bContext *, Panel *panel)
static void blender::panel_register (ARegionType *region_type)

Variables

ModifierTypeInfo blender::modifierType_Array

Detailed Description

Array modifier: duplicates the object multiple times along an axis.

Definition in file MOD_array.cc.