Blender V5.3
blender::bke::pbvh::uv_islands::MeshData Struct Reference

#include <pbvh_uv_islands.hh>

Public Member Functions

bool is_edge_manifold (const int edge_id) const
MeshData
 MeshData (OffsetIndices< int > faces, Span< int3 > corner_tris, Span< int > corner_verts, Span< int > corner_edges, Span< int2 > mesh_edges, GroupedSpan< int > vert_to_face_map, Span< float2 > uv_map, Span< float3 > vert_positions)

Public Attributes

OffsetIndices< int > faces
Span< int3 > corner_tris
Span< int > corner_verts
Span< int > corner_edges
Span< int2 > mesh_edges
Span< float2 > uv_map
Span< float3 > vert_positions
GroupedSpan< int > vert_to_face_map
Array< int > edge_to_face_offsets
Array< int > edge_to_face_indices
GroupedSpan< int > edge_to_face_map
Array< int > uv_island_ids
int64_t uv_island_len
Array< bool > uv_edge_is_border

Detailed Description

MeshData contains input geometry data converted in a list of primitives, edges and vertices for quick access for both local space and uv space.

Definition at line 47 of file pbvh_uv_islands.hh.

Constructor & Destructor Documentation

◆ MeshData()

blender::bke::pbvh::uv_islands::MeshData::MeshData ( OffsetIndices< int > faces,
Span< int3 > corner_tris,
Span< int > corner_verts,
Span< int > corner_edges,
Span< int2 > mesh_edges,
GroupedSpan< int > vert_to_face_map,
Span< float2 > uv_map,
Span< float3 > vert_positions )
explicit

Member Function Documentation

◆ is_edge_manifold()

bool blender::bke::pbvh::uv_islands::MeshData::is_edge_manifold ( const int edge_id) const
inline

Member Data Documentation

◆ corner_edges

◆ corner_tris

◆ corner_verts

◆ edge_to_face_indices

Array<int> blender::bke::pbvh::uv_islands::MeshData::edge_to_face_indices

◆ edge_to_face_map

GroupedSpan<int> blender::bke::pbvh::uv_islands::MeshData::edge_to_face_map

◆ edge_to_face_offsets

Array<int> blender::bke::pbvh::uv_islands::MeshData::edge_to_face_offsets

◆ faces

◆ mesh_edges

◆ uv_edge_is_border

Array<bool> blender::bke::pbvh::uv_islands::MeshData::uv_edge_is_border

◆ uv_island_ids

Array<int> blender::bke::pbvh::uv_islands::MeshData::uv_island_ids

◆ uv_island_len

int64_t blender::bke::pbvh::uv_islands::MeshData::uv_island_len

Total number of found uv islands.

Definition at line 66 of file pbvh_uv_islands.hh.

Referenced by blender::bke::pbvh::uv_islands::mesh_data_init().

◆ uv_map

◆ vert_positions

◆ vert_to_face_map

GroupedSpan<int> blender::bke::pbvh::uv_islands::MeshData::vert_to_face_map

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