Blender V5.3
BKE_lattice.hh File Reference
#include <optional>
#include "BLI_array.hh"
#include "BLI_bounds_types.hh"
#include "BLI_compiler_attrs.hh"
#include "BLI_math_matrix_types.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  { blender::BKE_LATTICE_BATCH_DIRTY_ALL = 0 , blender::BKE_LATTICE_BATCH_DIRTY_SELECT }

Functions

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)
void blender::calc_lat_fudu (int flag, int res, float *r_fu, float *r_du)
void blender::outside_lattice (Lattice *lt)
Array< float3 > blender::BKE_lattice_vert_coords_alloc (const Lattice *lt)
void blender::BKE_lattice_vert_coords_get (const Lattice *lt, MutableSpan< float3 > vert_coordss)
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)
std::optional< Bounds< float3 > > blender::BKE_lattice_minmax (const Lattice *lt)
void blender::BKE_lattice_center_median (Lattice *lt, float cent[3])
void blender::BKE_lattice_translate (Lattice *lt, const float offset[3], bool do_keys)
void blender::BKE_lattice_transform (Lattice *lt, const float mat[4][4], bool do_keys)
bool blender::BKE_lattice_is_any_selected (const Lattice *lt)
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::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)
Deform 3D Coordinates by Lattice (<tt>lattice_deform.cc</tt>)
LatticeDeformData * blender::BKE_lattice_deform_data_create (const Object *oblatt, const Object *ob) ATTR_WARN_UNUSED_RESULT
void blender::BKE_lattice_deform_data_eval_co (LatticeDeformData *lattice_deform_data, float co[3], float weight)
void blender::BKE_lattice_deform_data_destroy (LatticeDeformData *lattice_deform_data)
void blender::BKE_lattice_deform_coords (const Object *ob_lattice, const Object *ob_target, float(*vert_coords)[3], int vert_coords_len, short flag, const char *defgrp_name, float fac)
void blender::BKE_lattice_deform_coords_with_mesh (const Object *ob_lattice, const Object *ob_target, float(*vert_coords)[3], int vert_coords_len, short flag, const char *defgrp_name, float fac, const Mesh *me_target)
void blender::BKE_lattice_deform_coords_with_editmesh (const Object *ob_lattice, const Object *ob_target, float(*vert_coords)[3], int vert_coords_len, short flag, const char *defgrp_name, float fac, const BMesh &bm_target)

Variables

void(*) blender::BKE_lattice_batch_cache_dirty_tag_cb (Lattice *lt, int mode) = nullptr
void(*) blender::BKE_lattice_batch_cache_free_cb (Lattice *lt) = nullptr