| 871 | const RobustNormFunc& robust; |
| 872 | |
| 873 | NormalOptimizationData(const PointCloud::Point& _point, const PointCloud::ViewArr& _views, |
| 874 | const ImageArr& _images, IIndex _targetViewIdx, const Point2f& _targetProjection, |
| 875 | const std::array<float,nTexels>& _targetPatch, |
| 876 | double _targetVariance, const Sampler& _sampler, const RobustNormFunc& _robust) |
| 877 | : point(_point), views(_views), images(_images), targetViewIdx(_targetViewIdx), |
| 878 | targetProjection(_targetProjection), targetPatch(_targetPatch), |
| 879 | targetVariance(_targetVariance), sampler(_sampler), robust(_robust) {} |
| 880 | |
| 881 | static void Residuals(const double* x, int nPoints, const void* pData, double* fvec, double* fjac, int* /*info*/) { |
| 882 | const NormalOptimizationData& data = *reinterpret_cast<const NormalOptimizationData*>(pData); |
nothing calls this directly
no outgoing calls
no test coverage detected