Skip to content
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

Simulation: more access to camera parameters #1650

Merged

Conversation

damienjadeduff
Copy link
Contributor

@damienjadeduff damienjadeduff commented Jul 14, 2016

This gives the user of the simulation module the ability to retrieve camera parameters and also to set the clipping planes, which earlier were set to arbitrary values.
We are using the simulation module in its current state and we expect others are too.
Kind regards.

@damienjadeduff damienjadeduff changed the title Simulation: more access to camera paramters Simulation: more access to camera parameters Jul 14, 2016
@@ -145,6 +164,18 @@ namespace pcl
const float*
getScoreBuffer ();

float
getZNear(){ return z_near_; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space before opening parenthesis.

@stefanbuettner
Copy link
Contributor

Hey damienjadeduff,

firstly, I think that's a good approach you're following there 👍
Looks good to me, if you fix some minor coding style issues.

Cheers,
Stefan

@SergioRAgostinho
Copy link
Member

Please squash the commits into a single one.

@damienjadeduff
Copy link
Contributor Author

I made the requested white-space changes and squashed the commits. I made an assumption about the 2nd request and changed the pre-existing set() function in the same way. Regards.

@stefanbuettner
Copy link
Contributor

Looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants