|
| FIT_RESULT | finalize () |
| | Finalize the procedure.
|
| |
| void | init () |
| | Set the scalar field values to 0 and reset the isNormalized() status.
|
| |
template<typename IteratorBegin , typename IteratorEnd >
requires CNC_REQUIREMENTS |
| FIT_RESULT | compute (const IteratorBegin &begin, const IteratorEnd &end) |
| | Convenience function for STL-like iterators Add neighbors stored in a container using STL-like iterators, and call finalize at the end.
|
| |
template<typename PointContainer >
requires CNC_REQUIREMENTS |
| FIT_RESULT | compute (const PointContainer &points) |
| | Compute function for STL-like containers.
|
| |
template<typename IndexRange , typename PointContainer >
requires CNC_REQUIREMENTS |
| FIT_RESULT | computeWithIds (const IndexRange &ids, const PointContainer &points) |
| | Compute function that iterates over a subset of sampled points from an STL-Like container.
|
| |
| size_t | getNumTriangles () const |
| | Get the number of triangles that were generated with the compute method.
|
| |
| void | setNeighborFilter (const NeighborFilter &_nFilter) |
| | Init the WeightFunc, without changing the other internal states.
|
| |
| std::vector< internal::Triangle< DataPoint > > & | getTriangles () |
| | Returns the triangles.
|
| |
| bool | operator== (const CNC &other) const |
| | Comparison operator.
|
| |
| bool | operator!= (const CNC &other) const |
| | Comparison operator, convenience function.
|
| |
| bool | isApprox (const CNC &other, const Scalar &epsilon=Eigen::NumTraits< Scalar >::dummy_precision()) const |
| | Approximate operator.
|
| |
| bool | isStable () const |
| | Is the fitted primitive ready to use (finalize has been called and the result is stable)
|
| |
| Scalar | kmin () const |
| | Returns an estimate of the minimal principal curvature value.
|
| |
| Scalar | kmax () const |
| | Returns an estimate of the maximal principal curvature value.
|
| |
| VectorType | kminDirection () const |
| | Returns an estimate of the minimal principal curvature direction.
|
| |
| VectorType | kmaxDirection () const |
| | Returns an estimate of the maximal principal curvature direction.
|
| |
| Scalar | kMean () const |
| | Returns an estimate of the mean curvature.
|
| |
| Scalar | GaussianCurvature () const |
| | Returns an estimate of the Gaussian curvature.
|
| |
template<class P,
TriangleGenerationMethod _method = UniformGeneration>
requires ProvidesNormal<P>
class Ponca::CNC< P, _method >
Corrected Normal Current Fit type.
This fitting method generates triangles from a set a points cloud and use a statistical formula to compute :
- The principal curvatures values and directions
- The mean and gaussian curvatures
- See also
- ProvidesPrincipalCurvatures
Definition at line 111 of file cnc.h.
template<typename IteratorBegin , typename IteratorEnd >
requires CNC_REQUIREMENTS
Convenience function for STL-like iterators Add neighbors stored in a container using STL-like iterators, and call finalize at the end.
The fit is evaluated multiple time if needed (see NEED_OTHER_PASS)
Definition at line 400 of file cnc.hpp.