Blender V4.5
WeightedNormalData Struct Reference

Public Attributes

int verts_num
 
blender::Span< blender::float3vert_positions
 
blender::Span< blender::float3vert_normals
 
blender::MutableSpan< bool > sharp_edges
 
blender::Span< int > corner_verts
 
blender::Span< int > corner_edges
 
blender::GroupedSpan< int > vert_to_face_map
 
blender::Span< int > loop_to_face
 
blender::MutableSpan< blender::short2clnors
 
blender::OffsetIndices< int > faces
 
blender::Span< blender::float3face_normals
 
blender::VArraySpan< bool > sharp_faces
 
const int * face_strength
 
const MDeformVertdvert
 
int defgrp_index
 
bool use_invert_vgroup
 
float weight
 
short mode
 
float cached_inverse_powers_of_weight [NUM_CACHED_INVERSE_POWERS_OF_WEIGHT]
 
blender::Span< WeightedNormalDataAggregateItemitems_data
 
ModePairmode_pair
 

Detailed Description

Definition at line 68 of file MOD_weighted_normal.cc.

Member Data Documentation

◆ cached_inverse_powers_of_weight

float WeightedNormalData::cached_inverse_powers_of_weight[NUM_CACHED_INVERSE_POWERS_OF_WEIGHT]

Definition at line 94 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ clnors

blender::MutableSpan<blender::short2> WeightedNormalData::clnors

Definition at line 79 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ corner_edges

blender::Span<int> WeightedNormalData::corner_edges

Definition at line 76 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ corner_verts

blender::Span<int> WeightedNormalData::corner_verts

◆ defgrp_index

int WeightedNormalData::defgrp_index

Definition at line 87 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ dvert

const MDeformVert* WeightedNormalData::dvert

Definition at line 86 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal(), and apply_weights_vertex_normal().

◆ face_normals

blender::Span<blender::float3> WeightedNormalData::face_normals

Definition at line 82 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal(), and apply_weights_vertex_normal().

◆ face_strength

const int* WeightedNormalData::face_strength

Definition at line 84 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and check_item_face_strength().

◆ faces

blender::OffsetIndices<int> WeightedNormalData::faces

◆ items_data

blender::Span<WeightedNormalDataAggregateItem> WeightedNormalData::items_data

Definition at line 96 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ loop_to_face

blender::Span<int> WeightedNormalData::loop_to_face

Definition at line 78 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ mode

short WeightedNormalData::mode

Definition at line 91 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ mode_pair

ModePair* WeightedNormalData::mode_pair

◆ sharp_edges

blender::MutableSpan<bool> WeightedNormalData::sharp_edges

Definition at line 73 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ sharp_faces

blender::VArraySpan<bool> WeightedNormalData::sharp_faces

Definition at line 83 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ use_invert_vgroup

bool WeightedNormalData::use_invert_vgroup

Definition at line 88 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ vert_normals

blender::Span<blender::float3> WeightedNormalData::vert_normals

Definition at line 72 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ vert_positions

blender::Span<blender::float3> WeightedNormalData::vert_positions

◆ vert_to_face_map

blender::GroupedSpan<int> WeightedNormalData::vert_to_face_map

Definition at line 77 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ verts_num

int WeightedNormalData::verts_num

Definition at line 69 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ weight

float WeightedNormalData::weight

Definition at line 90 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().


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