bytedeco / javacpp-presets

The missing Java distribution of native C++ libraries
Other
2.65k stars 736 forks source link

Could FlyCapture2GUI dialog combine into current JavaCPP Presets for FlyCapture ? #605

Open Juanrz opened 6 years ago

Juanrz commented 6 years ago

I want Camera Select and Camera Control window like Flycapture2 C/C++ example program. Instead of a new control dialog whitch made by myself without use of FlyCapture2GUI_C.h / FlyCapture2GUI.h in Flycapture2 SDK. I have already failed several times. Could anyone help me or tell me how to do ?

saudet commented 5 years ago

I'm pretty sure it's possible so I'll mark this as enhancement, @jpsacha?

jpsacha commented 5 years ago

@Juanrz FlyCapture2GUI_C.h / FlyCapture2GUI.h are not currently wrapped in javacpp-presets.

There is an example for UI for Camera Select and Camera Control in the javacv-examples/FlyCapture2-demo. UI classes are implemented here: https://github.com/bytedeco/javacv-examples/tree/master/FlyCapture2-demo/example_ui/src/main/scala/flycapture/examples/cpp/snap. Here is an example how it looks: Sample GUI application