-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor refactoring of pcl::visualization::Camera
and related functions
#2901
Minor refactoring of pcl::visualization::Camera
and related functions
#2901
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Final comment. You're definitely breaking the ABI with this PR, but I'm failing to see the API breakage. You've added default parameters in all methods you've changed the signature and the methods you've made const
are not virtual, so it should be a safe transition no?
Initializes parameters with reasonable default values. The values were copied over from pcl::visualization::PCLVisualizer::initCameraParameters().
This commit also updates code to use the new constructors.
argc parameter does not to be a reference. Also improves function documentation.
23dd396
to
336993e
Compare
@taketwo Any comment on this? Where are you noticing API breakage? |
Sorry, missed this question. Yes, this should be a safe transition, certainly not "API breakage". Rather "API change" but we don't have such a label (and probably don't need anyway). |
PCLVisualizer::setupCamera
signaturegetCameraParameters
methods