Blender V5.3
BKE_shrinkwrap.hh File Reference
#include "BKE_bvh.hh"
#include "BKE_bvhutils.hh"
#include "BKE_context.hh"
#include "BLI_array.hh"
#include "BLI_bit_vector.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_offset_indices.hh"
#include "BLI_span.hh"
#include "BLI_virtual_array.hh"

Go to the source code of this file.

Classes

struct  blender::ShrinkwrapBoundaryVertData
class  blender::ShrinkwrapBoundaryData
struct  blender::ShrinkwrapTreeData
struct  blender::ShrinkwrapParams

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::bke
namespace  blender::bke::shrinkwrap

Macros

#define NULL_ShrinkwrapCalcData
#define NULL_BVHTreeFromMesh
#define NULL_BVHTreeRayHit
#define NULL_BVHTreeNearest

Functions

const ShrinkwrapBoundaryData & blender::bke::shrinkwrap::boundary_cache_ensure (const Mesh &mesh)
bool blender::BKE_shrinkwrap_needs_normals (int shrinkType, int shrinkMode)
bool blender::BKE_shrinkwrap_init_tree (ShrinkwrapTreeData *data, Mesh *mesh, int shrinkType, int shrinkMode, bool force_normals)
void blender::BKE_shrinkwrap_free_tree (ShrinkwrapTreeData *data)
void blender::shrinkwrapModifier_deform (ShrinkwrapModifierData *smd, const ModifierEvalContext *ctx, Scene *scene, Object *ob, Mesh *mesh, const MDeformVert *dvert, int defgrp_index, float(*vertexCos)[3], int numVerts)
void blender::shrinkwrapParams_deform (const ShrinkwrapParams &params, Object &object, ShrinkwrapTreeData &tree, Span< MDeformVert > dvert, int defgrp_index, MutableSpan< float3 > positions)
void blender::BKE_shrinkwrap_mesh_nearest_surface_deform (Depsgraph *depsgraph, Scene *scene, Object *ob_source, Object *ob_target)
void blender::BKE_shrinkwrap_remesh_target_project (Mesh *src_me, Mesh *target_me, Object *ob_target)
bool blender::BKE_shrinkwrap_project_normal (char options, const float vert[3], const float dir[3], const SpaceTransform *transf, ShrinkwrapTreeData *tree, BVHTreeRayHit *hit)
void blender::BKE_shrinkwrap_find_nearest_surface (ShrinkwrapTreeData *tree, BVHTreeNearest *nearest, float co[3], int type)
void blender::BKE_shrinkwrap_compute_smooth_normal (const ShrinkwrapTreeData *tree, const SpaceTransform *transform, int tri_idx, const float hit_co[3], const float hit_no[3], float r_no[3])
void blender::BKE_shrinkwrap_snap_point_to_surface (const ShrinkwrapTreeData *tree, const SpaceTransform *transform, int mode, int hit_idx, const float hit_co[3], const float hit_no[3], float goal_dist, const float point_co[3], float r_point_co[3])

Macro Definition Documentation

◆ NULL_BVHTreeFromMesh

#define NULL_BVHTreeFromMesh
Value:
{ \
NULL, \
}

Definition at line 249 of file BKE_shrinkwrap.hh.

◆ NULL_BVHTreeNearest

#define NULL_BVHTreeNearest
Value:
{ \
0, \
}

Definition at line 257 of file BKE_shrinkwrap.hh.

◆ NULL_BVHTreeRayHit

#define NULL_BVHTreeRayHit
Value:
{ \
NULL, \
}

Definition at line 253 of file BKE_shrinkwrap.hh.

◆ NULL_ShrinkwrapCalcData

#define NULL_ShrinkwrapCalcData