![]() |
NDEVR
API Documentation
|
A class that flips a surface generated normals from point clouds or lines given based around a path of a perspective. More...
Public Member Functions | |
| PerspectiveListNormalFlipper (const Model &reference) | |
| Constructs a PerspectiveListNormalFlipper from a reference model containing perspective path data. | |
| uint04 | findClosest (fltp08 target, fltp08 epsilon=0.001) |
| Finds the index of the closest perspective point to a parametric target value. | |
| bool | shouldFlipNormal (uint04 idx, GeometrySurfacingParameters ¶meters, const Ray< 3, fltp04 > &normal) final override |
| Determines whether the normal at the given index should be flipped based on the perspective path. | |
| void | sortPoints () |
| Sorts the perspective points by their parametric distance along the path. | |
A class that flips a surface generated normals from point clouds or lines given based around a path of a perspective.
Definition at line 45 of file NormalPerspectiveCalculation.h.
| PerspectiveListNormalFlipper::PerspectiveListNormalFlipper | ( | const Model & | reference | ) |
Constructs a PerspectiveListNormalFlipper from a reference model containing perspective path data.
| [in] | reference | The model containing the perspective path geometry. |
Finds the index of the closest perspective point to a parametric target value.
| [in] | target | The parametric distance value to search for. |
| [in] | epsilon | The tolerance for the search. |
|
finaloverride |
Determines whether the normal at the given index should be flipped based on the perspective path.
| [in] | idx | The index of the vertex. |
| [in] | parameters | The current surfacing parameters. |
| [in] | normal | The computed normal ray. |