plugins/core/Standard/qRANSAC_SD/extern/RANSAC_SD/LevMarLSWeight.h
raw| 1 | #ifndef LEVMARLSWEIGHT_HEADER |
| 2 | #define LEVMARLSWEIGHT_HEADER |
| 3 | #include <algorithm> |
| 4 | #include <cmath> |
| 5 | |
| 6 | #ifndef DLL_LINKAGE |
| 7 | #define DLL_LINKAGE |
| 8 | #endif |
| 9 | |
| 10 | class DLL_LINKAGE LevMarLSWeight |
| 11 | { |
| 12 | public: |
| 13 | float Weigh(float d) const { return d; } |
| 14 | template< unsigned int N > |
| 15 | void DerivWeigh(float d, float *gradient) const {} |
| 16 | }; |
| 17 | |
| 18 | #endif |