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

add getters and setters for settings variables #7

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments
Open

add getters and setters for settings variables #7

GoogleCodeExporter opened this issue Mar 19, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

I am using JOpenSurf in an application and I want the user to change the 
parameters of the calculation at runtime. 

So it would be nice to have getters and setters for the settings variables like 
mNumOctaves, mThreshold or mBalanceValue in the Surf-class. Alternatively the 
access modifiers for those variables could be changed to protected, so that an 
inheriting class could access them and provide the getters and setters. 

Currently I have to copy the code in a new class and make the changes to the 
code myself, which is really bad programming style.

Also the final variable HESSIAN_INIT_SAMPLE, is not copied into a non-final 
variable before it is applied. In the current application it doesn't make a 
difference, but in order to change the value via a setters, it needs such a 
value just like the others.

Original issue reported on code.google.com by [email protected] on 15 Feb 2011 at 3:39

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

No branches or pull requests

1 participant