-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
CommDepthImage::get_intrinsic should be const:
DomainModelsRepositories/DomainVision/smartsoft/src/DomainVision/CommDepthImage.hh
Lines 203 to 219 in 68b9286
| /** | |
| * Get the intrinsic matrix of the color camera. | |
| */ | |
| inline const arma::mat get_intrinsic() | |
| { | |
| arma::mat m(4, 4); | |
| for (size_t i = 0; i < 4; ++i) | |
| { | |
| for (size_t j = 0; j < 4; j++) | |
| { | |
| m(i, j) = idl_CommDepthImage.intrinsic_m[i*4 + j]; // _m is 1-dimension! | |
| } | |
| } | |
| return m; | |
| } |
This lack of a const qualifier affects several other getters across the DomainVision namespace, as far as I can tell.
Metadata
Metadata
Assignees
Labels
No labels