Blender V4.3
subdiv_deform.cc File Reference
#include "BKE_subdiv_deform.hh"
#include <cstring>
#include "DNA_mesh_types.h"
#include "BLI_math_vector.h"
#include "BLI_utildefines.h"
#include "BKE_customdata.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
 
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_vertex_displacement (SubdivDeformContext *ctx, const int ptex_face_index, const float u, const float v, int vertex_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 int *)
 
static void blender::bke::subdiv::subdiv_mesh_vertex_every_corner (const ForeachContext *foreach_context, void *, const int ptex_face_index, const float u, const float v, const int coarse_vertex_index, const int, const int, const int)
 
static void blender::bke::subdiv::subdiv_mesh_vertex_corner (const ForeachContext *foreach_context, void *, const int ptex_face_index, const float u, const float v, const int coarse_vertex_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)