Blender V5.3
subdiv_deform.cc File Reference
#include "BKE_subdiv_deform.hh"
#include <cstring>
#include "DNA_mesh_types.h"
#include "BLI_math_vector_c.hh"
#include "BKE_subdiv.hh"
#include "BKE_subdiv_eval.hh"
#include "BKE_subdiv_foreach.hh"
#include "BKE_subdiv_mesh.hh"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Classes

struct  blender::bke::subdiv::SubdivDeformContext

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::subdiv

Functions

Subdivision context
static void blender::bke::subdiv::subdiv_mesh_prepare_accumulator (SubdivDeformContext *ctx, int num_vertices)
static void blender::bke::subdiv::subdiv_mesh_context_free (SubdivDeformContext *ctx)
Accumulation helpers
static void blender::bke::subdiv::subdiv_accumulate_vert_displacement (SubdivDeformContext *ctx, const int ptex_face_index, const float u, const float v, int vert_index)
Subdivision callbacks
static bool blender::bke::subdiv::subdiv_mesh_topology_info (const ForeachContext *foreach_context, const int, const int, const int, const int, const Span< int >)
static void blender::bke::subdiv::subdiv_mesh_vert_every_corner (const ForeachContext *foreach_context, void *, const int ptex_face_index, const float u, const float v, const int coarse_vert_index, const int, const int, const int)
static void blender::bke::subdiv::subdiv_mesh_vert_corner (const ForeachContext *foreach_context, void *, const int ptex_face_index, const float u, const float v, const int coarse_vert_index, const int, const int, const int)
Initialization
static void blender::bke::subdiv::setup_foreach_callbacks (const SubdivDeformContext *subdiv_context, ForeachContext *foreach_context)
Public entry point
void blender::bke::subdiv::deform_coarse_vertices (Subdiv *subdiv, const Mesh *coarse_mesh, MutableSpan< float3 > vert_positions)