|
Blender V5.3
|
Public Attributes | |
| float(* | coords )[3] |
| float(* | coords_v2 )[2] |
| float | point_v2 [2] |
| float | weight_angular |
| float | weight_dist_proj |
| float | weight_dist |
| float | weight |
| float | scales [2] |
| float | scale_mid |
| float | centroid [3] |
| float | centroid_v2 [2] |
| float | normal [3] |
| float | cent_edgemid_vecs_v2 [2][2] |
| float | edgemid_angle |
| float | point_edgemid_angles [2] |
| float | corner_edgemid_angles [2] |
| float | dominant_angle_weight |
| uint | index |
| uint | verts_num |
| uint | loopstart |
| uint | edge_inds [2] |
| uint | edge_vert_inds [2] |
| uint | corner_ind |
| uint | dominant_edge |
| bool | inside |
This represents the relationship between a point (a source coordinate) and the face-corner it's being bound to (from the target mesh).
Definition at line 95 of file MOD_surfacedeform.cc.
| float blender::SDefBindPoly::cent_edgemid_vecs_v2[2][2] |
Vectors pointing from the centroid to the midpoints of the two edges flanking the corner vertex.
Definition at line 128 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float blender::SDefBindPoly::centroid[3] |
Center of coords
Definition at line 117 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::centroid_v2[2] |
Center of coords_v2
Definition at line 119 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float(* blender::SDefBindPoly::coords)[3] |
Coordinates copied directly from the modifiers input.
Definition at line 97 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), blender::computeBindWeights(), and blender::freeBindData().
| float(* blender::SDefBindPoly::coords_v2)[2] |
Coordinates projected into 2D space using normal.
Definition at line 99 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), blender::computeBindWeights(), and blender::freeBindData().
| float blender::SDefBindPoly::corner_edgemid_angles[2] |
Angles between the centroid-to-corner and cent_edgemid_vecs_v2 vectors.
Definition at line 137 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| uint blender::SDefBindPoly::corner_ind |
The index of this corner in the face (starting at zero).
Definition at line 155 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float blender::SDefBindPoly::dominant_angle_weight |
Weight of the bind mode based on the corner and two adjacent vertices, versus the one based on the centroid and the dominant edge.
Definition at line 142 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| uint blender::SDefBindPoly::dominant_edge |
Definition at line 156 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| uint blender::SDefBindPoly::edge_inds[2] |
Definition at line 152 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| uint blender::SDefBindPoly::edge_vert_inds[2] |
Definition at line 153 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::edgemid_angle |
Angle between the cent_edgemid_vecs_v2 vectors.
Definition at line 130 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| uint blender::SDefBindPoly::index |
Index of the input face.
Definition at line 144 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| bool blender::SDefBindPoly::inside |
When true point_v2 is inside coords_v2.
Definition at line 158 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| uint blender::SDefBindPoly::loopstart |
This polygons loop-start.
Definition at line 151 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::normal[3] |
The calculated normal of coords (could be shared between faces).
Definition at line 123 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::point_edgemid_angles[2] |
Angles between the centroid-to-point and cent_edgemid_vecs_v2 vectors. Positive values measured towards the corner; clamped non-negative.
Definition at line 135 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float blender::SDefBindPoly::point_v2[2] |
The point being queried projected into 2D space using normal.
Definition at line 101 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::scale_mid |
Distance weight from the corner vertex to the chord line, used to penalize cases with the three consecutive vertices being nearly in line.
Definition at line 115 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float blender::SDefBindPoly::scales[2] |
Distances from the centroid to edges flanking the corner vertex, used to penalize small or long and narrow faces in favor of bigger and more square ones.
Definition at line 110 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| uint blender::SDefBindPoly::verts_num |
Number of vertices in this face.
Definition at line 146 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::weight |
Definition at line 105 of file MOD_surfacedeform.cc.
Referenced by blender::bindVert(), and blender::computeBindWeights().
| float blender::SDefBindPoly::weight_angular |
Definition at line 102 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float blender::SDefBindPoly::weight_dist |
Definition at line 104 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().
| float blender::SDefBindPoly::weight_dist_proj |
Definition at line 103 of file MOD_surfacedeform.cc.
Referenced by blender::computeBindWeights().