Blender V5.3
lattice.cc File Reference
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "BLI_bitmap.hh"
#include "BLI_listbase.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "DNA_curve_types.h"
#include "DNA_key_types.h"
#include "DNA_lattice_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "BKE_curve.hh"
#include "BKE_deform.hh"
#include "BKE_displist.h"
#include "BKE_idtype.hh"
#include "BKE_lattice.hh"
#include "BKE_lib_id.hh"
#include "BKE_lib_query.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_object_types.hh"
#include "BLO_read_write.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW

Functions

static void blender::lattice_init_data (ID *id)
static void blender::lattice_copy_data (Main *bmain, std::optional< Library * > owner_library, ID *id_dst, const ID *id_src, const int flag)
static void blender::lattice_free_data (ID *id)
static void blender::lattice_foreach_id (ID *id, LibraryForeachIDData *data)
static void blender::lattice_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::lattice_blend_read_data (BlendDataReader *reader, ID *id)
int blender::BKE_lattice_index_from_uvw (const Lattice *lt, int u, int v, int w)
void blender::BKE_lattice_index_to_uvw (const Lattice *lt, int index, int *r_u, int *r_v, int *r_w)
int blender::BKE_lattice_index_flip (const Lattice *lt, int index, bool flip_u, bool flip_v, bool flip_w)
void blender::BKE_lattice_bitmap_from_flag (const Lattice *lt, unsigned int *bitmap, uint8_t flag, bool clear, bool respecthide)
void blender::calc_lat_fudu (int flag, int res, float *r_fu, float *r_du)
void blender::BKE_lattice_resize (Lattice *lt, int u_new, int v_new, int w_new, Object *lt_ob)
Lattice * blender::BKE_lattice_add (Main *bmain, const char *name)
void blender::BKE_lattice_params_copy (Lattice *lt_dst, const Lattice *lt_src)
static BPoint * blender::latt_bp (Lattice *lt, int u, int v, int w)
void blender::outside_lattice (Lattice *lt)
void blender::BKE_lattice_vert_coords_get (const Lattice *lt, MutableSpan< float3 > vert_coordss)
Array< float3 > blender::BKE_lattice_vert_coords_alloc (const Lattice *lt)
void blender::BKE_lattice_vert_coords_apply_with_mat4 (Lattice *lt, Span< float3 > vert_coordss, const float4x4 &transform)
void blender::BKE_lattice_vert_coords_apply (Lattice *lt, Span< float3 > vert_coordss)
void blender::BKE_lattice_modifiers_calc (Depsgraph *depsgraph, Scene *scene, Object *ob)
MDeformVert * blender::BKE_lattice_deform_verts_get (const Object *oblatt)
BPoint * blender::BKE_lattice_active_point_get (Lattice *lt)
void blender::BKE_lattice_center_median (Lattice *lt, float cent[3])
std::optional< Bounds< float3 > > blender::BKE_lattice_minmax (const Lattice *lt)
void blender::BKE_lattice_transform (Lattice *lt, const float mat[4][4], bool do_keys)
void blender::BKE_lattice_translate (Lattice *lt, const float offset[3], bool do_keys)
bool blender::BKE_lattice_is_any_selected (const Lattice *lt)
void blender::BKE_lattice_eval_geometry (Depsgraph *depsgraph, Lattice *latt)
void blender::BKE_lattice_batch_cache_dirty_tag (Lattice *lt, int mode)
void blender::BKE_lattice_batch_cache_free (Lattice *lt)

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

Definition at line 25 of file lattice.cc.