You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI there are four get methods that shouldn't take a const qualifier: getColorBuffer, getDepthBuffer, and getScoreBuffer because they set member variables depth_buffer_dirty_, color_buffer_dirty_, score_buffer_dirty_ respectively. getPointCloud because it calls getColorBuffer.
If these member fields are for caching only and do not belong to the observable object state, then they can be marked as mutable and be modified in const-qualified methods. But I am not familiar with the code base, so you need to use your own judging of whether this is appropriate or not.
All the get methods need a const qualifier.
https://github.com/PointCloudLibrary/pcl/blob/master/simulation/include/pcl/simulation/range_likelihood.h
The text was updated successfully, but these errors were encountered: