Blender V4.3
WeightedNormalData Struct Reference

Public Attributes

int verts_num
 
blender::Span< blender::float3vert_positions
 
blender::Span< blender::float3vert_normals
 
blender::Span< blender::int2edges
 
blender::MutableSpan< bool > sharp_edges
 
blender::Span< intcorner_verts
 
blender::Span< intcorner_edges
 
blender::Span< intloop_to_face
 
blender::MutableSpan< blender::short2clnors
 
bool has_clnors
 
blender::OffsetIndices< intfaces
 
blender::Span< blender::float3face_normals
 
blender::VArraySpan< bool > sharp_faces
 
const intface_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 73 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 100 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ clnors

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

Definition at line 84 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ corner_edges

blender::Span<int> WeightedNormalData::corner_edges

Definition at line 82 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 93 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ dvert

const MDeformVert* WeightedNormalData::dvert

Definition at line 92 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal(), and apply_weights_vertex_normal().

◆ edges

blender::Span<blender::int2> WeightedNormalData::edges

Definition at line 78 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ face_normals

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

Definition at line 88 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 90 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and check_item_face_strength().

◆ faces

blender::OffsetIndices<int> WeightedNormalData::faces

◆ has_clnors

bool WeightedNormalData::has_clnors

Definition at line 85 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ items_data

blender::Span<WeightedNormalDataAggregateItem> WeightedNormalData::items_data

Definition at line 102 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 83 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ mode

short WeightedNormalData::mode

Definition at line 97 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 79 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ sharp_faces

blender::VArraySpan<bool> WeightedNormalData::sharp_faces

Definition at line 89 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ use_invert_vgroup

bool WeightedNormalData::use_invert_vgroup

Definition at line 94 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ vert_normals

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

Definition at line 77 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ vert_positions

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

◆ verts_num

int WeightedNormalData::verts_num

Definition at line 74 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ weight

float WeightedNormalData::weight

Definition at line 96 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().


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