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...
|
| unsafe | NormalsToPoints () |
| | Constructs an empty (default-constructed) instance.
|
| |
| unsafe | NormalsToPoints (MR._ByValue_NormalsToPoints _other) |
| | Generated from constructor MR.NormalsToPoints.NormalsToPoints.
|
| |
| unsafe MR.NormalsToPoints | assign (MR._ByValue_NormalsToPoints _other) |
| | Generated from method MR.NormalsToPoints.operator=.
|
| |
| unsafe void | prepare (MR.Const_MeshTopology topology, float? guideWeight=null) |
| | 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
|
| |
| unsafe void | run (MR.Const_VertCoords guide, MR.Const_FaceNormals normals, MR.VertCoords points) |
| | performs one iteration consisting of projection of all triangles on planes with given normals and finding best points from them
|
| |
| unsafe void | run (MR.Const_VertCoords guide, MR.Const_FaceNormals normals, MR.VertCoords points, float maxInitialDistSq) |
| | Generated from method MR.NormalsToPoints.run.
|
| |
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 |
Generated from constructor MR.NormalsToPoints.NormalsToPoints.
◆ assign()
Generated from method MR.NormalsToPoints.operator=.
◆ prepare()
| unsafe void MR.NormalsToPoints.prepare |
( |
MR.Const_MeshTopology | topology, |
|
|
float? | guideWeight = null ) |
|
inline |
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]
| unsafe void MR.NormalsToPoints.run |
( |
MR.Const_VertCoords | guide, |
|
|
MR.Const_FaceNormals | normals, |
|
|
MR.VertCoords | points ) |
|
inline |
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]
| unsafe void MR.NormalsToPoints.run |
( |
MR.Const_VertCoords | guide, |
|
|
MR.Const_FaceNormals | normals, |
|
|
MR.VertCoords | points, |
|
|
float | maxInitialDistSq ) |
|
inline |
The documentation for this class was generated from the following file: