Blender V5.3
MOD_screw.cc File Reference
#include <algorithm>
#include <climits>
#include "BLI_utildefines.hh"
#include "BLI_array_utils.hh"
#include "BLI_bitmap.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_span.hh"
#include "BLT_translation.hh"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "BKE_attribute.hh"
#include "BKE_attribute_legacy_convert.hh"
#include "BKE_customdata.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_mesh.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "DEG_depsgraph_build.hh"
#include "MEM_guardedalloc.h"
#include "MOD_modifiertypes.hh"
#include "MOD_ui_common.hh"
#include "GEO_mesh_merge_verts.hh"
#include "BLI_strict_flags.hh"

Go to the source code of this file.

Classes

struct  blender::ScrewVertConnect
struct  blender::ScrewVertIter

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define SV_UNUSED   (UINT_MAX)
#define SV_INVALID   ((UINT_MAX) - 1)
#define SV_IS_VALID(v)

Functions

static void blender::init_data (ModifierData *md)
static void blender::screwvert_iter_init (ScrewVertIter *iter, ScrewVertConnect *array, uint v_init, uint dir)
static void blender::screwvert_iter_step (ScrewVertIter *iter)
static Mesh * blender::mesh_remove_doubles_on_axis (Mesh *result, MutableSpan< float3 > vert_positions_new, const uint totvert, const uint step_tot, const float axis_vec[3], const float axis_offset[3], const float merge_threshold)
static Mesh * blender::modify_mesh (ModifierData *md, const ModifierEvalContext *ctx, Mesh *meshData)
static void blender::update_depsgraph (ModifierData *md, const ModifierUpdateDepsgraphContext *ctx)
static void blender::foreach_ID_link (ModifierData *md, Object *ob, IDWalkFunc walk, void *user_data)
static void blender::panel_draw (const bContext *, Panel *panel)
static void blender::normals_panel_draw (const bContext *, Panel *panel)
static void blender::panel_register (ARegionType *region_type)

Variables

ModifierTypeInfo blender::modifierType_Screw

Macro Definition Documentation

◆ SV_INVALID

#define SV_INVALID   ((UINT_MAX) - 1)

Definition at line 82 of file MOD_screw.cc.

Referenced by blender::modify_mesh().

◆ SV_IS_VALID

#define SV_IS_VALID ( v)
Value:
((v) < SV_INVALID)
#define SV_INVALID
Definition MOD_screw.cc:82

Definition at line 83 of file MOD_screw.cc.

Referenced by blender::modify_mesh(), blender::screwvert_iter_init(), and blender::screwvert_iter_step().

◆ SV_UNUSED

#define SV_UNUSED   (UINT_MAX)

Definition at line 81 of file MOD_screw.cc.

Referenced by blender::modify_mesh().