|
65 | 65 | #include "mmSolver/utilities/number_utils.h" |
66 | 66 | #include "mmSolver/utilities/string_utils.h" |
67 | 67 |
|
| 68 | +namespace mmsolver { |
| 69 | + |
68 | 70 | /* |
69 | 71 | * Count up number of errors to be measured in the solve. |
70 | 72 | */ |
@@ -226,7 +228,7 @@ uint32_t countUpNumberOfUnknownParameters( |
226 | 228 | std::vector<double> &out_paramUpperBoundList, |
227 | 229 | std::vector<double> &out_paramWeightList, |
228 | 230 | IndexPairList &out_paramToAttrList, |
229 | | - mmsolver::MatrixBool2D &out_paramFrameMatrix, MStatus &out_status) { |
| 231 | + MatrixBool2D &out_paramFrameMatrix, MStatus &out_status) { |
230 | 232 | const bool verbose = false; |
231 | 233 | MMSOLVER_MAYA_VRB("countUpNumberOfUnknownParameters"); |
232 | 234 |
|
@@ -416,7 +418,7 @@ uint32_t countUpNumberOfUnknownParameters( |
416 | 418 | */ |
417 | 419 | void findMarkerToAttributeRelationship( |
418 | 420 | const MarkerPtrList &markerList, const AttrPtrList &attrList, |
419 | | - mmsolver::MatrixBool2D &out_markerToAttrMatrix, MStatus &out_status) { |
| 421 | + MatrixBool2D &out_markerToAttrMatrix, MStatus &out_status) { |
420 | 422 | const bool verbose = false; |
421 | 423 | MMSOLVER_MAYA_VRB("findMarkerToAttributeRelationship"); |
422 | 424 |
|
@@ -525,7 +527,7 @@ void findMarkerToAttributeRelationship( |
525 | 527 | */ |
526 | 528 | void getMarkerToAttributeRelationship( |
527 | 529 | const MarkerPtrList &markerList, const AttrPtrList &attrList, |
528 | | - mmsolver::MatrixBool2D &out_markerToAttrMatrix, MStatus &out_status) { |
| 530 | + MatrixBool2D &out_markerToAttrMatrix, MStatus &out_status) { |
529 | 531 | const bool verbose = false; |
530 | 532 | MMSOLVER_MAYA_VRB("getMarkerToAttributeRelationship"); |
531 | 533 |
|
@@ -619,8 +621,8 @@ void findErrorToParameterRelationship( |
619 | 621 | const MTimeArray &frameList, const uint32_t numParameters, |
620 | 622 | const uint32_t numMarkerErrors, const IndexPairList ¶mToAttrList, |
621 | 623 | const IndexPairList &errorToMarkerList, |
622 | | - const mmsolver::MatrixBool2D &markerToAttrMatrix, |
623 | | - mmsolver::MatrixBool2D &out_errorToParamMatrix, MStatus &out_status) { |
| 624 | + const MatrixBool2D &markerToAttrMatrix, |
| 625 | + MatrixBool2D &out_errorToParamMatrix, MStatus &out_status) { |
624 | 626 | const bool verbose = false; |
625 | 627 | MMSOLVER_MAYA_VRB("findErrorToParameterRelationship"); |
626 | 628 |
|
@@ -701,7 +703,7 @@ void calculateMarkerAndParameterCount( |
701 | 703 | const MTimeArray &frameList, const uint32_t numParameters, |
702 | 704 | const uint32_t numMarkerErrors, const IndexPairList ¶mToAttrList, |
703 | 705 | const IndexPairList &errorToMarkerList, |
704 | | - const mmsolver::MatrixBool2D &markerToAttrMatrix, |
| 706 | + const MatrixBool2D &markerToAttrMatrix, |
705 | 707 | const FrameSolveMode frameSolveMode, |
706 | 708 | std::unordered_set<int32_t> &out_valid_frames, |
707 | 709 | std::unordered_set<int32_t> &out_invalid_frames, MStatus &out_status) { |
@@ -836,3 +838,5 @@ void calculateMarkerAndParameterCount( |
836 | 838 |
|
837 | 839 | return; |
838 | 840 | } |
| 841 | + |
| 842 | +} // namespace mmsolver |
0 commit comments