Resonon API  3.4
C++ API for controlling Resonon hyperspectral imagers
resonon_imager_allied.h
1 /*
2  * Resonon API
3  *
4  * By using this API, the user agrees to the terms and conditions as stated in the
5  * document "Resonon API Terms of Use", located on the Resonon website
6  * at: http://www.resonon.com/downloads/Resonon_API_Terms_of_Use.pdf.
7  *
8  */
9 
10 #ifndef __GUARD_RESONON_IMAGER_ALLIED_H
11 #define __GUARD_RESONON_IMAGER_ALLIED_H
12 #include "resonon_imager_base.h"
13 
14 namespace Resonon
15 {
16  class AlliedCameraImplementation;
20  class RESONONDLL PikaAllied : public ResononImagerBase
21  {
22  public:
23  PikaAllied();
24  virtual ~PikaAllied();
25  void connect(const char * camera_serial_number=NULL);
26  void disconnect();
27  void start();
28  void stop();
29  void get_imager_type(char *buffer, int buffer_size);
30  void get_serial_number(char *buffer, int buffer_size);
31  void get_camera_serial_number(char *buffer, int buffer_size);
32  void generate_configuration_report(char *buffer, int buffer_size);
33  float get_coeff_a();
34  float get_coeff_b();
35  float get_coeff_c();
36  double get_wavelength_at_band(const int band);
37  int get_frame_buffer_size_in_bytes();
38  unsigned short* get_frame(unsigned short* buffer);
39  std::uint64_t get_last_timestamp();
40  std::uint64_t ticks_per_second();
41  int get_band_count();
42  int get_sample_count();
43  void set_framerate(const double frames_per_second);
44  double get_framerate();
45  double get_min_framerate();
46  double get_max_framerate();
47  double get_min_integration_time();
48  double get_max_integration_time();
49  void set_integration_time(const double milliseconds);
50  double get_integration_time();
51  void set_internal_trigger();
52  void set_external_trigger(unsigned int signal_line, bool rising_edge=true);
53  bool is_trigger_external();
54  protected:
55  AlliedCameraImplementation * pimpl;
56  char * imager_model;
57  };
58 
59 } // end namespace Resonon
60 #endif //end ifndef __GUARD_RESONON_IMAGER_ALLIED_H
A class for imagers based on Allied Vimba Cameras.
Definition: resonon_imager_allied.h:20
char * imager_model
Definition: resonon_imager_allied.h:56
The Resonon namespace contains all public classes.
Definition: resonon_imager_allied.h:14
An abstract base class which provides a common interface for all imagers.
Definition: resonon_imager_base.h:31