|
Blender
V2.93
|
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 | numverts |
| 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 106 of file MOD_surfacedeform.c.
| float 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 133 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float SDefBindPoly::centroid[3] |
Center of coords
Definition at line 124 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| float SDefBindPoly::centroid_v2[2] |
Center of coords_v2
Definition at line 126 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float(* SDefBindPoly::coords)[3] |
Coordinates copied directly from the modifiers input.
Definition at line 108 of file MOD_surfacedeform.c.
Referenced by bindVert(), computeBindWeights(), and freeBindData().
| float(* SDefBindPoly::coords_v2)[2] |
Coordinates projected into 2D space using normal.
Definition at line 110 of file MOD_surfacedeform.c.
Referenced by bindVert(), computeBindWeights(), and freeBindData().
| float SDefBindPoly::corner_edgemid_angles[2] |
Angles between the centroid-to-corner and cent_edgemid_vecs_v2 vectors.
Definition at line 140 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| uint SDefBindPoly::corner_ind |
The index of this corner in the face (starting at zero).
Definition at line 156 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float 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 143 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| uint SDefBindPoly::dominant_edge |
Definition at line 157 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| uint SDefBindPoly::edge_inds[2] |
Definition at line 153 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| uint SDefBindPoly::edge_vert_inds[2] |
Definition at line 154 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| float SDefBindPoly::edgemid_angle |
Angle between the cent_edgemid_vecs_v2 vectors.
Definition at line 135 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| uint SDefBindPoly::index |
Index of the input polygon.
Definition at line 145 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| bool SDefBindPoly::inside |
When true point_v2 is inside coords_v2.
Definition at line 159 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| uint SDefBindPoly::loopstart |
This polygons loop-start.
Definition at line 152 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| float SDefBindPoly::normal[3] |
The calculated normal of coords (could be shared between faces).
Definition at line 130 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| uint SDefBindPoly::numverts |
Number of vertices in this face.
Definition at line 147 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| float 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 138 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float SDefBindPoly::point_v2[2] |
The point being queried projected into 2D space using normal.
Definition at line 112 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| float 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 122 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float 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 119 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float SDefBindPoly::weight |
Definition at line 116 of file MOD_surfacedeform.c.
Referenced by bindVert(), and computeBindWeights().
| float SDefBindPoly::weight_angular |
Definition at line 113 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float SDefBindPoly::weight_dist |
Definition at line 115 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().
| float SDefBindPoly::weight_dist_proj |
Definition at line 114 of file MOD_surfacedeform.c.
Referenced by computeBindWeights().