The purpose of this class is to update vertex positions given target triangle normals; see the article "Static/Dynamic Filtering for Mesh Geometry" Generated from class MR.NormalsToPoints. This is the non-const half of the class.
More...
|
| virtual unsafe void | Dispose (bool disposing) |
The purpose of this class is to update vertex positions given target triangle normals; see the article "Static/Dynamic Filtering for Mesh Geometry" Generated from class MR.NormalsToPoints. This is the non-const half of the class.
◆ NormalsToPoints() [1/2]
| unsafe MR.NormalsToPoints.NormalsToPoints |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ NormalsToPoints() [2/2]
| unsafe MR.NormalsToPoints.NormalsToPoints |
( |
MR._ByValue_NormalsToPoints | _other | ) |
|
|
inline |
◆ assign()
Generated from method MR::NormalsToPoints::operator=.
◆ prepare()
builds linear system and prepares a solver for it; please call it only once for mesh, and then run as many times as you like
- Parameters
-
| guideWeight | how much resulting points must be attracted to initial points, must be > 0 Generated from method MR.NormalsToPoints.prepare. Parameter guideWeight defaults to 1. |
◆ run() [1/2]
performs one iteration consisting of projection of all triangles on planes with given normals and finding best points from them
- Parameters
-
| guide | target vertex positions to avoid under-determined system |
| normals | target face normals |
| points | initial approximation on input, updated approximation on output |
| maxInitialDistSq | the maximum squared distance between a point and its position in (guide) Generated from method MR.NormalsToPoints.run. |
◆ run() [2/2]
The documentation for this class was generated from the following file: