Blender V5.3
blender::ShrinkwrapTreeData Struct Reference

#include <BKE_shrinkwrap.hh>

Public Attributes

Mesh * mesh
const BVHTree * bvh
bke::BVHTreeFromMesh treeData
const bke::bvh::Tree * vert_tree
OffsetIndices< int > faces
Span< int2 > edges
Span< int > corner_edges
Span< float3 > face_normals
Span< float3 > vert_normals
Span< float3 > corner_normals
VArraySpan< bool > sharp_faces
const ShrinkwrapBoundaryData * boundary

Detailed Description

Definition at line 84 of file BKE_shrinkwrap.hh.

Member Data Documentation

◆ boundary

const ShrinkwrapBoundaryData* blender::ShrinkwrapTreeData::boundary

◆ bvh

const BVHTree* blender::ShrinkwrapTreeData::bvh

Tree of the mesh triangles. Unused for MOD_SHRINKWRAP_NEAREST_VERTEX.

Definition at line 88 of file BKE_shrinkwrap.hh.

Referenced by blender::BKE_shrinkwrap_find_nearest_surface(), and blender::BKE_shrinkwrap_project_normal().

◆ corner_edges

Span<int> blender::ShrinkwrapTreeData::corner_edges

Definition at line 95 of file BKE_shrinkwrap.hh.

Referenced by blender::mesh_corner_tris_target_project().

◆ corner_normals

Span<float3> blender::ShrinkwrapTreeData::corner_normals

Definition at line 99 of file BKE_shrinkwrap.hh.

Referenced by blender::BKE_shrinkwrap_compute_smooth_normal().

◆ edges

Span<int2> blender::ShrinkwrapTreeData::edges

◆ face_normals

Span<float3> blender::ShrinkwrapTreeData::face_normals

Definition at line 97 of file BKE_shrinkwrap.hh.

Referenced by blender::BKE_shrinkwrap_compute_smooth_normal().

◆ faces

OffsetIndices<int> blender::ShrinkwrapTreeData::faces

Definition at line 93 of file BKE_shrinkwrap.hh.

◆ mesh

Mesh* blender::ShrinkwrapTreeData::mesh

Definition at line 85 of file BKE_shrinkwrap.hh.

Referenced by blender::BKE_shrinkwrap_compute_smooth_normal().

◆ sharp_faces

VArraySpan<bool> blender::ShrinkwrapTreeData::sharp_faces

Definition at line 100 of file BKE_shrinkwrap.hh.

Referenced by blender::BKE_shrinkwrap_compute_smooth_normal().

◆ treeData

◆ vert_normals

Span<float3> blender::ShrinkwrapTreeData::vert_normals

◆ vert_tree

const bke::bvh::Tree* blender::ShrinkwrapTreeData::vert_tree

Tree of the mesh vertices. Only used for MOD_SHRINKWRAP_NEAREST_VERTEX.

Definition at line 91 of file BKE_shrinkwrap.hh.

Referenced by blender::BKE_shrinkwrap_find_nearest_surface(), and blender::shrinkwrap_calc_nearest_vertex().


The documentation for this struct was generated from the following file: