UltrasonicInterface.h 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #pragma once
  2. #include "ramzed_sdk.h"
  3. #define DLLIMPORT typedef __declspec(dllimport)
  4. DLLIMPORT int (*US_init)(void);
  5. DLLIMPORT ramzed_sdk* (*US_instance)(void);
  6. DLLIMPORT void (*US_reg_image_done_cb)(void (*)(unsigned char*));
  7. DLLIMPORT void (*US_reg_probe_connected_cb)(void (*)(unsigned char));
  8. DLLIMPORT void (*US_reg_probe_disconnected_cb)(void (*)(unsigned char));
  9. DLLIMPORT int (*US_set_mode)(unsigned char);
  10. DLLIMPORT int (*US_set_preset)(int);
  11. DLLIMPORT int (*US_get_B_depth)(unsigned char*, float*);
  12. DLLIMPORT int (*US_get_B_dynamic_range)(unsigned char*);
  13. DLLIMPORT int (*US_get_B_focus)(unsigned char*, float*);
  14. DLLIMPORT int (*US_get_B_frequency)(float*);
  15. DLLIMPORT int (*US_get_B_gain)(unsigned char*);
  16. DLLIMPORT int (*US_set_B_depth)(unsigned char);
  17. DLLIMPORT int (*US_set_B_dynamic_range)(unsigned char);
  18. DLLIMPORT int (*US_set_B_focus)(unsigned char);
  19. DLLIMPORT int (*US_set_B_frequency)(float);
  20. DLLIMPORT int (*US_set_B_gain)(unsigned char);
  21. DLLIMPORT int (*US_set_B_harmonic)(unsigned char);
  22. DLLIMPORT int (*US_set_B_power)(unsigned char);
  23. DLLIMPORT int (*US_get_C_angle)(unsigned char*);
  24. DLLIMPORT int (*US_get_C_frequency)(float*);
  25. DLLIMPORT int (*US_get_C_gain)(unsigned char*);
  26. DLLIMPORT int (*US_get_C_prf)(unsigned char*);
  27. DLLIMPORT int (*US_set_C_ROI)(int, int, int, int);
  28. DLLIMPORT int (*US_set_C_angle)(unsigned char);
  29. DLLIMPORT int (*US_set_C_frequency)(float);
  30. DLLIMPORT int (*US_set_C_gain)(unsigned char);
  31. DLLIMPORT int (*US_set_C_linear_angle)(int);
  32. DLLIMPORT int (*US_set_C_persistence)(unsigned char);
  33. DLLIMPORT int (*US_set_C_prf)(unsigned char);
  34. DLLIMPORT int (*US_set_C_range_wall_filter)(unsigned char);
  35. DLLIMPORT int (*US_set_C_speed_wall_filter)(unsigned char);
  36. DLLIMPORT int (*US_get_ctrl_table)(unsigned char*);
  37. DLLIMPORT int (*US_set_ctrl_table)(unsigned char*);
  38. DLLIMPORT int (*US_get_freeze)(unsigned char*);
  39. DLLIMPORT int (*US_set_freeze)(unsigned char);
  40. DLLIMPORT int (*US_get_tgc1)(float*);
  41. DLLIMPORT int (*US_get_tgc2)(float*);
  42. DLLIMPORT int (*US_get_tgc3)(float*);
  43. DLLIMPORT int (*US_get_tgc4)(float*);
  44. DLLIMPORT int (*US_get_tgc5)(float*);
  45. DLLIMPORT int (*US_get_tgc6)(float*);
  46. DLLIMPORT int (*US_get_tgc7)(float*);
  47. DLLIMPORT int (*US_get_tgc8)(float*);
  48. DLLIMPORT int (*US_set_tgc1)(unsigned char);
  49. DLLIMPORT int (*US_set_tgc2)(unsigned char);
  50. DLLIMPORT int (*US_set_tgc3)(unsigned char);
  51. DLLIMPORT int (*US_set_tgc4)(unsigned char);
  52. DLLIMPORT int (*US_set_tgc5)(unsigned char);
  53. DLLIMPORT int (*US_set_tgc6)(unsigned char);
  54. DLLIMPORT int (*US_set_tgc7)(unsigned char);
  55. DLLIMPORT int (*US_set_tgc8)(unsigned char);